To change the recovery logmode without a full startup of the TSM server, one can use the ‘dsmserv runfile’ command. This command will execute items found in a specified file, and will not do a full startup of the TSM server.
First begin by creating a file in the TSM server directory, to be used with the runfile command:
In this file specify the following command:
Once saved, run the following command from the server directory:
You will see the TSM server do a temporary startup so it can execute the command, and then will halt. Once this completes, the server can be restarted and the logmode will be set to normal. The same can be done to change it to roll-forward.
Please note that these steps should only be done if there is an issue with starting the server up in roll-forward. Changing the logmode will result in loosing the ability for roll-forward recovery.
First begin by creating a file in the TSM server directory, to be used with the runfile command:
logchange.txt
In this file specify the following command:
set logmode normal
Once saved, run the following command from the server directory:
dsmserv runfile logchange.txt
You will see the TSM server do a temporary startup so it can execute the command, and then will halt. Once this completes, the server can be restarted and the logmode will be set to normal. The same can be done to change it to roll-forward.
Please note that these steps should only be done if there is an issue with starting the server up in roll-forward. Changing the logmode will result in loosing the ability for roll-forward recovery.