NetNumen U31 R06 Unified Element Management System Backup and Recovery Guide Version: V12.14.30 ZTE CORPORATION No. 55, Hi-tech Road South, ShenZhen, P.R.China Postcode: 518057 Tel: +86-755-26771900 Fax: +86-755-26770801 URL: http://support.zte.com.cn E-mail: support@zte.com.cn
LEGAL INFORMATION Copyright 2014 ZTE CORPORATION. The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution of this document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPORATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations. All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATION or of their respective owners. This document is provided as is, and all express, implied, or statutory warranties, representations or conditions are disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose, title or non-infringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on the information contained herein. ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subject matter of this document. Except as expressly provided in any written license between ZTE CORPORATION and its licensee, the user of this document shall not acquire any license to the subject matter herein. ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice. Users may visit the ZTE technical support website http://support.zte.com.cn to inquire for related information. The ultimate right to interpret this product resides in ZTE CORPORATION. Revision History Revision No. Revision Date Revision Reason R1.0 2014-12-20 First edition Serial Number: SJ-20141121113158-016 Publishing Date: 2014-12-20 (R1.0)
Contents Chapter 1 Backup and Recovery... 1-1 1.1 Overall Backup and Recovery Flows... 1-1 1.2 Usage Description... 1-2 1.3 Preparation... 1-3 1.3.1 Hardware Preparation... 1-3 1.3.2 SFTP Information... 1-3 1.4 Backup Implementation... 1-3 1.4.1 Periodical Backup... 1-4 1.4.2 Manual Temporary Backup... 1-15 1.5 Recovery Implementation... 1-24 1.5.1 Creating a Database Instance... 1-24 1.5.2 Recovering the Whole Database Structure... 1-24 1.5.3 Recovering Basic Data... 1-28 1.5.4 Recovering Logs... 1-30 1.5.5 Recovering Alarms... 1-31 1.5.6 Recovering Performance Data... 1-32 1.5.7 Recovering USPP Data... 1-32 1.5.8 Manually Recovering OMM Installation Path... 1-37 Figures... I Tables... III Glossary...V I
This page intentionally left blank. II
Chapter 1 Backup and Recovery Table of Contents Overall Backup and Recovery Flows...1-1 Usage Description...1-2 Preparation...1-3 Backup Implementation...1-3 Recovery Implementation...1-24 1.1 Overall Backup and Recovery Flows Data backup is a preventive measure for major faults. The NetNumen U31 system periodically backs up system data, and saves the data onto a third-party server for emergency use. For the system backup flow, refer to Table 1-1. Table 1-1 Backup Flow Sequence Operation 1 1.4.2.1 Manually Backing up the Whole Database Structure 2 1.4.2.2 Manually Backing up Basic Data 3 1.4.2.3 Manually Backing up Files 4 1.4.2.4 Manually Backing up Logs 5 1.4.2.5 Manually Backing up Alarms 6 1.4.2.6 Manual Backing up Performance Data For the system recovery flow, refer to Table 1-2. Table 1-2 Recovery Flow Sequence Operation 1 1.5.2 Recovering the Whole Database Structure 2 1.5.3 Recovering Basic Data 3 Starting the OMM server 4 1.5.4 Recovering Logs 5 1.5.5 Recovering Alarms 6 1.5.6 Recovering Performance Data 1-1
NetNumen U31 R06 Backup and Recovery Guide 1.2 Usage Description You can use the system backup and recovery functions in the following scenarios: System data loss If system data is lost, for example, an NE/performance task/user is deleted by mistake, you only need to recover the basic data by using the latest file that is automatically backed up. Table 1-3 System Data Loss Recovery Flow Sequence Operation 1 1.5.3 Recovering Basic Data Damaged OMM installation file If an OMM installation file is damaged, for example, the netnumen volume is damaged, you need to recover the file. Table 1-4 OMM Installation File Recovery Flow Sequence Operation 1 1.5.8 Manually Recovering OMM Installation Path Damaged database file If a database file is damaged, for example, the emscn volume is damaged and the database fails to be started, you need to re-establish the database instance, and recover the file. For details, refer to Table 1-5. Table 1-5 Database File Recovery Flow Sequence Operation 1 1.5.1 Creating a Database Instance 2 1.5.2 Recovering the Whole Database Structure 3 1.5.3 Recovering Basic Data 4 Starting the OMM server 5 1.5.4 Recovering Logs 6 1.5.5 Recovering Alarms 7 1.5.6 Recovering Performance Data 8 1.5.7 Recovering USPP Data 1-2
Chapter 1 Backup and Recovery Note: If a USPP accesses the NetNumen U31, you must perform 1.4.2.7 Backing up USPP Data and back up the USPP data. If the database is damaged, you can use the backup data for USPP recovery. 1.3 Preparation 1.3.1 Hardware Preparation For the hardware preparation, refer to Table 1-6. Table 1-6 Preparation Item Quantity Description Third-party server 1 Periodically saves backup files, which is used for system recovery when the system is damaged. If the third-party server is not configured and a server disk is damaged, all system files and backup files are lost, and thus the system cannot be recovered. 1.3.2 SFTP Information By default, the system saves backup files to the specified path (sftp://sysbak:***@1 0.43.148.115:21128/backup/sysbak/alldb) on the server, and users can access the files by SFTP. For the username and password for the SFTP access, refer to Table 1-7. Table 1-7 SFTP Access Information Username sysbak Password SysBak-123 1.4 Backup Implementation There are two types of NetNumen U31 system backup as follows: Periodical backup: Periodically backs up related data, and uploads backup files to a remote server. Manual temporary backup: Manually backs up related data before software/patch upgrade, system parameter/important data modification, and backup and recovery demonstration. 1-3
NetNumen U31 R06 Backup and Recovery Guide 1.4.1 Periodical Backup 1.4.1.1 Periodical Backup Policies For the periodical backup policies, refer to Table 1-8. Table 1-8 Periodical Backup Policies Operation Content Execution Mode Period Mode Database structure backup Basic data backup Backs up the structure of all databases used by the OMM, including all database object structure and excluding all basic data and historical data (notifications/logs/initial performance data). Backs up all basic data on the OMM, including data records and excluding table structure and historical data (notifications/logs/initial performance data). Auto Everyday Full backup Auto Everyday Full backup File backup Backs up version files, configuration Auto Every seven Full backup files, and run-time files. days Log backup Backs up historical logs. Auto Everyday Incremental backup Alarm backup Backs up historical alarms and notifications. Auto Everyday Incremental backup Performance backup Backs up initial performance data. Auto Everyday Incremental backup 1.4.1.2 Configuring a Remote Backup Path Periodical backup directly saves backup files onto a third-party server for system recovery. This procedure describes how to set a remote backup path to save backup files. Steps 1. On an OMM client, select Maintenance > Remote Backup Path Configuration. The Remote Backup Path Configuration dialog box is displayed, see Figure 1-1. 1-4
Chapter 1 Backup and Recovery Figure 1-1 Remote Backup Path Configuration Dialog Box Table 1-9 Parameter Descriptions for Remote Backup Path Configuration Dialog Box Parameter File Transfer Protocol Host Address Port User Name User Password Remote Backup Path Description Options include: SFTP and FTP. IP address of a remote server. Set this parameter as required. You can use the root user. Password of the root user. If all parameters are set correctly, click Browse to obtain the path on the remote server. If any parameter is set incorrectly or the network is faulty, the remote server path cannot be obtained. 2. Configure the backup path on the remote server, and click OK. End of Steps 1.4.1.3 Setting the Whole Database Structure Backup Task Maintenance personnel can modify the whole database structure backup task of the NetNumen U31, including the structure of all database objects. Prerequisite The remote backup path is configured. Steps 1. On an OMM client, select Maintenance > Task Management > Show Timing Task. The Task Management window is displayed. 1-5
NetNumen U31 R06 Backup and Recovery Guide 2. In the left navigation tree, select Common Task > File and Database Backup > Backup Whole DB Structure. The Backup Whole DB Structure window is displayed, see Figure 1-2. Figure 1-2 Backup Whole DB Structure Window Table 1-10 Button Descriptions for the Backup Whole DB Structure Window Button Description Backs up the whole database structure to the remote server. Saves the modified task. Cancels the modification of the task. Queries task execution status information. This button is highlighted when the backup task is being executed. If the backup duration is too long or the data backup needs to be cancelled, click this button to stop data backup. Activates the suspended timed backup task. Suspends the timed backup task. 3. To directly save backup files onto a remote server, click on the toolbar, and select Remote Backup Path. Table 1-11 Period Information for the Backup Whole DB Structure Window Parameter Period Server Execution Time Description Every day. Backup files are saved in the../ums-server/rundata /backup/sysbak/alldb directory everyday. File backup time, which refers to the time on the hour (obtained through timed task modification) plus random deviation with granularity being ten minutes. To modify the time point to execute File and Database Backup, select Maintenance > Task Management > Modify Task Start Time. 1-6
Chapter 1 Backup and Recovery 4. Click to save the settings. End of Steps 1.4.1.4 Setting the Basic Data Backup Task This procedure describes how to modify the basic data backup task for the NetNumen U31 system. The task backs up all backup data records, excluding the table structure and historical data (alarms, notifications, logs, and initial performance data). Prerequisite The remote backup path is configured. Steps 1. On an OMM client, select Maintenance > Task Management > Show Timing Task. The Task Management window is displayed. 2. In the left navigation tree, select Common Task > Configuration Data Backup > Backup Basic Data. The Backup Basic Data window is displayed, see Figure 1-3. Figure 1-3 Backup Basic Data Window Table 1-12 Button Descriptions for the Backup Basic Data Window Button Description Backs up basic data to the remote server. Saves the modified task. Cancels the modification of the task. Queries task execution status information. 1-7
NetNumen U31 R06 Backup and Recovery Guide Button Description This button is highlighted when the backup task is being executed. If the backup duration is too long or the data backup needs to be cancelled, click this button to stop data backup. Activates the suspended backup task. Suspends the periodical backup task. 3. To directly save backup files on a remote server, click on the toolbar, and select Remote Backup Path. Table 1-13 Period Information for the Backup Basic Data Window Parameter Period Server Execution Time Description Every day. Backup files are saved in the../ums-server/rundata/ backup/sysbak/basicdb directory everyday. File backup time, which refers to the time on the hour (obtained through timed task modification) plus random deviation with granularity being ten minutes. To modify the time point to execute File and Database Backup, select Maintenance > Task Management > Modify Task Start Time. 4. Click to save the settings. End of Steps 1.4.1.5 Setting the File Backup Task This procedure describes how to modify the file backup task for the NetNumen U31 task. Backup file types include version files, configuration files, and run-time files. Prerequisite The remote backup path is configured. Steps 1. On an OMM client, select Maintenance > Task Management > Show Timing Task. The Task Management window is displayed. 2. In the left navigation tree, select Common Task > File and Database Backup > Backup File. The Backup File window is displayed, see Figure 1-4. 1-8
Chapter 1 Backup and Recovery Figure 1-4 Backup File Window Table 1-14 Button Descriptions for the Backup File Window Button Description Saves the files to a remote server. Saves the modified task. Cancels the modification of the task. Queries the task execution status. Activates the suspended backup task. Suspends the periodical backup task. 3. To directly save backup files onto a remote server, click on the toolbar, and select Remote Backup Path. Table 1-15 Period Information for the Backup File Window Parameter Period Server Execution Time Description Every day. Backup files are saved in the../ums-server/rundata/ backup/sysbak/file directory everyday. File backup time, which refers to the time on the hour (obtained through timed task modification) plus random deviation with granularity being ten minutes. To modify the time point to execute File and Database Backup, select Maintenance > Task Management > Modify Task Start Time. 4. Click to save the settings. End of Steps 1-9
NetNumen U31 R06 Backup and Recovery Guide 1.4.1.6 Setting the Log Backup Task This procedure describes how to modify the log backup deletion task for the NetNumen U31 system. This task periodically clear initial data in the database. In this way, this task clears excessive data, which prevents the data from affecting system performance. Prerequisite The remote backup path is configured. Steps 1. On an OMM client, select Maintenance > Task Management > Show Timing Task. The Task Management window is displayed. 2. In the left navigation tree, select Common Task > Historical Data Archiving > Log Data Backup and Deletion Task. The Log Data Backup and Deletion Task window is displayed, see Figure 1-5. Figure 1-5 Log Data Backup and Deletion Task Window Table 1-16 Button Descriptions for the Log Data Backup and Deletion Task Window Button Description If multiple clients co-exist, click this button to obtain latest task information. Selects the type of logs to be backed up, and sets whether to save backup logs onto the remote server. Saves the modified task. Cancels the modification of the task. 1-10
Chapter 1 Backup and Recovery Button Description Queries task execution information. Queries missing execution points when the task is abnormal. Sets the database monitoring thresholds. During a timed task, if the database value (number of records or percentage) exceeds a preset threshold, an alarm of the corresponding level is reported, and the database is cleared until its usage is decreased to 80% of the lowest threshold. This button is highlighted when the backup task is being executed. If the backup duration is too long or the data backup needs to be cancelled, click this button to stop data backup. 3. Click on the toolbar to select the type of logs to be backed up. To save backup files on a remote server, select Remote Backup Path. Table 1-17 Period Information for the Log Data Backup and Deletion Task Window Parameter Period Server Execution Time Description Every day. Backup files are saved in the../ums-server/rundata/ backup/sysbak/logbak directory everyday. File backup time, which refers to the time on the hour (obtained through timed task modification) plus random deviation with granularity being ten minutes. To modify the time point to execute File and Database Backup, select Maintenance > Task Management > Modify Task Start Time. 4. Click to save the settings. End of Steps 1.4.1.7 Setting the Alarm Backup Task This procedure describes how to modify the alarm backup deletion task for the NetNumen U31 system. This task periodically clear intial data in the database. In this way, this task clears excessive data, which prevents the data from affecting system performance. Prerequisite The remote backup path is configured. Steps 1. On an OMM client, select Maintenance > Task Management > Show Timing Task. The Task Management window is displayed. 1-11
NetNumen U31 R06 Backup and Recovery Guide 2. In the left navigation tree, select Common Task > Historical Data Archiving > Alarm DataBackup and Deletion Task. The Alarm DataBackup and Deletion Task window is displayed, see Figure 1-6. Figure 1-6 Log Data Backup and Deletion Task Window Table 1-18 Button Descriptions for the Log Data Backup and Deletion Task Window Button Description If multiple clients co-exist, click this button to obtain latest task information. Selects the type of alarms to be backed up, and sets whether to save backup alarms to the remote server. Saves the modified task. Cancels the modification of the task. Queries task execution information. Queries missing execution points when the task is abnormal. Sets the database monitoring thresholds. During a timed task, if the database value (number of records or percentage) exceeds a preset threshold, an alarm of the corresponding level is reported, and the database is cleared until its usage is decreased to 80% of the lowest threshold. 1-12
Chapter 1 Backup and Recovery Button Description This button is highlighted when the backup task is being executed. If the backup duration is too long or the data backup needs to be cancelled, click this button to stop data backup. 3. Click on the toolbar to select the type of alarms to be backed up. To directly save backup files on a remote server, select Remote Backup Path. Table 1-19 Period Information for the Log Data Backup and Deletion Task Window Parameter Period Server Execution Time Description Every day. Backup files are saved in the../ums-server/rundata/ backup/sysbak/fmbak directory everyday. File backup time, which refers to the time on the hour (obtained through timed task modification) plus random deviation with granularity being ten minutes. To modify the time point to execute File and Database Backup, select Maintenance > Task Management > Modify Task Start Time. 4. Click to save the settings. End of Steps 1.4.1.8 Setting the Performance Backup Task This procedure describes how to modify the performance backup deletion task for the NetNumen U31 system. This task periodically clear initial data in the database. In this way, this task clears excessive data, which prevents the data from affecting system performance. Prerequisite The remote backup path is configured. Steps 1. On an OMM client, select Maintenance > Task Management > Show Timing Task. The Task Management window is displayed. 2. In the left navigation tree, select Common Task > Historical Data Archiving > PM DataBackup and Deletion Task. The PM Data Backup and Deletion Task window is displayed, see Figure 1-7. 1-13
NetNumen U31 R06 Backup and Recovery Guide Figure 1-7 PM Data Backup and Deletion Task Window Table 1-20 Button Descriptions for the PM Data Backup and Deletion Task Window Button Description If multiple clients co-exist, click this button to obtain latest task information. Selects the performance data table to be backed up, and sets whether to save backup performance data to the remote server. Saves the modified task. Cancels the modification of the task. Queries task execution information. Queries missing execution points when the task is abnormal. This button is highlighted when the backup task is being executed. If the backup duration is too long or the data backup needs to be cancelled, click this button to stop data backup. 3. Click on the toolbar to select the type of performance data to be backed up. To save backup files on a remote server, select Remote Backup Path. 1-14
Chapter 1 Backup and Recovery Table 1-21 Period Information for the PM Data Backup and Deletion Task Window Parameter Period Server Execution Time Description Every day. Backup files are saved in the../ums-server/rundata/ backup/sysbak/pmbak directory everyday. File backup time, which refers to the time on the hour (obtained through timed task modification) plus random deviation with granularity being ten minutes. To modify the time point to execute File and Database Backup, select Maintenance > Task Management > Modify Task Start Time. 4. Click to save the settings. End of Steps 1.4.2 Manual Temporary Backup For contents and modes of manual temporary backup, refer to Table 1-22. Table 1-22 Manual Temporary Backup Descriptions Operation Content Mode Manual whole database structure backup Manual basic data backup Backs up the structure of all databases used by the OMM, including all database object structure and excluding all basic data and historical data (notifications/logs/performance raw data). Backs up all basic data on the OMM, including data records and excluding table structure and historical data (notifications/logs/performance raw data). Full backup Full backup Manual file backup Version files, configuration files, and run-time files. Full backup Manual log backup Backs up historical logs. Incremental backup Manual alarm backup Backs up historical alarms and notifications. Incremental backup Manual performance backup Manual OMM installation backup Backs up initial performance data. Backs up OMM installation paths. Incremental backup Full backup 1.4.2.1 Manually Backing up the Whole Database Structure This procedure describes how to back up the all database object structure to the local server or a remote server. 1-15
NetNumen U31 R06 Backup and Recovery Guide Prerequisite The remote backup path is configured. Steps 1. On an OMM client, select Maintenance > System Backup and Restore. The System Backup and Restore window is displayed. 2. In the left navigation tree, select Backup > Backup Whole DB Structure. The Configure Parameters of Backup page is displayed. 3. Select the path to save files on the server in Configure Parameters of Backup in the right pane. Figure 1-8 Configure Parameters of Backup Area Default Path: Saves backup files in the /ums-server/rundata/backup/sy sbak/alldb directory. Remote Path: Saves backup files onto the remote server. 4. Click Execute. A message box is displayed. Click Yes. The system starts backing up files, and the backup process is simultaneously displayed in Execution Result. End of Steps 1.4.2.2 Manually Backing up Basic Data This procedure describes how to back up all basic data to the local server or a remote server. Prerequisite The remote backup path is configured. Steps 1. On an OMM client, select Maintenance > System Backup and Restore. The System Backup and Restore window is displayed. 1-16
Chapter 1 Backup and Recovery 2. In the left navigation tree, select Backup > Backup Basic Data. The Backup Basic Data window is displayed. 3. In the right pane, select the path to save files onto the server in Configure Parameters of Backup in the right pane. Figure 1-9 Configure Parameters of Backup Area Default Path: Saves backup files in the /ums-server/rundata/backup/sy sbak/basicdb directory. Remote Path: Saves backup files onto the remote server. 4. Click Execute. A message box is displayed. Click Yes. The system starts backing up files, and the backup process is simultaneously displayed in Execution Result. End of Steps 1.4.2.3 Manually Backing up Files This procedure describes how to back up version files, configuration files, and run-time files to the local server or a remote server. Prerequisite The remote backup path is configured. Steps 1. On an OMM client, select Maintenance > System Backup and Restore. The System Backup and Restore window is displayed. 1-17
NetNumen U31 R06 Backup and Recovery Guide 2. In the left navigation tree, select Backup > Backup File. The Backup File window is displayed. 3. Select the path to save files on the server in Configure Parameters of Backup in the right pane. Figure 1-10 Configure Parameters of Backup Area Default Path: Saves backup files in the /ums-server/rundata/backup/sy sbak/file directory. Remote Path: Saves backup files on the remote server. 4. Click Execute. A message box is displayed. Click Yes. The system starts backing up files, and the backup process is simultaneously displayed in Execution Result. End of Steps 1.4.2.4 Manually Backing up Logs This procedure describes how to manually back up logs in the database. Prerequisite The remote backup path is configured. Steps 1. On an OMM client, select Maintenance > System Backup and Restore. The System Backup and Restore window is displayed. 2. In the left navigation tree, select Backup > Backup and Deletion Log Data. The Backup and Deletion Log Data window is displayed. 3. Select the backup action, contents, and the path to save files in Configure Parameters of Backup and Deletion in the right pane, see Figure 1-11. 1-18
Chapter 1 Backup and Recovery Figure 1-11 Configure Parameters of Backup and Deletion Area Table 1-23 Configure Parameters of Backup Window Parameter Backup and Deletion Operation Backup and Deletion Operation Context Backup Filter Type Backup File Save at Server or Remote Server Description Select Backup Only. Options include: Backup Only: only backs up the logs generated during the specified period of time. Backup and Deletion: backs up and then deletes the logs generated during the specified period of time. Deletion Only: Deletes the logs generated during the specified period of time. Select Operation Log, System Log, and Security Log. Select All. Default Path: Saves backup files in the /ums-server/rundata /backup/sysbak/logbak directory. Remote Path: Saves backup files onto the remote server. 4. Click Execute. A message box is displayed. Click Yes. The system starts backing up files, and the backup process is simultaneously displayed in Execution Result. End of Steps 1.4.2.5 Manually Backing up Alarms This procedure describes how to manually back up the alarms in the database. Prerequisite The remote backup path is configured. 1-19
NetNumen U31 R06 Backup and Recovery Guide Steps 1. On an OMM client, select Maintenance > System Backup and Restore. The System Backup and Restore window is displayed. 2. In the left navigation tree, select Backup > Backup and Deletion Alarm Data. The Backup and Deletion Alarm Data window is displayed. 3. Select the backup action, content, and the path to save files in Configure Parameters of Backup and Deletion in the right pane, see Figure 1-12. Figure 1-12 Configure Parameters of Backup and Deletion Area Table 1-24 Configure Parameters of Backup Area Parameter Backup and Deletion Operation Backup and Deletion Operation Context Backup Filter Type Backup File Save at Server or Remote Server Description Select Backup Only. Options include: Backup Only: Only backs up alarms generated during the specified period of time. Backup and Deletion: Backs up and saves the alarms generated during the specified period of time. Deletion Only: Only deletes alarms generated during the specified period of time. Select History Alarm Table and Notification Table. Depends on data volume on the site. If there is large amount of data, reduce the backup days, for example, back up alarms generated in the latest seven days. Default Path: Saves backup files in the /ums-server/rundata /backup/sysbak/fmbak directory. Remote Path: Saves backup files onto the remote server. 4. Click Execute. A message box is displayed. Click Yes. 1-20
Chapter 1 Backup and Recovery The system starts backing up files, and the backup process is simultaneously displayed in Execution Result. End of Steps 1.4.2.6 Manual Backing up Performance Data This procedure describes how to manually back up the performance data in the database. Prerequisite The remote backup path is configured. Steps 1. On an OMM client, select Maintenance > System Backup and Restore. The System Backup and Restore window is displayed. 2. In the left navigation tree, select Backup > Backup and Deletion PM Data. The Backup and Deletion PM Data window is displayed. 3. Select the backup action, content, and the path to save files in Configure Parameters of Backup and Deletion in the right pane, see Figure 1-13. Figure 1-13 Configure Parameters of Backup and Deletion Area 1-21
NetNumen U31 R06 Backup and Recovery Guide Table 1-25 Configure Parameters of Backup Area Parameter Backup and Deletion Operation NE Type Data Type Performance Management Object Table Backup Filter Type Backup File Save at Server or Remote Server Description Select Backup Only. Options include: Backup Only: Only backs up the performance data generated during the specified period of time. Backup and Deletion: Backs up and saves the performance data generated during the specified period of time. Deletion Only: Only deletes the performance data generated during the specified period of time. Select the NE type, of which the performance objects are to be backed up. Select the table type of the performance database to be backed up and then deleted. Options include: Origin Table: Generated based on the basic data of original granularity result. Hour Table: Generated based on hours. Day Table: Generated based on days. Select the performance statistics table of the NE type. Click, and enter key words to search for the performance statistics table. Click to filter tables based on the key words, and the results are displayed below. Backs up files that are generated during the specified period of time. If Latest T Day(s) is selected, the performance data generated in the latest T days are backed up. Click to show the exact time to back up logs. Set this parameter as required. If there is a large amount of performance data everyday, reduce T Time. Default Path: Saves backup files in the /ums-server/rundata /backup/sysbak/pmbak directory. Remote Path: Saves backup files on the remote server. 4. Click Execute. A message box is displayed. Click Yes. The system starts backing up files, and the backup process is simultaneously displayed in Execution Result. End of Steps 1.4.2.7 Backing up USPP Data When the NetNumen U31 accesses the USPP, the USPP data needs to be backed up. The USPP data must be backed up before major operations, for example, system upgrade 1-22
Chapter 1 Backup and Recovery or patch upgrade, for system recovery in case of database damage (the database instance need to be re-established). Steps 1. On an OMM client, select Maintenance > CN Maintenance. The CN Maintenance window is displayed. 2. In the NE tree, select HLR, and then selectcn Maintenance > HLR Globe Management > USPP Globe Management > Data Maintenance > Backup Data in the left navigation tree. The Backup Data window is displayed. 3. Set Data Backup to All, see Figure 1-14. Figure 1-14 Data Backup Tab 4. Click Execute. The backup results are displayed at the bottom. End of Steps 1.4.2.8 Manually Backing up the OMM Installation Path This procedure describes how to manually backs up the NetNumen U31 OMM installation path after the OMM is installed or upgraded for system recovery in case of volume damage. Prerequisite Log in to the NetNumen U31 server as the root user. Steps 1. Run the following command to query the disk usage of the server. Select the partition bigger than 20 GB to save backup files. #df -h 2. Stop the NetNumen U31 service programs. 3. Run the following command to compress the OMM installation directory: 1-23
NetNumen U31 R06 Backup and Recovery Guide #tar -zcvf /home/backupfile/ems.tar.gz /home/netnumen/ems Where: /home/backupfile/ is the path to save backup files, and is already set in 1.. /home/netnumen/ems is the actual installation path for NetNumen U31 service programs. 4. (Optional) If a remote server is configured, copy the ems.tar.gz that is backed up to the remote server. End of Steps 1.5 Recovery Implementation 1.5.1 Creating a Database Instance If the database instances cannot be started normally, you cannot directly recover the database. Instead, you need to create a database instance, and then perform the database recovery. Steps 1. Delete the faulty database instances by running the following command. For details, refer to the database installation manual. $dbca 2. Re-create a database instance by referring to the database installation manual. Note: The SID of the new instance must be the same as that of the instance in the database. The path to save the database instance must be the same as original path. 3. After the instance is created, start the instance and the interception function. End of Steps 1.5.2 Recovering the Whole Database Structure To restore the database structure, you can use the offline recovery tool in the <EMS server installation path>/ums-server/utils/usf-backup directory, select a backup file for whole database structure recovery when the EMS server is not started. The whole database structure recovery consumes about 50 minutes in the CGSL system, and 90 minutes in the Solaris system. The recovery time varies with products. 1-24
Chapter 1 Backup and Recovery Prerequisite The database instance is started normally. Steps 1. Stop the NetNumen U31 service programs. 2. Run the following command to check whether the programs are stopped: #ps -d grep zte_ For the command result, see Figure 1-15, which indicates that the EMS server is closed. Figure 1-15 EMS Is Closed 3. Run the following command. The Database Setting dialog box is displayed, see Figure 1-16. #cd /home/netnumen/ems/ums-server/utils/usf-backup/#./run.sh home/netnumen/ems is the actual EMS installation path. Figure 1-16 Database Setting Dialog Box 4. Set database parameters as required. For a description of the parameters, refer to Table 1-26. 1-25
NetNumen U31 R06 Backup and Recovery Guide Table 1-26 Database Parameter Descriptions Parameter EMS Root Path (Program Area) Database Super User Name Database Super User Password Database IP Database Port Database SID Database Type Description EMS installation path, which needs to be entered in the upper-layer directory of ums-server, for example, /home/netnumen/ems. Enter system. Password of the system user. Set the IP address of the database as required. Enter 1521 for the Oracle database. Set this parameter as required. Select oracle. 5. Click OK. The offline recovery tool window is displayed. 6. Click Restore Whole DB Structure in the left navigation tree, see Figure 1-17. Figure 1-17 Restore Whole DB Structure Window 7. Click Browse, and select the whole database structure backup file to be recovered. 8. Click Advanced Settings. A dialog box is displayed, see Figure 1-18. The file storage path of the backup environment is used by default. Set the path as required. 1-26
Chapter 1 Backup and Recovery Note: Verify that the file storage paths of the files to be recovered exist before recovery, and the oracle user has the execution permission. Otherwise, an error is reported, indicating that the user has no such permission. Figure 1-18 Database Configuration Dialog Box 9. Click Execute. A dialog box is displayed, see Figure 1-19. Click Yes. The whole database structure starts to be recovered, and a prompt will be displayed, indicating that the database is successfully recovered. Figure 1-19 Confirm Dialog Box 10. Click Yes. The offline recovery tool window is displayed, see Figure 1-20. 1-27
NetNumen U31 R06 Backup and Recovery Guide Figure 1-20 Whole DB Structure Is Recovered End of Steps 1.5.3 Recovering Basic Data To restore basic data, you can use the offline recovery tool in the /ums-server/utils/ usf-backup directory, select a backup file for basic data recovery when the EMS server is not started. The basic data recovery consumes about 15 minutes. products. The recovery time varies with Prerequisite The offline recovery tool is started. For details, refer to Steps 1 through 5 in 1.4.2.1 Manually Backing up the Whole Database Structure. Steps 1. In the left navigation tree of the offline recovery tool window, select Restore Basic Data, see Figure 1-21. 1-28
Chapter 1 Backup and Recovery Figure 1-21 Restore Basic Data Window 2. Click Browse, and select the basic data backup file to be recovered. 3. Click Execute. A dialog box is displayed, see Figure 1-22. Click Yes. The basic data starts to be recovered, and a prompt will be displayed, indicating that the data is successfully recovered. Figure 1-22 Basic Data Recovery Confirmation Box 4. Click Yes. The offline recovery tool window is displayed, see Figure 1-23. 1-29
NetNumen U31 R06 Backup and Recovery Guide Figure 1-23 Basic Data is Recovered End of Steps 1.5.4 Recovering Logs This procedure describes how to recover logs on the NetNumen U31 server. Steps 1. On an OMM client, select Maintenance > System Backup and Restore. The System Backup and Restore window is displayed. 2. Select Restore > Restore Log Data. The log recovery window is displayed, see Figure 1-24. Figure 1-24 Configure Parameters of Restoration Area 3. Select the path of the backup file from the Select the Backup File list. 1-30
Chapter 1 Backup and Recovery If backup files are saved on the NetNumen U31 server, select Default Path, which refers to the /ums-server/rundata/backup/logbak directory. If backup files are saved on the FTP/SFTP server, select Remote Path. To set the remote path, select Maintenance > Remote Backup Path Configuration. 4. Click Browse, and select the log backup file. 5. Click Execute. A message box is displayed. Click Yes. The recovery process is simultaneously displayed in Execution Result. When the recovery process is completed, a message box is displayed, indicating the recovery process is successfully completed. End of Steps 1.5.5 Recovering Alarms This procedure describes how to recover alarms backed up on the server. Steps 1. On an OMM client, select Maintenance > System Backup and Restore. The System Backup and Restore window is displayed. 2. Select Restore > Restore Alarm Data. The alarm recovery window is displayed, see Figure 1-25. Figure 1-25 Configure Parameters of Restoration 3. Select the path of the backup file from the Select the Backup File list. If backup files are saved on the NetNumen U31 server, select Default Path, which refers to the /ums-server/rundata/backup/fmbak directory. If backup files are saved on the FTP/SFTP server, select Remote Path. To set the remote path, select Maintenance > Remote Backup Path Configuration. 4. Click Browse, and select the log backup file. 5. Click Execute. A message box is displayed. Click Yes. The recovery process is simultaneously displayed in Execution Result. When the recovery process is completed, a message box is displayed, indicating the recovery process is successfully completed. End of Steps 1-31
NetNumen U31 R06 Backup and Recovery Guide 1.5.6 Recovering Performance Data This procedure describes how to recovery performance data on the NetNumen U31 server. Steps 1. On an OMM client, select Maintenance > System Backup and Restore. The System Backup and Restore window is displayed. 2. Select Restore > Restore PM Data. The performance recovery window is displayed, see Figure 1-26. Figure 1-26 Configure Parameters of Restoration Area 3. Select the path of the backup file from the Select the Backup File list. If backup files are saved on the NetNumen U31 server, select Default Path, which refers to the /ums-server/rundata/backup/pmbak directory. If backup files are saved on the FTP/SFTP server, select Remote Path. To set the remote path, select Maintenance > Remote Backup Path Configuration. 4. Click Browse, and select the log backup file. 5. Click Execute. A message box is displayed. Click Yes. The recovery process is simultaneously displayed in Execution Result. When the recovery process is completed, a message box is displayed, indicating the recovery process is successfully completed. End of Steps 1.5.7 Recovering USPP Data This procedure describes how to independently recover a USPP when the NetNumen U31 accesses the USPP and the NetNumen U31 database is damaged. Steps Running a Command 1. On a client, select Configuration > MML Terminal > Open MML Terminal. The MML Terminal window is displayed. 2. Click the EMS Server root node, and run the following command to check whether the command can be executed successfully. 1-32
Chapter 1 Backup and Recovery DEL USPP:true; Yes -> Step 5. No -> 3. 3. If a prompt is displayed, indicating that the command does not exist, connect to the NetNumen U31 database (sqlplus cm_uspp/u_tywg_2008@database instance name) by using sqlplus, and execute SQL statements. #su oracle $sqlplus /nolog SQL> conn cm_uspp/u_tywg_2008 SQL>update cm_uspp.cn_r_usppversion set CURRENTVERSION = ''; SQL>update cm_uspp.cn_r_usppversion set outver = ''; SQL>commit; 4. Repeat the command in Step 2. Importing the License File 5. On the client, select Topology > View Topology. The Topology Management window is displayed. 6. Right-click the USPP agent, and select to deactivate the agent. 7. On an OMM client, select Maintenance > CN Maintenance. The CN Maintenance window is displayed. 8. Select CN Maintenance > License Management. The License Management tab is displayed, see Figure 1-27. Figure 1-27 License Management Tab 9. Click to export the new License file. Creating a USPP Node 10. In the MML Terminal window, click the EMS Server root node, and select USPP Management > USPP Node Configuration Management > New USPP Node, see Figure 1-28. 1-33
NetNumen U31 R06 Backup and Recovery Guide Figure 1-28 New USPP Node Window 11. Click right beside Type to filter NE types, and lick to create a USPP node. Updating the USPP 12. In the MML Terminal window, right-click the USPP agent, and select to activate the agent. 13. In the MML Terminal window, select USPP Management > USPP Serial Number Management > Show Available USPP Serial Number, and click to query available USPP S/Ns, see Figure 1-29. Figure 1-29 Querying Available USPP S/Ns 14. Select USPP Management > USPP Serial Number Management > Update USPP, enter the USPP S/N (queried in 13.) in Serial Number, and click, see Figure 1-30. 1-34
Chapter 1 Backup and Recovery Figure 1-30 Updating the USPP Synchronizing License to Lower-layer OMM 15. In License Management of the CN Maintenance window, click. The Synchronize License Information dialog box is displayed, see Figure 1-31. Figure 1-31 Synchronize License Information Dialog Box 16. Select USPP from the License Type list, select the new NE agent from the NE Agent List list, and click. 17. Click OK to synchronize the license to the lower-layer OMM. Configuring USPP Global Configuration 18. In the MML Terminal window, select USPP Management > USPP NE Configuration Management > Add USPP NE, see Figure 1-32. 1-35
NetNumen U31 R06 Backup and Recovery Guide Figure 1-32 Add USPP NE Window 19. Set NE Agent Name and Bureau NO, and click. NE Agent Name is the OMM name of the lower-layer NE, and Bureau NO is the physical office ID for the OMM. To query the physical office, run the SHOW USPPNE command. Recovering USPP Data 20. In the NE tree of the CN Maintenance window, select the HLR type. In the navigation tree, select CN Maintenance > HLR Global Management > USPP GlobalManagement > Data Maintenance > Restore Data, see Figure 1-33. Figure 1-33 Restore Data Tab 21. On the Operation tab, set Data Restore to All, click Browse after backing up USPP data, and then click Execute. Synchronizing USPP Data 22. In the navigation tree, select CN Maintenance > HLR Global Management > USPP Global Management > Data Maintenance > Sync Data, see Figure 1-34. 1-36
Chapter 1 Backup and Recovery Figure 1-34 Sync Data Window 23. Set Operate Type, Sync Options, and synchronization mode (use the default value in normal cases), and click Execute. End of Steps 1.5.8 Manually Recovering OMM Installation Path The OMM installation directory needs to be backed up when the OMM is installed or upgraded. The OMM installation file is manually backed up rather than backed up in real time. When the OMM installation file is damaged and there is no latest entire OMM installation path backup, you can copy the original entire path backup file, and then recover the file. Finally, the NetNumen U31 system is recovered to the latest configuration. Steps 1. Stop the NetNumen U31 service programs. 2. Upload the backup path to the NetNumen U31 server, and run the following commands to decompress the files. #cd /home/backupfile #tar -zxvf ems.tar.gz -C / /home/backupfile is the storage path for the backup files. 3. Recover the files. a. Perform Steps 1 through 5 in 1.4.2.1 Manually Backing up the Whole Database Structure. b. Click Restore File, see Figure 1-35. 1-37
NetNumen U31 R06 Backup and Recovery Guide Figure 1-35 Restore File Window c. Click Browse behind Select the backup file, and select the file to be recovered. d. Click Browse behind Target path for file restoration, and select the destination path to recover the files. Note: You need to select a blank path as the destination path, see Figure 1-36. 1-38
Chapter 1 Backup and Recovery Figure 1-36 Target Paths for File Restoration e. Click Execute. A dialog box is displayed. Click Yes. The files are successfully recovered, see Figure 1-37. Figure 1-37 Files Are Successfully Recovered 4. Copy the backup files recovered from execution files to the OMM installation path. 1-39
NetNumen U31 R06 Backup and Recovery Guide For example, set the recovery path to /home/netnumen/backup, and the copy commands are as follows: For the CGSL operating system, run the following commands: #unalias cp #cp -rf /home/netnumen/backup/* /home/netnumen/ems For the Solarios operating system, directly run the cp command: #cp -rf /home/netnumen/backup/* /home/netnumen/ems 5. Restart the NetNumen U31 server. End of Steps 1-40
Figures Figure 1-1 Remote Backup Path Configuration Dialog Box... 1-5 Figure 1-2 Backup Whole DB Structure Window... 1-6 Figure 1-3 Backup Basic Data Window... 1-7 Figure 1-4 Backup File Window... 1-9 Figure 1-5 Log Data Backup and Deletion Task Window... 1-10 Figure 1-6 Log Data Backup and Deletion Task Window... 1-12 Figure 1-7 PM Data Backup and Deletion Task Window... 1-14 Figure 1-8 Configure Parameters of Backup Area... 1-16 Figure 1-9 Configure Parameters of Backup Area... 1-17 Figure 1-10 Configure Parameters of Backup Area... 1-18 Figure 1-11 Configure Parameters of Backup and Deletion Area... 1-19 Figure 1-12 Configure Parameters of Backup and Deletion Area... 1-20 Figure 1-13 Configure Parameters of Backup and Deletion Area... 1-21 Figure 1-14 Data Backup Tab... 1-23 Figure 1-15 EMS Is Closed... 1-25 Figure 1-16 Database Setting Dialog Box... 1-25 Figure 1-17 Restore Whole DB Structure Window... 1-26 Figure 1-18 Database Configuration Dialog Box... 1-27 Figure 1-19 Confirm Dialog Box... 1-27 Figure 1-20 Whole DB Structure Is Recovered... 1-28 Figure 1-21 Restore Basic Data Window... 1-29 Figure 1-22 Basic Data Recovery Confirmation Box... 1-29 Figure 1-23 Basic Data is Recovered... 1-30 Figure 1-24 Configure Parameters of Restoration Area... 1-30 Figure 1-25 Configure Parameters of Restoration... 1-31 Figure 1-26 Configure Parameters of Restoration Area... 1-32 Figure 1-27 License Management Tab... 1-33 Figure 1-28 New USPP Node Window... 1-34 Figure 1-29 Querying Available USPP S/Ns... 1-34 Figure 1-30 Updating the USPP... 1-35 Figure 1-31 Synchronize License Information Dialog Box... 1-35 Figure 1-32 Add USPP NE Window... 1-36 I
NetNumen U31 R06 Backup and Recovery Guide Figure 1-33 Restore Data Tab... 1-36 Figure 1-34 Sync Data Window... 1-37 Figure 1-35 Restore File Window... 1-38 Figure 1-36 Target Paths for File Restoration... 1-39 Figure 1-37 Files Are Successfully Recovered... 1-39 II
Tables Table 1-1 Backup Flow... 1-1 Table 1-2 Recovery Flow... 1-1 Table 1-3 System Data Loss Recovery Flow... 1-2 Table 1-4 OMM Installation File Recovery Flow... 1-2 Table 1-5 Database File Recovery Flow... 1-2 Table 1-6 Preparation... 1-3 Table 1-7 SFTP Access Information... 1-3 Table 1-8 Periodical Backup Policies... 1-4 Table 1-9 Parameter Descriptions for Remote Backup Path Configuration Dialog Box... 1-5 Table 1-10 Button Descriptions for the Backup Whole DB Structure Window... 1-6 Table 1-11 Period Information for the Backup Whole DB Structure Window... 1-6 Table 1-12 Button Descriptions for the Backup Basic Data Window... 1-7 Table 1-13 Period Information for the Backup Basic Data Window... 1-8 Table 1-14 Button Descriptions for the Backup File Window... 1-9 Table 1-15 Period Information for the Backup File Window... 1-9 Table 1-16 Table 1-17 Table 1-18 Table 1-19 Table 1-20 Table 1-21 Button Descriptions for the Log Data Backup and Deletion Task Window... 1-10 Period Information for the Log Data Backup and Deletion Task Window... 1-11 Button Descriptions for the Log Data Backup and Deletion Task Window... 1-12 Period Information for the Log Data Backup and Deletion Task Window... 1-13 Button Descriptions for the PM Data Backup and Deletion Task Window... 1-14 Period Information for the PM Data Backup and Deletion Task Window... 1-15 Table 1-22 Manual Temporary Backup Descriptions... 1-15 Table 1-23 Configure Parameters of Backup Window... 1-19 Table 1-24 Configure Parameters of Backup Area... 1-20 Table 1-25 Configure Parameters of Backup Area... 1-22 Table 1-26 Database Parameter Descriptions... 1-26 III
Tables This page intentionally left blank. IV
Glossary CGSL - Carrier Grade Server Linux FTP - File Transfer Protocol SFTP - Secure File Transfer Protocol USPP - Universal Subscriber Profile Platform V