go to post Timo Lindenschmid · Feb 6, 2024 Roberts approach is correct for mapping the class into another namespace. You have to use package mapping to map the class AND Global mapping to map the storage location.
go to post Timo Lindenschmid · Feb 5, 2024 Your approach is actually correct. Just in class Bna.Init.Main extend Bna.Utils.Sql. Then call the get method using set status=..SelectFirstColsInArray(query, .userIds) That should work.
go to post Timo Lindenschmid · Feb 1, 2024 hmm i just did a bit of searching and found this Volume Snapshots | KubernetesAs i have never worked with kubernetes i don't know if this can be leveraged to get a "Backup" volume.
go to post Timo Lindenschmid · Feb 1, 2024 Having an instance frozen for 8minutes is not so good in my experience. Have you considered to move to snapshot based external backups? Using ShadowCopies on windows and LVM snaps on Linux? This will reduce the freeze time to the time used to actually take the snapshot. Then CommVault can backup the snapshot drive while IRIS continues on unfrozen.
go to post Timo Lindenschmid · Feb 1, 2024 Hi, This sounds like a misconfiguration on the webgateway. PWG get configured automatically by IRIS for all web applications. Not sure if this happens for the external webgateway. There also could be an issue with webgateway integration into external apache. Also worth to check audit database in IRIS. To see if any errors get logged. Hope this helps. Best Regards Timo
go to post Timo Lindenschmid · Dec 15, 2023 No t100% sure what you are after but if you just want to generalize the if then something like this will do: set key1=1 set key2=2 if ($piece($get(^global(@key1,@key2)),"*",2)=c) { quit }
go to post Timo Lindenschmid · Dec 8, 2023 How, did this instance get installed?During IRIS install you get asked if you want to add ML components or not as this increases the disc size required. Best RegardsTimo
go to post Timo Lindenschmid · Nov 30, 2023 Hi Rochdi, this might be the local firewall on the server blocking it. Also ensure th eport you are trying to use is not in use by something else. Best regardsTimo
go to post Timo Lindenschmid · Nov 6, 2023 just to mention this is not totally correct. Ensemble/IRIS does not need to be stopped to take a backup of dat files. There is an api that can be used to freeze and thaw disk activity during a backup. This is intended to be used with snapshot type backups though as the freeze duration is limited by memory available and DB activity.refer to: Backup - external freeze
go to post Timo Lindenschmid · Oct 20, 2023 Hi Scott, IRIS requires at least one enabled user with the role %All (e.g. superuser) If you got one enabled there is no dependency on the installer user to be enabled. Actually, its good practise to disable that user. Best Regards Timo
go to post Timo Lindenschmid · Oct 19, 2023 Hi Chen, i would suggest for you to open a WRC ticket. Best Regards Timo
go to post Timo Lindenschmid · Sep 8, 2023 Hi, using zf will always be difficult as IRIS is not running a root. You will need to configure the OS to allow privilege escalation for the irisusr, which open quite a big door. Or allow irisusr to start/stop httpd, which might be the safer way. The other options is, if this is only about the application via webgateway contacting the correct primary. 1. set web gateways to be mirror aware 2. configure a VIP address in the mirror and point the cspgateways to this ip address.
go to post Timo Lindenschmid · Aug 30, 2023 Hi, SSL error 54 points to an issue with an untrusted certificate in chain.
go to post Timo Lindenschmid · Aug 21, 2023 Hi Jennifer, first things yes mirroring is supported in AWS and Azure. What is not working is the automatic VIP failover managed by IRIS. This is due to limitations imposed by the cloud providers, as you cannot dynamically add an IP address. For this usually a loadbalancer is utelized, that queries a specific csp page on the mirror servers to decide which mirror is active and redirect the "VIP" accordingly. Also depending on what access (application,xDBC) you need, you can deploy a load balanced array of web servers. These can host the webgateway, which in turn can be configured to be mirror aware and does no tneed a VIP to automatically failover. Best Regards Timo
go to post Timo Lindenschmid · Aug 8, 2023 Hi,the issue is with your 2nd method return values. You have defined the method to return %String which is fine. But then at the end you quit $$$OK, which translates to a return value of 1.You need to build your return string e.g. set retVal="some string:"_variableExample return retVal
go to post Timo Lindenschmid · Aug 8, 2023 Hi, question is here how is that global being populated/created? Is this global defined by usage of a class inheriting from %Persistent? If so, a fast way would be to be using %Extent to enumerate all instances and then look at the rowcount. e.g. set query = ##class(%SQL.Statement).%New() set qStatus = query.%PrepareClassQuery("User.Person","Extent") set rset=query.%Execute() d rset.%Display() zw %ROWCOUNT
go to post Timo Lindenschmid · Aug 1, 2023 most of the solutions don't cater for the ")(" case being not valid here is mine size 92 ClassMethod IsValid(s As %String) As %Boolean { s r=1 f {s c=$e(s,$i(i)) q:c="" d:c="(" $i(r) d:c=")" $i(r,-1) q:r<1} ret $s(r=1:1,1:0) }
go to post Timo Lindenschmid · Jul 4, 2023 40 ClassMethod Check(word As %String) As %Boolean { ret '$match($ZCVT(word,"U"),"(.).*\1.*") } or 39 using $$$UPPER ClassMethod Check(word As %String) As %Boolean { ret '$match($$$UPPER(word),"(.).*\1.*") }