Command-line utility tool

You can use the command-line utility tool to copy, backup, and restore IBM® Tivoli® Monitoring configuration data on the SAP server.

You can run the command-line utility tool on Windows and Non-Windows environment. See Running the command-line utility on a Windows environment and Running the command-line utility on a Non-Windows environment.

  • Copy

    Run the backup command to copy the IBM Tivoli Monitoring configuration file from the agent directory SAP server instance sap1 to sap2. Enter the file name and sap1 as the source system from the sap1 agent directory. Then, the ABAP function is called that copies the IBM Tivoli Monitoring settings from this file to the IBM Tivoli Monitoring configuration file for Sap2. Now select Copy from the sap1 agent directory utility tool and enter a file name and sap2 as the target SAP system.

  • Backup

    After running the command-line utility tool, select the Backup option. Then, you need to enter the file name and the SAP system ID. The tool calls the /IBMMON/ITM_BACKUP SAP function module. The function module reads the specific IBM Tivoli Monitoring configuration settings that are stored in tables and stores them with a row and column separator. Then, the command-line utility tool reads the string and writes the data into a file. The file name that is generated has the following format: ID>_<filename>-<date&time>. This file is stored in the directory where the utility program is stored.

  • Restore

    After you run the command-line utility tool, enter the file name to restore and the target SAP system where you want to restore the file. The command-line utility tool reads the file from the agent directory and calls the /IBMMON/ITM_RESTORE SAP function module. Then, the tool passes the IBM Tivoli Monitoring configurations as a string. The SAP function module updates the specific IBM Tivoli Monitoring tables and restores the specific IBM Tivoli Monitoring configurations.