If managed hosts use shared resources, perform the following tasks in addition to the previous procedures. Unless otherwise stated, do the tasks on the system dependency server system.
Change to the install directory.
# cd /usr/local/uce/install
Create the console subdirectory.
mkdir console
Create the agent subdirectory.
mkdir agent
From the console system, copy the console’s .uce.rc file to the new console directory on the system dependency server system.
cp ~/.uce_console/.uce.rc /usr/local/uce/install/console
From a managed host, copy an agent’s .uce.rc file to the new agent directory on the system dependency server.
cp /opt/uce/agent/bin/.uce.rc /usr/local/uce/install/agent
Run the backup script.
./backup.sh
The .uce.rc files of the consoles and agents contain the parameter that enables shared resources support. These parameters are included in the backup.
Execute the restore script.
# ./restore.sh |
Change to the installation directory.
# cd /usr/local/uce/install |
If the agents or consoles were changed after backup, reinstall them using the new console-date.tar.gz and agent-date.tar.gz files. Do not open the console or start agents.
Overwrite the newly installed .uce.rc file of the console with the file that was backed up.
cp /usr/local/uce/install/console/.uce.rc ~/.uce_console/.uce.rc
Stop the agents. On each managed host.
# /etc/init.d/uce_agent stop |
Overwrite the newly installed .uce.rc file of the agent on each managed host: /opt/uce/agent/bin/.uce.rc with the file backed up on the SDS: /usr/local/uce/install/agent/.uce.rc
On each managed host, start the agents.
# /etc/init.d/uce_agent start |
All affected systems are restored to their exact condition of the time of the backup.