Chapter 1. Certification overview
6.6 Backup and restore
The backup and restore process for IBM Tivoli Business Service Manager can be performed by following the steps shown in the following sections.
6.6.1 Backing up on UNIX
To back up the IBM Tivoli Business Services Manager database, the database must be running. Perform the backup procedure daily. In addition, you need to back up some key XML files. The IBM Tivoli Business Services Manager server can be running during a backup.
Perform these steps:
1. To create a database backup file, open a terminal session on the IBM Tivoli Business Services Manager host and run the following command:
$NCHOME/bin/rad_db backup -backupfile backup_file_name.sql
2. Copy the following files to the directory where you created the backup file in step 1:
$NCHOME/guifoundation/webapps/sla/xml/cumulTimeSLA.xml
$NCHOME/guifoundation/webapps/sla/xml/scheduleTime.xml
3. For custom static canvases, view definitions, or custom service trees, copy the entire contents of the
$NCHOME/guifoundation/webapps/sla/av/xmlconfig/ directory.
4. For custom charts, you must copy the entire contents of the
$NCHOME/guifoundation/webapps/sla/dashboard/chartconfig/ directory.
5. For custom IBM Tivoli Netcool GUI Foundation pages, refer to the
Certification Guide Series: IBM Tivoli Netcool/Webtop 2.0 Implementation, SG24-7754 for information about how to back up these pages.
6.6.2 Restoring on UNIX
To restore the IBM Tivoli Business Services Manager database from a backup file, perform the following steps:
1. If IBM Tivoli Business Services Manager is running, stop it with the command
$NCHOME/bin/rad_shutdown.
2. If the database is not running, start the IBM Tivoli Business Services Manager database with the command $NCHOME/bin/rad_db start.
3. Change to the backup directory and run the following command:
cat backup_file_name.sql | $NCHOME/bin/rad_db log 4. Copy the backed up cumulTimeSLA.xml file into the
$NCHOME/guifoundation/webapps/sla/xml directory.
5. Copy the backed up scheduleTime.xml file into the
$NCHOME/guifoundation/webapps/sla/xml directory.
6. For custom static canvases, view definitions, or custom service trees, restore the contents of the $NCHOME/guifoundation/webapps/sla/av/xmlconfig/
directory.
7. For custom charts, restore the
$NCHOME/guifoundation/webapps/sla/dashboard/chartconfig directory.
8. For custom pages for IBM Tivoli Netcool GUI Foundation, restore the pages as described in the IBM Tivoli Netcool GUI Foundation Administration Guide.
9. Start the IBM Tivoli Business Services Manager server with the command
$NCHOME/bin/rad_server.
6.6.3 Backing up on Windows
The database must be running when you perform a backup. Perform the backup procedure daily. To back up the IBM Tivoli Business Services Manager database on Windows systems, perform the following steps:
1. Open a command prompt window and change to the %NCHOME%\bin directory.
2. Start the RAD shell configuration tool with the command rad_radshell.
3. At the radshell> prompt, back up your service configuration with the command export ();. The export function writes all of your service
templates, services, custom policies, data fetchers, and data sources to file named export.radsh in the %NCHOME%/guifoundation/webapps/sla directory.
You should make a copy of the file to a new name that references the date, such as 07_06_06export.radsh.
4. Copy the following files and directories to the directory where you created the backup file:
%NCHOME%\guifoundation\webapps\sla\xml\cumulTimeSLA.xml
%NCHOME%\guifoundation\webapps\sla\xml\scheduleTime.xml
5. If you created custom view definitions, or service trees, copy the entire contents of the following directory to the backup directory:
%NCHOME%\guifoundation\webapps\sla\av\xmlconfig\
6. If you created custom canvases, copy the entire contents of the following directory to the backup directory:
%NCHOME%\guifoundation\webapps\sla\av\canvas\users\admin\
7. If you have created custom charts, you must also copy the entire contents of the following directory to the backup directory:
%NCHOME%\guifoundation\webapps\sla\dashboard\chartconfig\
8. If you have created custom IBM Tivoli Netcool GUI Foundation pages, refer to the IBM Tivoli Netcool GUI Foundation Administration Guide for information about how to back up these pages.
6.6.4 Restoring on Windows
The database must be running when you perform a restore. To restore the IBM Tivoli Business Services Manager database from backup files, perform the following steps:
1. Open a command prompt and change to the directory where you copied the filename.radsh backup file and run the following command:
filename.radsh |%NCHOME%\bin\rad_radshell
This the command that restores your service model configuration.
2. Copy the backed up scheduleTime.xmlfile into the directory
%NCHOME%\guifoundation\webapps\sla\xml\.
3. If you have created custom canvases, view definitions, or service trees, copy the backed up files into the directory
%NCHOME%\guifoundation\webapps\sla\av\xmlconfig\.
4. If you have created custom charts, copy the contents of the backed up chartconfig directory from the temporary backup directory to the appropriate directory. For example, copy all the files in the
C:\rad30_backup\chartconfig\ directory to the directory
%NCHOME%\guifoundation\webapps\sla\dashboard\chartconfig/.
5. If you have created custom IBM Tivoli Netcool GUI Foundation pages, refer to the IBM Tivoli Netcool GUI Foundation Administration Guide for information about how to back up these pages.
6. Start the IBM Tivoli Business Services Manager server by starting the IBM Tivoli Netcool GUI Foundation Server service.
Chapter 7.
Troubleshooting
Troubleshooting is discussed in the following sections: