Question Raghuram Devarakonda · May 18, 2017 Starting an instance using different mount points and port numbers Hi,I am trying to support a use case where a test instance is created from a production backup. At a high level, the process works by mounting all relevant file systems and then bringing the instance up. This works well as long as the file systems are mounted using same mount points as the source instance. However, I would like to support a case where file systems are mounted using different paths. #Caché 0 1 0 354
Question Raghuram Devarakonda · Apr 27, 2017 Is it possible to change GUID of an instance? Hi,I am wondering if there is a way I can change the GUID of an instance. The use case is that I am restoring from a backup on an alternate host and start the instance there. However, the restored instance ends up with same GUID as that of source. Is there a way I can tell this newly restored instance to use a different GUID?Thanks,Raghu #Caché 0 19 0 773
Question Raghuram Devarakonda · Apr 24, 2017 How to enable OS level authentication from command line? Hi,I am able to enable OS level authentication for an instance from the UI (System Administration => Security => System Security => Authentication/CSP Session Options) but is there a way this can be done from command line as well?Thanks,Raghu #Caché 1 7 0 686
Question Raghuram Devarakonda · Apr 4, 2017 Does ExternalFreeze command update the data files before suspending write daemon? Hi,The command "##Class(Backup.General).ExternalFreeze()" switches journal files as can be seen in the following log message:"Journaling switched to: /cache/mgr/journal/20170331.003Backup.General.ExternalFreeze: Start a journal restore for this backup with journal file: /cache/mgr/journal/20170331.003" #Caché 1 8 0 620
Question Raghuram Devarakonda · Mar 30, 2017 How to perform journal restore programmatically? Hi,After restoring all the Cache related files on a machine, I am performing journal recovery using the command "^JRNRESTO". It works as described in the document and the recovery succeeds. However, the command is interactive. Is there a way I can run it in a programmatic way? I don't want to just supply a text file containing answers to all the prompts. I am wondering if there is way I can pass all the information upfront to the command.Thanks,Raghu #Caché 0 6 0 433
Question Raghuram Devarakonda · Mar 30, 2017 How to find the journal file that is being switched after Freeze? Hi,I am placing Cache instance in backup mode by using the command: csession <INST> -U%SYS "##Class(Backup.General).ExternalFreeze()"and I see in the console log a message similar to follows:"Journaling switched to: /cache/mgr/journal/20170330.002"Now, is there a way to programmatically find out this journal file name? In fact, I am interested to find out the journal file that is switched. For example, in the above case, that would be "20170330.001".Thanks,Raghu #Caché 0 4 0 473
Question Raghuram Devarakonda · Mar 26, 2017 How to register a Cache instance after restoring all the mount points? Hi,I am exploring a simple restore procedure for a Cache instance and would really appreciate any help.Basically, I have a CentOS machine with a Cache instance and let us say I backed up all the mount points where Cache data is located (install dir, DAT files, journals, WIJ etc). On another identical machine (without Cache installed), I mounted all these file systems exactly using the same mount points so all the data is back with the same paths. #Caché 0 5 0 933
Question Raghuram Devarakonda · Feb 15, 2017 How to run csession command without having to supply user credentials? Hi,I am trying the following command in order to freeze the instance before backup is done: csession CACHE -U%SYS "##Class(Backup.General).ExternalFreeze()"The command requires user name and password to be supplied when prompted. Is there any way that this command can be run where it doesn't query the credentials? I am wondering if it can use OS level permissions (root or effective user who owns Cache processes etc) .My test is on a CentOS 6 machine if that helps. Thanks,Raghu #Caché 0 2 0 1.2K
Question Raghuram Devarakonda · Feb 13, 2017 How to find UUIDs of an instance and database? Hi,First of all, do Cache instance and databases have UUIDs? If so, is there a simple way to obtain these from command line? Thanks,Raghu #Caché 0 7 0 887
Question Raghuram Devarakonda · Feb 2, 2017 How to stop getting emails for every post? I have posted my first question in "Cache" forum this morning and since then, I started receiving emails whenever a new topic is posted. I don't want to receive such emails and looked for a way to tweak for "email preferences". However, I couldn't find any such option. Can someone please tell me how I can stop emails for all the posts? Thanks, Raghu #DC Feedback 0 2 0 260
Question Raghuram Devarakonda · Feb 2, 2017 How to do a custom install using evaluation version? Hi,I have downloaded an evaluation copy of Cache and installed on a Windows 2016 R2 machine. I wanted to Configure different locations for DAT, WIJ, and Journal files but the installation process didn't give me such a "custom" option. I do see that the installation guide mentions the presence of such an option so I am wondering if this is a limitation of evaluation copies. Can someone please confirm? #Caché 0 6 0 356