Professional Documents
Culture Documents
Guide
V12.12.40P29_03
LEGAL INFORMATION
By accepting this certain document of ZTE CORPORATION you agree to the following terms. If you
do not agree to the following terms, please notice that you are not allowed to use this document.
Copyright © 2020 ZTE CORPORATION. Any rights not expressly granted herein are reserved. This
document contains proprietary information of ZTE CORPORATION. Any reproduction, transfer,
distribution, use or disclosure 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.
and are registered trademarks of ZTE CORPORATION. ZTE’s company name, logo
and product names referenced herein are either trademarks or registered trademarks of ZTE
CORPORATION. Other product and company names mentioned herein may be trademarks or trade
names of their respective owners. Without the prior written consent of ZTE CORPORATION or the
third party owner thereof, anyone’s access to this document should not be construed as granting,
by implication, estopped or otherwise, any license or right to use any marks appearing in the
document.
The design of this product complies with requirements of environmental protection and personal
security. This product shall be stored, used or discarded in accordance with product manual,
relevant contract or laws and regulations in relevant country (countries).
This document is provided “as is” and “as available”. Information contained in this document is
subject to continuous update without further notice due to improvement and update of ZTE
CORPORATION’s products and technologies.
ZTE CORPORATION
Address: NO. 55
Hi-tech Road South
ShenZhen
P.R.China
518057
Website
http://dms.zte.com.cn (Technical Support)
:
Revision History
Author
Proposal: Before reading this document, you had better have the following knowledge and skills.
SEQ Knowledge and skills Reference material
1 - -
Follow-up document: After reading this document, you may need the following information.
SEQ Reference material Information
1 - -
TABLE OF CONTENT
1 Prerequisites....................................................................................................4
4 Patch Upgrade..................................................................................................8
4.1 Patch Set Tool Name.........................................................................................8
4.2 Installation Guide...............................................................................................8
5 Start OMMB....................................................................................................10
6 Roll Back........................................................................................................ 10
6.1 Close the Upgraded OMMB Server and Client.................................................10
6.2 Roll Back to Source Version............................................................................10
6.3 (Optional) Recover Database...........................................................................11
1 Prerequisites
In this document, it is assumed that:
OMMB is installed as user omc. All operations are performed by user omc without
special instruction.
When data is backed up by the database backup tool, the backed-up data is saved
in /home/omc/dbbackup (run mkdir to create if the directory does not exist). The
current user is with the right to read and write in this directory.
1. GU V4.09/V4.11
Stop the OMMB service before upgrading. Run the following commands as user omc.
$cd /home/omc/netnumen/ommb/ums/ums-svr/bin
$sh close-console-linux.sh
continue to perform the command pls press 'Y',terminate pls enter 'N'
2012-12-11 15:18:47,802
Stopping result:
-----------------------------
-----------------------------
Stop ftp[PID=890] successfully. #Stop ums and ftp processes under normal
conditions.
-----------------------------
Caution:
Close the connection between the database tool and sqlplus enabled by users themselves and
the OMMB database.
3.2 Back Up File
Run the following command to back up the installation directory of the source version
before upgrading.
If exceptions occur during upgrading, roll back to the source version with this backed up
directory.
Note:
This patch does not need to modify the script. Therefore, this step can be neglected.
The database of the current version may be damaged by upgrading. Thus, to ensure the
successful rollback, the database needs to be backed up.
Note: Do not need to stop the database or close the database connection during the
process to back up the database.
$mkdir /home/omc/dbbackup
$cd /home/omc/OMMB_VERSION/Installer/install/tools/dbbackuptool
$sh omm-backup.sh
Type the backup directory and Oracle SID (ommb is taken as an example).
-- Backup database --
----------------------------------------------
/home/omc/dbbackup
----------------------------------------------
ommb
After backup, three backup files uep.dmp, ueppm.dmp, and caffm.dmp are created in
/home/omc/dbbackup.
4 Patch Upgrade
ZXSDR_OMMB_Version_Number.zip
Example: ZXSDR_OMMB_V12.12.40P29_03.zip
1. Upload file.
Upload the OMMB urgent patch set tool package to the directory by using FTP in binary
mode. If the system provides SFTP service, upload the package to the directory directly.
ZXSDR_OMMB_V12.12.40P29_03.zip is taken as an example in this step.
$unzip ZXSDR_OMMB_V12.12.40P29_03.zip
3. Start to install.
Run the chmod 777 run.sh command to authorize the run.sh file with operation right.
Double-click run.sh to start the patch installation, as shown in the following figure.
After specifying the directory, the patch is copied to the directory. Type Y to install. Note:
The letter must be capitalized.
5 Start OMMB
Open the /home/omc/netnumen/ommb/ums/ums-svr/bin directory, and then run the
following command to start the OMMB server.
Five minutes later, connect the OMMB server through OMMB client, or open the
/home/omc/netnumen/ommb/ums/ums-svr/bin/consolemml directory to run the
following command.
#sh status-xxx.sh
If the message as shown in the following figure is displayed, the OMMB server is started.
6 Roll Back
Close the upgraded OMMB server and client. For details, see 3.1 Stop OMMB Service.
$cd /home/omc/netnumen
$ rm -rf home/omc/netnumen/ommb
$ mv /home/omc/netnumen/ommb_bak home/omc/netnumen/ommb
This patch does not need to modify the script. Therefore, this step can be neglected.
The step to recover database is similar to that of back up database.
$cd /home/omc/OMMB_VERSION/Installer/install/tools/dbbackuptool
$sh omm-recover.sh
Type the backup directory, Oracle database OID, and system user and its password.
-- Recover database --
-------------------------------------------------
/home/omc/dbbackup
-------------------------------------------------
ommb
-------------------------------------------------
oracle