Alexander Pettitt · Jun 19, 2024 go to post

A low impact way to do this would be take a SAN snapshot of production and mount the snapshot in test.

Intersystems discusses this in External Backup.

The easy way to retain some database is mount them from a different set of disks/filesystem.

If you have a DR mirror but not a SAN you could just shutdown the DR mirror and do a cold backup.

If test is a separate mirror the whole test mirror will have to be refreshed due to mirror headers. If test is part of the same mirror as production then the data is already there.

Alexander Pettitt · May 2, 2024 go to post

1.9Tb will be days assuming ssd storage and slower if not.
I would test a small amount during a low period.

Alexander Pettitt · May 2, 2024 go to post

Truncate can only remove free space from the end of the file.
Compact is asking how much free space do you want at the end of the file.
The free space is likely not evenly distributed.
I mostly used the ^DATABASE utility.

Alexander Pettitt · Apr 29, 2024 go to post

It looks like you are missing the kill to cleanup.

kill ^IRIS.TempIntegrityOutput(+$job)

Something to know is you can pass a routine to IRIS but not a set.  Look at the iris terminal options here.

Alexander Pettitt · Apr 24, 2024 go to post

As a guess the shell is interpreting $job rather than passing it to IRIS.

try this

echo 'set sc=$$CheckList^Integrity(,,,,5) do Display^Integrity() kill ^IRIS.TempIntegrityOutput(+$job)' | iris session [INSTANCE] -U %sys

one issue with this approach is you need to get the same IRIS session that the integrity check ran in.

Alexander Pettitt · Mar 15, 2024 go to post

I would ask your vendor what they develop on so you don't have to listen to an excuse around a support issue.

Alexander Pettitt · Mar 10, 2024 go to post

I would check that your iris.key file exists and has not expired.

Not sure where messages.log is on Windows but I would look at that over a Windows log.

Alexander Pettitt · Mar 4, 2024 go to post

Guessing the upgrade did iris start [instance] nostu to not run any user code on startup.
iris help start
                            **** iris usage ****
Syntax:
        iris start <instance name> [parameters]
Description:
        Run the instance's irisstart procedure to bring InterSystems IRIS up.
Optional parameters:
        quietly -> non-interactive, with minimal dialog
        nostu   -> don't run startup routine (^STU)
        help    -> list supported parameters
        EmergencyId=username,password -> start up in emergency mode
        Any other value is taken as a configuration file name with '.cpf' appended.
        If a configuration file is not specified, the file 'iris.cpf' is used.
Example:
        iris start mystuff quietly      <- uses file 'mystuff.cpf'
Notes:
        Some instances might not have support for a particular parameter,
        or a new parameter could have been added.  For a list of supported
        parameters for a specific instance, type:
                iris start <instance name> help

Alexander Pettitt · Jan 23, 2024 go to post

I would not completely replace users with LDAP.

Database owner and admin should be local to the system.

Make sure your LDAP source is not a single server.

Alexander Pettitt · Nov 28, 2023 go to post

Can you login with iris session [instance] -U %sys?

From there you can use ^SECURITY to change the password.

One thing to check is use a text editor to make sure your keyboard is working by typing the password.

Alexander Pettitt · Nov 20, 2023 go to post

Log level is not always a good indicator of how big a deal what is being logged is.
For example:
2 [Generic.Event] Unable to allocate shared memory minimum - this error prevents startup so critical
1 [Generic.Event] MirrorServer: Lost ReadDmn (ACK) connection to async - loss of connection connection to a mirror doesn't rate as even a warning?

Alexander Pettitt · Oct 30, 2023 go to post

Any maximum you set less than free space on the filesystem will just hit the limit sooner.
The instance could use more RAM in the global buffer and maybe more filesystem space.
You should look at this and this.

Alexander Pettitt · Oct 26, 2023 go to post

I would expect the WIJ to close to force it to the disk about every 80 seconds ie every write cycle.

my quick testing:

$while true; do
> ls -l IRIS.WIJ | cut -f 10-13 -d ' '
> sleep 40
> done
Oct 26 12:26 IRIS.WIJ
Oct 26 12:27 IRIS.WIJ
Oct 26 12:27 IRIS.WIJ
Oct 26 12:28 IRIS.WIJ
Oct 26 12:28 IRIS.WIJ
Oct 26 12:30 IRIS.WIJ
Oct 26 12:30 IRIS.WIJ
Oct 26 12:31 IRIS.WIJ
Oct 26 12:31 IRIS.WIJ
Oct 26 12:32 IRIS.WIJ
Oct 26 12:32 IRIS.WIJ
Oct 26 12:34 IRIS.WIJ
Oct 26 12:34 IRIS.WIJ
Oct 26 12:35 IRIS.WIJ
Oct 26 12:35 IRIS.WIJ
Oct 26 12:36 IRIS.WIJ

Alexander Pettitt · Oct 16, 2023 go to post

As a guess the the web page is not getting data updates.
What does ^MIRROR say is happening?

Have you checked if there are firewalls interfering?