Professional Documents
Culture Documents
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 2015 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. ZTEs 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, anyones 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
CORPORATIONs products and technologies.
ZTE CORPORATION
Address:
Website:
NO. 55
Hi-tech Road South
ShenZhen
P.R.China
518057
http://dms.zte.com.cn
Email:
TSM.Aftersales@zte.com.cn
Revision History
Product
Version
Document Version
Serial
Number
V2008-R6.10
First published
V2008-R6.11
V2.0
V2.1
V2.2
V2.3
V2.4
V2.5
V2.6
V2.7
V2.8
R3.2
II
Product
Version
Serial
Number
Document Version
R3.4
Author
Date
Document Version
Prepared by
Reviewed by
2008-6-13
V2008-R6.10
Zhong Junbiao
Chen Qi
2008-10-8
V2008-R6.11
Zhong Junbiao
Chen Qi
2009-2-10
V2.0
Li Wei
Chen Qi
2009-3-19
V2.1
Zhong Junbiao
Chen Qi
2009-5-20
V2.2
Zhong Junbiao
Chen Qi
2009-6-2
V2.3
Zhong Junbiao
Chen Qi
2009-7-16
V2.4
Zhong Junbiao
Chen Qi
V2.5
Chen Qi
2009-12-25
V2.6
Cai Kai
Chen Qi
2010-01-20
V2.7
Cai Kai
Chen Qi
2010-02-04
V2.8
Cai Kai
Chen Qi
2011-03-10
R3.2
Wu Jianwen
Chen Qi
2011-03-30
R3.4
Chen Qi
Approved by
III
Preface:
The new NS system of ZXG10 BSS includes local NS system (OMM) and integrated NS
system (Minos). The local NS system of ZXG10 iBSC (OMM) is managed by the local
NM server ZXG10 iSMG (the software name of OMCR). The integrated NM system
(Minos) is managed by Minos Server and Client. The OMM functions are performed on
the Server (SBCX) and the Client.
This guide specifies the commissioning criteria of the ZXG10 iOMCR server (SBCX), in
order to provide universal and detailed engineering commissioning procedure, regulate
and guide the onsite commissioning work of the commissioning engineers.
This guide applies to the entire SBCX installation and commissioning procedure. For the
onsite equipment pre-installed with OS and database, the detailed items should also be
checked according to the regulations and criteria specified in this Guide, before the
follow-up commissioning procedure.
IV
Description
TABLE OF CONTENTS
1 Networking and Basic Planning Principles 1
1.1
Basic Knowledge of SBCX
1
1.1.1
ZXG10 SBCX Panel 1
1.1.2
ZXG10 SBCX Position on the Rack 2
1.1.3
ZXG10 SBCX Hardware Specifications
2
1.1.4
ZXG10 SBCX Indicators 2
1.1.5
ZXG10 SBCX Interfaces 3
1.1.6
Relation of the Ports on SBCX and RSVB 4
1.1.7
ZXG10 SBCX Buttons
4
1.1.8
ZXG10 SBCX Board Replacement
5
1.2
Server Installation Strategy and Network Planning 5
1.2.1
Commissioning Flow 6
1.2.2
Resource Allocation 6
1.2.3
Common Networking Mode 8
1.2.4
Planning Rules for IP Address and SBCX Name
9
1.2.5
Cable Laying for OMM Networking
10
1.3
Operations on the SBCX Upon Product Delivery (Optional) 11
1.3.1
Check and Modification of IP Address for Integrated R&B Version
1.3.2
Check of Oracle Net Setting 12
1.3.3
System Reboot to Make the Above Modification Valid 12
11
VI
3.3.3
3.3.4
3.4
3.4.1
3.4.2
3.4.3
3.4.4
80
81
82
VII
7.2.1
7.2.2
Preparations
116
Installation Procedure
118
VIII
IX
1.1
1.1.1
SBCX
ENUM RUN
ACT ALM
EXCH
RST
HD PWR
PWB
RSVB
SAS1 ALM1
O
M
C
2
O
M
C
1
ENUM1
RX1
ACT
TX1
O
M
P
1
SD
RX2
ACT
H
E
A
R
T
1
TX2
R
S
2
3
2
H
E
A
R
T
2
SD
KB
MS SAS2 ALM2
ENUM2
USB1 USB2
VGA
CLASS 1
USB1USB2
1 2
1.1.2
path:
http://tsm.zte.com.cn/tsm/FileCenter/File.aspx?
Mode=read&FileID=30300162)
1.1.3
1.1.4
Color
Definition
Description
RUN
Green
System running
Unused
ALM
Red
Alarm
Unused
ENUM
Yellow
Board extraction
Unused
ACT
Green
Active/standby board
Unused
HD
Green
PWR
Green
Board power
SAS1
ALM1
Green
Yellow
Read/write status of
hard disk 1
is faulty.
OFF: SAS hard disk 1 is normal.
SAS2
ALM2
Green
Yellow
Read/write status of
hard disk 1
is faulty.
OFF: SAS hard disk 2 is normal.
1.1.5
Interface
Direction
USB1
Bidirectional
USB interface
USB2
Bidirectional
USB interface
KB
Input
MS
Input
VGA
Output
PWB
Rear panel
Description
OMC1
of RSVB
OMC2
ZTE Confidential Proprietary
Bidirectional
Location
Interface
OMP1
Direction
Bidirectional
Description
Internal GE interface for the communication
with OMC2 on OMP
1.1.6
HEART1
Bidirectional
External FE port
HEART2
Bidirectional
External FE port
RS232
Bidirectional
USB1
Bidirectional
USB interface
USB2
Bidirectional
USB interface
eth3
eth4
eth5
eth6
eth1
eth2
eth0
RSVB
OMC1
OMC2
--
OMP1
HEART1
HEART2
--
Pre-set IP
10.63.2
Generally
Unused
129.0.1.1
Prohibit
address
08.200
served
255.255.0.0
ed
and mask
255.25
as
5.252.0
OMCB
network
port
Note:
Eth0 is an internal network port of SBCX, which is connected with S9 and S10 on the back plane.
It is prohibited to be used. There is not cable led out from Eth5. Eth3 (including eth3:1 port) is set
with an external IP address to connect with M-IONS server. Eth6 is set with an internal IP address
to connect with OMP (OMC2 on OMP). The IP address of eth3 (including eth3:1 port) can be
adjusted according to the onsite planning. Eth4 (including eth4:1 port) serves as OMCB port.
1.1.7
1.1.8
Description
RST
Reset
EXCH
Active/standby changeover
PWB
Board power
ENUM1
ENUM2
1.2
Integrated R&B version (OMCR+OMCB): Both OMCR and OMCB functions are
available in this software.
Independent OMCB version: Only OMCB functions are available in this software, which
is used to manage the SDRV4.09 series.
This solution applies to the scenario that both iSMG and OMCB software is installed on a
unique (non-active/standby) SBCX in GSM system:
1.2.1
A new SBCX board with 4G memory, which is installed with iSMG and OMCB software.
A new SBCX board with 8G memory, which is installed with iSMG and OMCB software.
Commissioning Flow
The following figure describes the general SBCX commissioning procedure:
In a new office: Upon product delivery, the OS, database, and gomcr instance have
been installed on SBCX. In this situation, start with the iSMG software installation.
In the office with a running iSMG software: After the onsite version is upgraded to
iOMCRV6.20.614c or a later version, go on with gomcb instance installation.
1.2.2
Resource Allocation
Integrated R&B version and independent OMCB version run separately on SBCX. The
aspects such as application, database, and system resources should be taken into account
as shown in the following figure:
Application
Create two separate user accounts for integrated R&B version and independent OMCB
version. Deploy the versions in the corresponding path in each user account. Each
version runs with a unique JVM (Java machine) and working path.
Database
Create two separate database instances for integrated R&B version and independent
OMCB version. Allocate some SGA to each instance. Create database files in the
corresponding path.
Disk
Save the version packages, database files, reported performance data, and backup files
in the corresponding paths of Integrated R&B version and independent OMCB version.
Memory
Most of the memory is taken up by the database SGA, PGA and JVM. Besides the
physical memory taken up by the OS, the remaining physical memory is allocated for
the Integrated R&B version and independent OMCB version.
CPU
The Integrated R&B version and independent OMCB version use the same CPU.
Network
There are three IP interfaces for the Integrated R&B version. The configuration is
shown as follows:
Name
eth3
eth4
Description
Remark
External
IP
Not
required in
the new
office
eth6
Internal IP
There are two IP interfaces for the independent OMCB version. The configuration is shown
as follows:
Name
eth3:1
eth4:1
Description
Remark
External
IP
1.2.3
1.2.4
General Introduction
Eth3 (including the sub-interface eth3:1) (OMC1 on RSVB): Set with an external
address (generally planned and provided by the operator) to connect with Minos.Eth6
(OMP on RSVB): set with an internal address to connect with OMP.Eth4 (including the
sub-interface eth4:1) (OMC2 on RSVB): Set with an internal address (generally planned
and provided by ZTE) to connect with OMCB.
Note:
2.
Client
operator)
Internal IP
Note: XX refers to BSCID (numbered and provided by the operator) within the range of
1-254. The mask is 255.255.0.0.
3.
Naming rules for the HOSTS file and the host name of the other files
1.2.5
The internal host name in the HOSTS file is not a required item.
10
No.
1
as OMCB interface)
(active)
7
as OMCB interface)
(standby)
8
9
10
M-ions server
M-ions client
11
1.3
11
After the OS and database are properly installed, perform the following operations and
inspections according to the planned IP address and host name.
1.3.1
Check and modify the host name in /etc/sysconfig/network-scripts as the planned host
name.
2.
Check and modify the IP address in /etc/hosts as the planned external IP address, and
the host name as the planned host name.
3.
1.3.2
1.3.3
1.
$ORACLE_HOME/network/admin/listener.ora
2.
$ORACLE_HOME/network/admin/tnsnames.ora
12
# ifconfig -a
eth3
13
2.1
This chapter covers all the installation steps for Red Hat AS4 U4 for x86. Perform the
following steps in sequence. This document takes SBCX installation as an example.
2.
For the information not emphasized in this document, type the contents after # and $
in the command terminal (the font in blue should be typed). The highlighted text in grey
is the prompt information and operation information. The highlighted text in pink is
emphasized contents which is often typed incorrectly. The font in red can be modified,
and is often typed incorrectly.
3.
The $ prompt indicates the current user is gomcr/gomcb/oracle (perform the operation
according to the specific prompt). The # prompt indicates the current user is root.
4.
If the installation is performed remotely, make sure only one installation process can be
controlled in the remote PC.
5.
Due to the strict requirement for the command typing in Linux, pay attention to the letter
case, space, as well as the difference between SBC case and DBC case, etc.
6.
Unless specified, select Chinese for the contract in China, and English for the contract
in other countries.
14
2.2
Before the installation, collect the information of SBCX hardware (previous model) as
shown in Table 2 -6. The hardware information of the new model is shown after the
table.
SATA sdb=80G/120G
SAS sda=73G/146G(RAID1)
Memory
4GB
CPU
Network Adapter
There are two models of SBCX boards, which can be separated in the following method:
Check the partitioning status with the df -kh command to separate the SBCX boards in the
previous and new models:
Previous SBCX Partitioning
Filesystem
Mount point
Mount point
/dev/sdb2
/dev/sda2
/dev/sda2
/backup
/dev/sda7
/backup
/dev/sdb1
/boot
/dev/sda1
/boot
/dev/sdb6
/home
/dev/sda5
/home
/dev/sda1
/nfsDev
/dev/sda6
/nfsDev
/dev/sdb5
/oracleapp
/dev/sda9
/oracleapp
/dev/sda3
/oracledata
/dev/sda10
/oracledata
2.
3.
Press Del to enter BIOS interface. Click Boot > Boot Device Priority in the menu. Click
1st Boot Device USB PIONEER DVD-ROM.
4.
15
5.
2.2.1
Installation Procedure
1.
Power on the equipment. Insert the first CD into the CD-ROM. Restart the equipment,
and then the boot: prompt shows. Press Enter.
2.
Language selection
Which language would you like to use during the installation process?
Select English for overseas projects.
5.
Keyboard configuration
Select U.S. English. Click Next.
6.
Disk partitioning
Select Manually partition with Disk Druid. If a Warning dialog box pops up. Click Yes.
Partition the disk according to the following table. Except the file system type of swap
partition is swap. The file system types of the other partitions are all ext3
There are two models of SBCX boards:
For the previous SBCX, perform partitioning according to the following table.
Besides the swap type of the swap partition file, the type of the other partition files
is ext3.
16
Mount
Point
Size
System
Type
SATA(sdb)
/boot
ext3
Swap
ext3
SAS(sda)
/oracleapp
ext3
/home
ext3
Remaining space
/nfsDev
ext3
/backup
ext3
/oracledata
ext3
Remaining space
For the new SBCX, perform the partitioning according to the following table:
Disk
Mount
Point
Size
System
Type
SAS(sda)
/boot
ext3
Swap
ext3
/oracleapp
ext3
/home
ext3
/nfsDev
ext3
/backup
ext3
/oracledata
ext3
Click Next.
7.
17
9.
Network configuration
i.
i.
Network devices:
Netmask: 255.255.0.0
IP Address: 172.16.2.145 (Used to connect OMCB with SDR. The IP address and
subnet mask of the eth4 port depend on the planning of the operator.)
Netmask: 255.255.255.0
18
Set the IP address and netmask according to the planning of the internal IP:
Netmask: 255.255.0.0
Note: The eth3:1 and eth4:1 ports used in independent OMCB version can be set during the
execution of RB_split script.
ii.
Hostname
Select manually, type the hostname according to the hostname planning rules,
for example: SHBSC1.
The Hostname format is X1X2BSCXX. X1X2 is the abbreviation of the location
(such as HZ for Hangzhou, SH for Shanghai.) XX refers to BSCID 1-254. For
example: SHBSC1.
iii.
Gateway: 10.63.208.254
Primary DNS: 10.67.1.1
Secondary DNS: 10.67.18.10
Click Next.
10. Firewall Configuration
Click No firewall.
Enable SELinux: Disabled
Click Next. A dialog box of Warning No Firewall pops up. Click Proceed.
11. Additional Language Support
19
Click Next.
Select the default language for the system: English (USA) ]
Click Next.
14. Package Installation
Select Customize software package to be installed.
Select the following software packages in the list (Keep the default selection for
the other software not mentioned below):
X Window System
GNOME Desktop Environment
Editors
Server Configuration Tools
Windows File Server
FTP Server
Network Servers
Details----Optional Packages
A VNC server
A DHCP (Dynamic Host Configuration Protocol) server and
relay agent
Legacy Network Server
Details----Optional Packages
ZTE Confidential Proprietary
20
Click Next. A dialog box of Required Install Media pops up. Click Continue.
16. Installation
It may take about 0.5-1 hour, which depends on the number of the software
packages and the processing speed of the PC. Insert the CDs according to the
prompts during the installation.
17. Installation Completion
Take out of the installation disks. Reboot the PC. Set the BIOS for the PC
and cancel Startup from the driver. After rebooting the PC, perform some
extra settings. Press Del to enter BIOS interface. Click Boot > Boot Device
Priority > HDD:3M-WDC WD800BEVS-22RST0 to boot from hard disk instead
of CD-ROM. Save the setting and quit. Reboot the system, and perform the
following settings.
18. Welcome
Click Next.
19. License Agreement
Click Yes, I agree to the License Agreement.
ZTE Confidential Proprietary
21
Click Next.
20. Date and Time
Set the time and date for the server. Click Next.
21. Display
Keep the defaulted value. Click Next.
22. Red Hat Login
Click Tell me why I need to register and provide a Red Hat login. Click Next.
23. Why Register?
Click I can not complete registration at this time. Remind me later. Click Next.
24. System User
Username: gomcr
Full Name: gomcr
Password: gomcr123
Confirm Password: gomcr123
Click Next.
25. Volume Control
Click Next.
26. Additional CDs
Click Next.
27. Finish Setup
Click Next.
28. Graphic logon interface
22
2.3
2.3.1
//eth3 IP address
10.63.208.201 SHBSC1
//eth3:1 IP address
127.0.0.1
localhost.localdomain localhost
Note:
Make sure the line of 10.63.208.200 SHBSC1 is in this file. 10.63.208.200 is the
IP of the eth3 network adapter corresponding to SBCX OMC1. 10.63.208.201 is the
IP of the eth3:1 network adapter corresponding to SBCX OMC1. SHBSC1 is SBCX
host name. SHBSC1 is the hostname planned on site. For the SBCX, whose
hostname is modified after it is delivered to the site, the hostname in the
configuration file should be modified. The contents and sequence of line 127.0.0.1
should be consistent with this line as shown above. Make sure the line of 127.0.0.1
localhost.localdomain
line. If the above contents and sequence are set incorrectly, the Oracle listener
cannot be started, or the version cannot be uploaded.
23
2.3.2
2.
[OK]
Disable xinetd:
3.
[OK]
4.
Modify the service configuration to enable the automatic running of the system.
# chkconfig --level 345 xinetd on
# chkconfig --list xinetd
xinetd
2.3.3
2.3.3.1
24
1.
Log in as the user to access the GUI to the server, and start vncserver. For example,
log in as the gomcr user.
$ vncserver
You will require a password to access your desktops.
Password:
Verify:
gomcr123
gomcr123
If VNC server password is lost, execute the vncpasswd command to modify the
password.
3.
Log in as the gomcr user. Modify the GUI window manager that vnc accesses in the
/home/gomcr/ directory (the main directory of the gomcr user). Reboot the vncserver.
$ vi .vnc/xstartup
Modify twm &
as gnome-session &
$ vncserver -kill :1
(The 1 after the colon mark is the port No. generated after vncserver is executed)
$ vncserver
New 'SHBSC1:1 (gomcr)' desktop is SHBSC1:1
Starting applications specified in /home/gomcr/.vnc/xstartup
Log file is /home/gomcr/.vnc/shbsc1:1.log
(The 1 after the colon mark is the port No. generated after vncserver is executed)
25
4.
Access the system with a VNC tool like utltravnc. Run vncviewer.exe on the PC Client.
Access SBCX server through LAN to perform remote operation. Type VNC server:
10.63.208.200:1 (SBCX server IP, The 1 after the colon mark is the port No. generated
after
vncserver
is
executed,
which
is
shown
in
Log
file
is
2.3.4
Upload the linux_set script and watch dog program, and kernel program to the server
through FTP in bin format.
2.
linux_s et.rar
2.3.5
Watchdog.rar
kernel-s mp-2.6.9-78.0.1.EL.i686.rar
2.
soft nofile
4096
hard nofile
4096
26
Suggestion: Its better to copy the above contents into a file in the system instead of
typing manually.
3.
(blocks, -c) 0
pending signals
(-i) 1024
(kbytes, -l) 32
open files
(-n) 4096
pipe size
(-u) 16251
(kbytes, -v) unlimited
(-x) unlimited
Note:
In the first step, modify the handle limitation in the current system files.
In the second step, restart the system to make the modification valid.
27
2.3.6
If the system language is Chinese (the modification is not required in other languages),
log in as the root user to modify the contents in the /etc/sysconfig/i18n file. The gbk in
red font is the modified content.
# vi /etc/sysconfig/i18n
LANG="zh_CN.gbk"
SUPPORTED="zh_CN.gbk:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="lat0-sun16"
2.3.7
2.
Start vsftpd
# /etc/init.d/vsftpd start
Starting vsftpd for vsftpd:
3.
[OK]
Modify the service configuration to enable the auto running of the system when it is
started.
# chkconfig --level 345 vsftpd on
# chkconfig --list vsftpd
vsftpd
4.
Set FTP tool in the client with the 10021 port. In this case, the data transfer can be
performed.
28
2.3.8
2.
Modify the service configuration to enable the auto running of the firewall when the
system is started.
# chkconfig --level 2345 iptables on
# chkconfig --list iptables
iptables
2.3.9
Setting sendmail
During the system startup, it takes some minutes to process the sendmail service. Because
this service is not used, disable the auto running of the service.
1.
2.4
2.4.1
Test Method
2.4.1.1
29
Note: the network port of the other terminal should be configured with the IP address in the
same subnet.
2.4.2
Test Standard
The IP is reachable. No packet is lost. (Note: The loss of the first ping packet is omitted).
The test should be successful on the three network ports including eth3, eth4, and eth6. Set
inactive for eth0 and the other unused ports.
2.4.3
Troubleshooting
1.
The network port is not activated Reactivate it and then perform the test
2.
RSVB is connected to the wrong network port - Re-connect with the port
3.
4.
Fault occurs on the back plane Change the slot or change the shelf to perform test
5.
6.
The IP of the terminal is not set correctly Set the correct IP, make sure no collision
occurs.
7.
After changing the IP of the port, make sure this port cannot be unblocked or activated
on the Network configuration window. Disable the network adapter with the
corresponding command and then enable the network adapter (ifup eth4:1), so as to
make the new IP address valid.
Take eth4:1 network adapter as an example: (Log in as the root user)
Disable this network adapter: # ifdown eth4:1
Enable this network adapter: # ifup eth4:1
30
3.1
This chapter records all the steps of installing Oracle 10g for Red Hat AS. The steps are
recorded one by one at they are performed. The installation of SBCX board is used as
an example.
2.
For the information not emphasized in this chapter, type the contents after # and $ in
the command terminal (the font in blue should be typed). The highlighted text in grey is
the prompt information and operation information.
3.
For the prompts of the command lines, $ indicates the user oracle, and # indicates
the user root.
3.2
Prerequisites
1.
2.
The installation CD or packet of Oracle 10g is available. In this guide, the Oracle 10g is
installed from the installation package (10201_database_linux32.zip).
3.
SBCX board is powered up. Red Hat is running normally. The cable is correctely
connected to eth3.
31
3.3
3.3.1
Installation Procedure
Preparation
Log in to system as uer oracle, create the temp installation direction, upload the installation
files, configure the parameters, and unzip the installation package.
3.3.1.1
3.3.1.2
3.3.1.3
3.3.1.4
32
2.
sbcx_soft.rsp
3.3.1.5
sbcx_netca.rsp
s bcx_dbca.rs p
oraconfig.pl
33
3.3.2
Execute the script oraconfig.pl as user root, to check and configure the parameters
before the Oracle installation.
$ su
(Input the password of user root)
Password:
# pwd
/home/oracle
# ls
Desktop
failure
directory
failure
kernel
limit
ZTE Confidential Proprietary
success
success
2015 ZTE CORPORATION. All rights reserved.
34
protfile
success
If failure appears in the check result, execute the following command to perform
the configuration.
# perl oraconfig.pl --config
config account
success
3.3.2.1
(Note: To log in to the system once again is to make the newly-configured environment
viarables valid.)
3.3.3
3.3.3.1
35
/oracleapp/oracle/product/10.2.0/root.sh
need to be executed as root for configuring the system.
The installation of Oracle Database 10g was successful
Please check /oracleapp/oracle/logs/silentInstall2006-12-24_11-42-48PM.log for more details
The entire installation process lasts about five minutes. When the prompt of .for more
details appears in the last line, press Enter to return to the shell command line.
3.3.3.2
# . /oracleapp/oracle/product/10.2.0/root.sh
The following environment variables are set as :
ORACLE_OWNER= oracle
ORACLE_HOME= /oracleapp/oracle/product/10.2.0
Enter the full pathname of the local bin directory:[/usr/local/bin]: Enter
# chmod -R o+r,o+x $ORACLE_BASE
3.3.3.3
Creating Listener
Log in to the system as user oracle, and execute the following command.
$ netca /silent /responseFile /home/oracle/sbcx_netca.rsp
Profile configuration complete.
Listener started at port:1521
Oracle Net Listener Startup:
Running Listener Control:
36
3.3.3.4
Note:
The entire creation and installation process lasts about five minutes.
3.3.4
Completion of Installation
When the progress of database instance creation reaches 100% complete, the installation
of Oracle 10g is completed.
37
3.4
Follow-up Checks
When the installation of Oracle 10g is completed, we still need to conduct some checks and
configurations.
3.4.1
38
2.
3.4.2
39
1219160 bytes
40
Variable Size
318768552 bytes
Database Buffers
Redo Buffers
922746880 bytes
15556608 bytes
Database mounted.
Database opened.
3.4.3
$lsnrctl stop
The command completed successfully
2.
$lsnrctl start
Service "gomcr" has 1 instance(s).
Instance "gomcr", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@shbsc1 installtmp]$ pwd
/home/oracle/installtmp
[oracle@shbsc1 installtmp]$ id
uid=501(oracle) gid=502(oinstall) groups=501(dba),502(oinstall)
3.
$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-APR-2008 12:40:35
ZTE Confidential Proprietary
41
LISTENER
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date
08-APR-2008 10:04:43
Uptime
Trace Level
Security
SNMP
off
ON: Local OS Authentication
OFF
/oracleapp/oracle/product/10.2.0/network/log/listener.log
42
3.4.4
4.1
Preparations
Make sure that the operating system and the database have been installed, and passed the
all of the test items.
4.1.1
43
Run the following commands as the oracle user. The expected correct result is that Oracle
service can be connected, started or stopped normally.
$sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 16 14:06:57 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect sys/oracle@gomcr as sysdba;
Connected.
SQL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL>exit
$ sqlplus sys/oracle as sysdba
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning and Data Mining options
SQL> startup
ORACLE instance started.
Total System Global Area 143727516 bytes
Fixed Size
Variable Size
453532 bytes
109051904 bytes
Database Buffers
33554432 bytes
Redo Buffers
667648 bytes
44
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning and Oracle Data Mining options
JServer Release 10.2.0.1.0 Production
4.1.2
4.1.3
Start the command line as the root user, and add the following contents in the
/etc/profile file.
OMCHOME=/home/gomcr/ums-svr
export OMCHOME
PATH=$PATH:/home/gomcr/jdk-linux/bin
export PATH
Note: It is the absolute path of the ums-svr directory, which makes the setup.pl script of the
database find the executable file easily, and the integrated R&B server run the jar command
directly when it starts.
ZTE Confidential Proprietary
45
2.
As the root user, assign the oracle user the read and execution rights for gomcr
installation directory.
As the root user, assign the gomcr user the read and execution rights for the oracle
installation directory.
Note:
This step is used to make the gomcr user have the right to execute the sqlplus command.
4.1.4
4.1.5
# pwd
/home
# mkdir installtmp
# chmod -R 777 /home/installtmp
46
4.1.6
iOMCRV6.XXXXX.zip
package
to
the
temporary
installation
directory
(/home/installtmp) by FTP. Here, take OMCRV6.XXXXX.zip for example, which is the version
package for the SBCX application.
Log onto Linux operating system as the root user; Execute the following commands:
1.
Execute the following command under the /home/installtmp directory to unzip the
package file.
# unzip iOMCRV6.XXXXX.zip
Make install-linux.sh executable with the following command. (install-linux.sh is
generally under the unzipped gsmomcr folder.
4.2
4.2.1
Points of Attention
1.
The user running the installation wizard should have the rights of an administrator. Log
onto the Linux system as the root user.
2.
The path (under which the installing program is saved) does not exceed 80 characters.
It can include English letters, numbers, -, _, and . in DBC case, but it cannot include
other special characters or Chinese characters.
3.
47
4.
Use ZIP compression version under the Windows system, and upload it to Linux by FTP,
and unzip the file. Unzip the file. The Chinese characters in the file name may be
unrecognizable, but which have neither impact on copying the version file nor running
the version file
5.
The output log and database script are under the /tmp/setup-log directory.
6.
Log onto Linux by Xterm. The Chinese characters may be unrecognizable, so please
install zh.GBK character set.
7.
The path of the directory to save the source version cannot be too deep, and its path
cannot exceed 80 characters. It also cannot include Chinese or special characters.
Note:
(The parameter yidong is compulsory during the installation. The default installation path for
the server and the client is /home/gomcr. The destination path to install the database table is
/oracledata/. Type in gomcr for the start user or the start group, and 1024 for the cell size.
The cell size can be reduced if the disk space is not enough. Output log and database script
are under the /tmp/setup-log directory.
Judge whether the SBCX board is the new version or the old version by checking the
disk partition with the command df kh.
Old version of SBCX
Filesystem
/dev/sdb2
4.2.2
Mount point
/
/dev/sda2
/backup
/dev/sda7
/backup
/dev/sdb1
/boot
/dev/sda1
/boot
/dev/sdb6
/home
/dev/sda5
/home
/dev/sda1
/nfsDev
/dev/sda6
/nfsDev
/dev/sdb5
/oracleapp
/dev/sda9
/oracleapp
/dev/sda3
/oracledata
/dev/sda10
/oracledata
Installation Steps
Take installation under the Linux system for example:
1.
48
Run the following command to install NMS applications and database script.
# pwd
/home/installtmp
# ./install-linux.sh yidong
2.
In the Welcome window, select English for English environment, as shown in Figure 4
-4. Click NEXT.
3.
In the license agreement window, select Accept, as shown in Figure 4 -5 Click Next.
49
4.
Select the product. In this example, select English version. Click Next.
50
5.
In the Please Select Product Module window, select Server and Client, and check
before Program, as shown in the following figure. Error: Reference source not
foundClick Next.
51
6.
In the Please select installation path window, select a path (/home/gomcr generally),
as shown in Figure 4 -8 Click Next.
52
7.
The tip window pops up, as shown in the following figure. Click No if backup is
unnecessary.
8.
The Server parameter Configuration window pops up, as shown in the following
figure. Type in the IP address of the SBCX in internal network (generally it is OMP1 IP
address for communication with the OMP. Click Next.
53
9.
The Support OMCB Function window pops up, as shown in the following figure. Type
in the planned IP addresses (IP address of eth4).
54
10. The Database Installation Configuration window pops up, as shown in the following
figure. Select English for the database language. Specify number of cells according to
the space of the hard disk. Generally, it is 1024. Type in the IP address of the SBCX in
external network for the IP address of the database server (it is IP address of eth3
generally); Input gomcr for SID; Input oracle for database system. Keep default
values for others; Click Next.
55
11. The Database Deployment Configuration window pops up, as shown in the following
figure. Error: Reference source not foundSelect Set global table space path for Select
database delopy type; type in /oracledata/ for Tablespace path. For other items, keep
the default values. Click Next.
56
12. The Please View Installation Information window pops up, as shown in the following
figure. Error: Reference source not foundClick Next.
57
13. The Install Application Database Server window pops up, as shown in the following
figure. Chick Next after the installation progress is 100% completed.
58
14. The Install the Application Program window pops up, as shown in the following figure.
Chick Next after the installation progress is 100% completed.
59
15. The Please choose the install scenario window pops up, as shown in the following
figure. Select No for Is a RB splitting version and Is a dual-system respectively. Click
Next. Select No for Is a RB splitting version even it is a splitting version. If it is
necessary to spit OMCR and OMCB, the OMCR related configuration file will be
modified in the RB splitting script.
60
16. The Set the user and group to run the program window pops up. Type in gomcr for
both the user name and group name, as shown in the following figure. Click Next.
61
Figure 4-18 The Window of Setting the User and Group to Run the Program
17. The Config Environment window pops up, as shown in the following figure. Click Next.
62
18. The Setup Finished window pops up. You can check before VIEW README. By
default, it is selected, as shown in the following figure. Click Finish.
63
If the VIEW README window is checked, the VIEW README window pops up, as shown in
the following figure. Click Finish.
64
4.3
4.3.1
4.3.2
65
Set the FTP tool of the Client to use the port 20021. Since the port 21 cannot always be
available for the gomcr user. The FTP server of gomcr needs to be configured with any port
which is number after 1024.
1.
Logon
as
the
gomcr
user,
and
modify
/home/gomcr/ums-svr/deploy/deploy-
gsmomcr01.properties.
$ pwd
/home/gomcr/ums-svr/deploy
$ vi deploy-gsmomcr01.properties
Specify the port for the ftp server
Change userdefined-uep-psl-ftpserver.port=21 into
userdefined-uep-psl-ftpserver.port=20021
Revise SBCXAndOMM=1
2.
Save the mapping rules so that the system will load them when the system starts.
4.3.3
4.3.3.1
Setting ntp
Set ntp so that the OMP can synchronize with the SBCX
Modify/home/gomcr/ums-svr/deploy/deploy-gsmomcr01.properties
as
the
gomcr
user,
66
Save mapping rules as the root user so that the system can load mapping rules when it
gets started/
# iptables-save > /etc/sysconfig/iptables
4.3.3.2
Setting nfs
Set nfs so as to share files with the SBCX Server
1.
As the root user, revise the property of the nfsDev directory into gomcr
# chown -R gomcr:gomcr /nfsDev
2.
Edit /etc/exports
# vi /etc/exports
Add the following:
/nfsDev
*(rw,insecure,sync,no_wdelay,all_squash,anonuid=500,anongid=500)
Note:
Here, anonuid=500 is the uid of the gomcr user, and anongid=500 is group id of the
gomcr user, which can be fetched by the /etc/password file.
3.
[OK]
[OK]
[OK]
[OK]
# /usr/sbin/exportfs
/nfsDev
4.
<world>
4.3.3.3
0:OFF
1: OFF
2: OFF
3:ON
4: ON
5: ON
6: OFF
67
2.
Start nfsdetect
$ cd /home/gomcr/ums-svr/tools/nfsdetect/
$ ./nfsDtctCron
4.3.3.4
2.
Set export EDITOR=vi (Modify the EDITOR environment variable to edit file with the
vi tool)
Execute the following command as the root user:
# export EDITOR=vi
3.
Edit the crontab file, and add the following highlighted (grey) lines in the file:
# crontab -e
OMCHOME=/home/gomcr/ums-svr
13 * * * * $OMCHOME/tools/nfsdetect/nfsDtctCron
28 * * * * $OMCHOME/tools/nfsdetect/nfsDtctCron
43 * * * * $OMCHOME/tools/nfsdetect/nfsDtctCron
58 * * * * $OMCHOME/tools/nfsdetect/nfsDtctCron
Note:
4.3.3.5
1.
Select a path for the OMCHOME variable according to the actual conditions.
2.
Do not damage the existent timed actions in the system and do left blanks.
68
4.3.4
4.3.4.1
/home/gomcr/ums-svr/tools/ibackup/ibackup.conf
Configuration files for the data backup recovery script
2.
/home/gomcr/ums-svr/tools/ibackup/ibackup.pl
69
/home/gomcr/ums-svr/tools/ibackup/irestore.pl
Data recovery script
4.3.4.2
# The directory to save the backup file. The directory can be modified as
required. It is necessary to create the directory manually.
backupdir=/home/gomcr/backup
# Whether to back up the gomcr database table, y-back up, n- not back up
# db includes four data table sets: cm (Configuration table), fm (alarm table),
pm (performance table) and sm (security table)
# db: it can be set as follows:
# db=cm or db=(cm,fm), db=y equals to db=(cm,fm,pm,sm)
ZTE Confidential Proprietary
70
# Generally, it is unnecessary to modify this parameter value. You can set the
value when executing the command.
db=n
# Back up the gomcr configuration file or not; y-back up, n- not back up
cfg=n
# Back up the gomcr version file or not, y-back up, n- not back up
ver=n
# Upload the backup file to the FTP server or not; y-upload, n- not upload
ftp=n
# How many days will be the backup file and the log file kept
retain=7
[ftp]
# FTP server address, IP address: port. Transfer the backup file to another
server, which can be any server that can be accessed by FTP in principle.
Generally, however, it is suggested to select the corresponding Minos server IP
(IP address and port of the M-inos server to transfer the backup file to the Minos
server. It can be modified as required)
ftpserver=10.63.208.209:21110
# User name and password of the FTP server, revise them as required
ftpuser=omc:omc
# The directory to save the backup file of the FTP server, which can be
modified as required. Please note that the 134 directory should be created
manually after logon to the Minos server by telnet
ftpdir=/export/home/omc/backup/134
71
4.3.4.3
ibackup.pl
i.
[ftp=y|n][help=y]
See the Configuration file for parameter meanings. Set the parameter by
ibackup.conf if the parameter is not specified in the command line.
ii.
Examples
Execute the following command as the gomcr user.
Example 1:
Export the configuration file and version file of gomcr:
$perl $OMCHOME/tools/backup/ibackup.pl cfg=y ver=y db=n ftp=n
Example 2
Export gomcr database table and the backup file to the FTP server
$perl $OMCHOME/tools/backup/ibackup.pl cfg=n ver=n db=y
ftp=y
Or:
$perl $OMCHOME/tools/backup/ibackup.pl cfg=n ver=n
db=(cm,fm,pm,sm) ftp=y
Check the ibackup_yyyymmdd.log file to see the result after execution of the script.
2.
irestore.pl
i.
72
Example 1:
Recover the specified backup file
$perl $OMCHOME/tools/backup/irestore.pl
file=/backup/backup20080118101319.tar
The following dumps are available:
fm
pm
sm
Select dump(s) you wish to process (or 'all' to process all dumps)
(default:all,q to quit):
Select the database to be recovered. The backup file includes such data tables as
fm, pm and sm to be backed up. To recover all of the data tables, type in all. To
recover fm and pm, type in fm,pm.
Check the irestore_yyyymmdd.log file to see the result after execution of the script.
4.3.4.4
Remarks
Check current configuration with crontab l. You can check whether the following commands
have been executed successfully by modifying the system time.
1.
Invoke cron
The recovery script should be executed manually, but the backup script can be invoked
by CRON. For auto-backup, you can use crontab e to edit cron timed items. For
example:
$ crontab -e
73
$ crontab -l
Create a directory
The backupdir directory and the ftpdir directory can be created by the backup
script, but it is suggested to create them manually in advance, just in case of
creation failure by the script, which then leads to backup failure. Set correct rights
for reading and writing on the directory.
4.3.4.5
cfg=y db=y
ftp=y
Check
the
/home/gomcr/ums-svr
directory
on
the
SBCX
server
and
the
4.3.5
74
stopall.sh
$ chmod +x stopall.sh
4.3.6
2.
4096
nofile
4096
It is suggest not to modify the file manually, but to copy the following two lines into the system
file instead.
3.
(blocks, -c) 0
pending signals
(-i) 1024
(kbytes, -l) 32
(kbytes, -m) unlimited
75
open files
(-n) 4096
pipe size
cpu time
(-u) 16251
(kbytes, -v) unlimited
file locks
(-x) unlimited
Note:
Step 1: Revise the limit for sentence handlers of the system.
Step 2: Revise the number and restart the system.
4.3.7
Mount point
Mount point
/dev/sdb2
/dev/sda2
/dev/sda2
/backup
/dev/sda7
/backup
/dev/sdb1
/boot
/dev/sda1
/boot
/dev/sdb6
/home
/dev/sda5
/home
/dev/sda1
/nfsDev
/dev/sda6
/nfsDev
/dev/sdb5
/oracleapp
/dev/sda9
/oracleapp
/dev/sda3
/oracledata
/dev/sda10
/oracledata
76
ismg
1. Upload the ismg file from the client to the server by FTP. Copy it and save it as
/etc/init.d/ismg by the cp command as the root user.
2. Execute the following commands as the root user.
# chown root ismg
# chgrp root ismg
# chmod 755 ismg
# ln -s /etc/init.d/ismg
/etc/rc0.d/K10ismg
# ln -s /etc/init.d/ismg
/etc/rc5.d/S99ismg
# ln -s /etc/init.d/ismg /etc/rc5.d/S99ismg
B. For the new SBCX, perform the following steps:
1. Upload the ismg file from the client to the server by FTP. Copy it and save it as
/etc/init.d/ismg by the cp command as the root user.
2. Execute the following commands as the root user.
# chown root ismg
# chgrp root ismg
# chmod 755 ismg
4.4
# ln -s /etc/init.d/ismg
/etc/rc0.d/K10ismg
# ln -s /etc/init.d/ismg
/etc/rc3.d/S99ismg
# ln -s /etc/init.d/ismg
/etc/rc6.d/S99ismg
4.4.1
77
4.4.2
4.4.3
$ vi server-start.log
******************************************************************
UMS-PLATFORM (MX MicroKernel) [V6.10.100d] started.
Spent 0 hour(s) 1 minute(s) 38 second(s)
Copyright(C) (2002-2008). All rights reserved.
4.4.4
78
Log onto the OMP by telnet to check whether nfs of the integrated R&B version is normal.
1.
Log onto the OMP by telnet. Execute the NfsShowState command to check the
link to nfsdetect
MPX86_2->NfsShowState
NFS SVR IP: 129.0.1.1
NFS SVR State: ONLINE
NFS SVR Mount State: OK
Log onto the OMP by telnet, and execute the OmsTxSaveFileShow command to
4.5
$ cd /home/gomcr/ums-svr/bin
$ ./stopall.sh
79
4.5.1
$ ps -ef|grep java
Check whether the main programs of CONSOLE, integrated R&B version, and FTPSERVER
are started normally.
5.1
Preparations
Please perform the following steps before installating integrated OMCR version Client
software.
1.
2.
Check whether the hardware of the server meets the requirement and is in good
condition.
3.
4.
5.2
Installing Client
1.
Copy the directory files jdk-windows and ums-clnt to the destination path to install
the application software of the ISMG Client. Usually the destination is D:\CLIENT\ISMG
on the Client.
80
2.
3.
4.
5.
For
Windows
Operating
System,
D:\CLIENT\ISMG\ums-
execute
5.3
Modifying
(Optional)
Language
Variable
of
the
Client
2.
5.4
icon directly
81
6.1
Preparations
Log onto the SBCX board by Telnet;
Switch to the Oracle user;
Start VNC;
Execute the dbca command;
Configure the database.
# su - oracle
$vi .vnc/xstartup
#!/bin/sh
82
gnome-session&
$ vncserver
New 'SHBSC001:1 (oracle)' desktop is SHBSC001:1
//Port
the
VNC
Client
is
not
available,
we
can
use
the
VNC
program
\ums-
In the GUI interface, log onto the database as the Oracle user, and execute the following
command:
ZTE Confidential Proprietary
83
$dbca
After the command, the following window pops up.
6.2
Installation Procedure
1.
84
2.
85
3.
4.
Make sure Configure the Database with Enterprise Manager is not selected in the
Management Options window.
86
5.
6.
87
7.
before
the
Use
Common
Location
for
All
Database
/oracledata/gomcb.
88
Files
box:
8.
Do not select Specify Flash Recovery Area and Enable Archiving in the Recovery
Configuration window.
89
9.
90
10. In the Initialization Parameters window, select the Memory tab page, check before
Typical, and select 20 for Percentage.
11. In the Initialization Parameters window, select the Character Sets tab page, check
before Choose from the list of character sets, and select ZHS16GBK for Database
Character Set. For other items, keep the default settings.
91
92
93
94
95
96
6.3
97
7.1
7.1.1
Prerequisites
1.
Before the R&B split, the integrated R&B version is running normally; the application of
network interfaces in the system meets the corresponding principles.
eth3 is used as the interface between EMS and OMM Server, OMM Server and
OMM Client;
If the application of the interfaces does not meet the above principles, conduct adjustment
accordingly. Otherwise, the following script should not be used.
2.
One external network IP, which belongs to the same sub-network that contains
the original eth3 IP address. It is used for configuring the eth3:1.
One new OMCB IP, which belongs to the same sub-network that contains the
original eth4 IP address. It is used for configuring the eth4:1.
3.
The R&B split script needs to be executed by user root. We must own the right to user
root.
7.1.2
4.
5.
Implementation Procedure
1.
98
# cd /home/installtmp/
#unzip rb_split.zip
# cd /home/installtmp/rb_split
2.
auxiliary script
dbora
auxiliary script
ismg
auxiliary script
2.1 Pre-check
The script first checks the execution environment. If the environment passes the check, the
script prints:
"PreCheck passed"
Confirm the correctness of the output result, type y to continue the execution; if the result is
not correct, type q to quit the execution and make adjustment accordingly.
If some items fail to pass the check, the script prints:
"PreCheck not passed, correct problems, then run rb_split.sh again.",
In this case, exit the execution of the script, adjust the items (with failures) that previously fail
the check, and execute the rb_split.sh once again.
ZTE Confidential Proprietary
99
Note: Even the OMCB user and OMCB version result in failure in the check, the script still
prints PreCheck passed, This is because the OMCB user and OMCB version are not
created or installed yet at the moment. Therefore, it is normal that the two items fail the
check.
100
101
If the script if run for the second time and Step1 is already completed, the script prints:
"step 1 rb_split_root ip already finished."
And then enters Step2. This situation applies in the following steps in case of re-execution of
script.
102
DATABASE
OMCR
OMCB
30%
20%
DATABASE
OMCR
OMCB
20%
20%
System altered.
ZTE Confidential Proprietary
103
System altered.
System altered.
Database closed.
Database dismounted.
ORACLE instance shut down.
ORACLE instance started.
1271228 bytes
Variable Size
620759620 bytes
Database Buffers
377487360 bytes
Redo Buffers
7114752 bytes
Database mounted.
Database opened.
Modify GOMCR database parameters success
rb_split_oracle gomcr success.
2.2.6 Confirm the R&B integrated version is V6.20.614c or a higher one.
104
If the integrated R&B version is V6.20.614c or a higher one, type y to continue the
execution; otherwise, open a new login window to upgrade the integrated R&B version. After
the version upgrade, return to the window of R&B split script, type y to continue the
execution.
step 6:
Upgrade OMCR version first,and then type 'y' to continue
OMCB
CONSOLE JVM
128M
128M
FTPSERVER JVM
128M
128M
BACKUP JVM
256M
128M
UMS-SVR JVM
1000M
512M
OMCB
CONSOLE JVM
128M
128M
FTPSERVER JVM
128M
128M
BACKUP JVM
256M
128M
UMS-SVR JVM
1400M
1024M
105
step 7:
Current system memory=4G
UMS-SVR JVM=-Xmx1000m
Modify set-jvm.param.sh success
BACKUP JVM=-Xms128m -Xmx256m
Modify backup-linux.sh success
FTPSERVER JVM=$JAVA_OPTS -Xmx128m -Xms64m
Modify ftpserver-linux.sh success
CONSOLE JVM=-Xms64m -Xmx128m
Modify run-linux.sh success
rb_split_gomcr jvm success.
[gomcr]$vi deploy/deploy-gsmomcr01.properties
muep-common-sbcx-type=0
[gomcr]$vi deploy/deploy-999split.properties
ums.systemproperty.com.zte.ums.uep.localaddress=10.63.208.181
eth3 IP address
eth4,eth6 IP address
106
If integrated R&B version is already running, confirm that it can be stopped, and then type y
to continue the execution.
Stop GOMCR version,are you sure? [y|n]: y
......
Stop GOMCR version success
Start GOMCR version success
rb_split_gomcr start success.
107
step 10:
Create group gomcb success
Create user gomcb success
rb_split_root gomcb success.
108
When the independent OMCB version is installed, type y to continue the execution.
OMCB version already installed? [y|n]:
Modify /home/gomcb priviledge success
Modify /home/gomcb owner success
OMCB version installation confirmed.
rb_split_prompt install_omcb_ver success.
109
step 14:
Current system memory=4G
UMS-SVR JVM=-Xmx512m
Modify set-jvm.param.sh success
BACKUP JVM=-Xms64m -Xmx128m
Modify backup-linux.sh success
FTPSERVER JVM=$JAVA_OPTS -Xmx128m -Xms64m
Modify ftpserver-linux.sh success
CONSOLE JVM=-Xms64m -Xmx128m
Modify run-linux.sh success
rb_split_gomcb jvm success.
[gomcb]vi deploy/deploy-030guomcb.properties
muep-common-sbcx-type=1
eth3:1 IP address
ums.systemproperty.com.zte.ums.bind.socket.client.ip=172.29.11.2
eth4:1 IP address
ums.services.bind.multi.local.addresses=172.29.11.2
eth4:1 IP address
110
If GOMCB is realy running, confirm that it can be stopped, and type y to continue the
execution.
Stop GOMCB version,are you sure? [y|n]: y
2010-12-16 13:27:56,668
Stopping result:
----------------------------Stop ums[PID=21936] successfully.
----------------------------Stop ftp[PID=21962] successfully.
----------------------------2010-12-16 13:27:57,051
ZTE Confidential Proprietary
111
3.
The split script runs some checks by itself after its execution. If all the items pass the checks,
the script prints:
"Passed."
********************PostCheck Process**************************
Passed.
The logs of R&B split process are recorded under directory /tmp.
Split process is recorded in the log file /tmp/rb_split_xxxxxxxxx.log.
7.1.3
FAQ
1.
112
Do not execute any of the the four auxiliary scripts independenly. Execute
rb_split.sh only.
2.
3.
4.
Are there any logs genereated during the execution of the script?
No matter the script execution ends in a success or a failure, a log file
rb_split_yyyymmdd.log will be generated under the directory /tmp. The script
prints the full path of the log file.
5.
If eth3:1 and eth4:1 are already configured, will any errors occur during the script
execution?
If the script detects that eth3:1 and eth4:1 are already configured, it displays the
following prompt:
Interface eth3:1 exists(IP=10.62.48.195 NETMASK=255.255.252.0),modify? [y|n]:
If no modifications are needed, type n to accept the existing configuration; if any
modifications are needed, type y to perform modifications.
6.
When a NE agent is created on NetNumen M31 V12, which type should be selected for
the independent OMCB version?
The independent OMCB version (after R&B split) should be created as MEDIATOR NE
agent on the upper-level NetNumen M31 V12.
7.
How do we solve the problem when the execution of R&B split script fails in Step12?
Delete the two lines #SPLIT MODIFICATION BEGIN and #SPLIT MODIFICATION
BEGIN in tnsnames.ora.
113
8.
How do we solve the problem when the execution of R&B split script fails in Step14?
The failure in Step14 is usually caused by an error in the environment viarables. To
solve the problem, we can delete the two lines #SPLIT MODIFICATION BEGIN and
#SPLIT MODIFICATION END in profile. After the deletion, the script execution
returns normal.
7.1.4
Follow-up Checks
7.1.4.1
$pkill -9 java
//Use user gomcb only; the use of user root will terminate the gomcr
process.
pkill: 4273 - Operation not permitted
pkill: 5632 - Operation not permitted
pkill: 5645 - Operation not permitted
$ cd /home/gomcb/ZXGOMCB/ums-svr/bin/
114
7.1.4.2
Check on Auto-start
#cd /etc/init.d
#vi ismg
In case of special on-site environment, the environment viarables GOMCR_HOME
GOMCB_HOME in the script should be modified accordingly.
Modification of Environment Viarables Based on the
Actual Situations
dbora
ORA_HOME=/oracleapp/oracle/product/10.2.0
ORA_OWNER=oracle
GOMCR_SID=gomcr
GOMCB_SID=gomcb
ismg
GOMCR=gomcr
GOMCR_OMCHOME=/home/gomcr/ums-svr
GOMCB=gomcb
GOMCB_OMCHOME=/home/gomcb/ZXGOMCB/ums-svr
Execute the following scripts to check whether the database can be started and applied.
#/etc/init.d/dbora stop
#/etc/init.d/dbora start
#/etc/init.d/ismg stop
#/etc/init.d/ismg start
Finally, reboot the server and check whether it can start automatically.
115
and
7.2
7.2.1
Preparations
As user gomcb, use ftp and bin to upload the software file zxomcb.zip of the
independent OMCB version to /home/installtmp/.
Telnet to the SBCX board, switch to user root, unzip the version file and make it executable.
#su #cd /home/installtmp/
#unzip zxomcb.zip
#chmod -R 755 zxomcb
Start the VNC as user root.
#vi .vnc/xstartup
#!/bin/sh
116
Replace the original text with gnome-session, and save and quit.
#vncserver
New 'SHBSC001:1 (oracle)' desktop is SHBSC001:1
Input and set the password for visiting the VNC service.
Open VNC Client, input IP:Port and the password set previously.
If
the
VNC
Client
is
not
available,
we
can
use
the
VNC
program
\ums-
Open a terminal window in SBCX, and switch to user root to prepare for installing the
independent OMCB version.
117
7.2.2
Installation Procedure
Note: The installation software must be executed by user root only. Otherwise, an error may
orror.
The OMCB version installation procedure is as follows:
1.
Execute install-linux.sh
#cd /home/installtmp/zxomcb
#./install-linux.sh
Enter the window for installing the independent OMCB.
2.
3.
118
Click Next in the above window to enter the User License Agreement window, and then
select Accept.
4.
119
5.
120
6.
121
7.
122
8.
If the selected database is already installed with the product-related data, the following
message box will pop up.
123
This step is to delete the OMCB database installed previously and clear the disk space,
in order to pass the check on disk space.
9.
124
125
126
127
128
129
130
131
132
8.1
Preparation
Before installing the software of the independent OMCB Client, check and
prepare for the following items:
1.
2.
Check whether the hardware of the server meets the requirement and is in
good condition.
3.
4.
8.2
Client Installation
1.
2.
3.
4.
5.
8.3
the
default
setting
(Chinese
language)
is
adopted
8.4
to shut
9.1
Eg: $ls
List the files in the current directory.
ZTE Confidential Proprietary
159
2.
cp: Copy file1 to file2, or copy one or more files to the same names under
directory.
Eg: $man ls
Display the help information of ls.
6.
Eg: $who
List the users who are logged in to the system.
7.
160
Change the mode of file abc to be 700. Only the owner of a file
or a privileged user may change its mode.
10. chown: Change the owner of one or more files to a new owner.
Eg: $pwd
Print the full pathname of the current working directory.
13. tail: Print the last X lines of the named file.
Eg: $date
The current time is printed as follows:
161
Eg: $df -k
Print the free and used disk space in kbyte.
18. du: Print disk usage (as the number of 1KB blocks used by each named
directory and its subdirectories).
162
21. compress/uncompress:
Compress/uncompress
specified
files.
The
Eg: # shutdown -y -g 0 -i 6
Reboot the system.
25. reboot: Close out filesystems, shut down the system, then reboot the
system.
Eg: # reboot
Shut down and reboot the system.Compared with shutdown,
reboot immediately stops all processes, which may cause the
loss of some process data. It is suggested that shutdown be
used to shut down and reboot the system.
26. stop+a: Terminate system operation.
Eg: OKstop+a
163
Eg: $id
uid=1005(omc) gid=10(staff)
Display the information (ID, name) of the current user.
29. passwd: Create or change a password associated with a user name.
164
Eg: $format
The system displays the format menu. With the prompts from
the menu, the user performs operations.
36. prtvtoc/fmthard: Mirror disk partition.
Eg:
prtvtoc
/dev/rdsk/c0t0d0s2
fmthard
-s
/dev/rdsk/c0t1d0s2
Copy the partition table of the system booting disk c0t0d0s2 to
the mirror disk c0t1d0s2.
37. metainit: Create a mirror of one file system.
165
Eg: $lockfs fa
$init 6
lockfs: Redirect the system to mount mirror.
40. metattach: Add the mirror device to the mirror.
166
9.2
9.2.1
2.
$ sqlplus /nolog
3.
Run the following command and connect to the database as user sys.
sql>startup
5.
sql>exit
9.2.2
2.
167
$ sqlplus /nolog
3.
Run the following command and connect to the database as user sys.
sql>connect sys/oracle as sysdba;
4.
cancel the visits from all users, and wait until all the users finish their visit
requests and are disconnected with the server. sql>shutdown
immediate is used to close the database immediately. The SQL
statements being executed are terminated immeditately. The transactions
to be submitted will be rolled back. sql>shutdown
abort is used in
case of emergency when the other two options cannot shut down the
database. When it is used, the SQL statements will be terminated
immediately; but the transactions to be submitted will not be rolled back,
and they will be recovered when the database is started again. For the onsite application, shutdown immediate is recommended.
5.
9.2.3
168
$lsnrctl status
2.
9.3
9.3.1
9.3.1.1
9.3.1.2
169
******************************************************************
UMS-PLATFORM (MX MicroKernel) [V6.10.100d] started.
Spent 0 hour(s) 1 minute(s) 38 second(s)
Copyright(C) (2002-2008). All rights reserved.
******************************************************************
9.3.2
9.3.2.1
9.4
170
9.5
2.
Frequent system halts may occur after Rhel4 is installed. The problem
may be caused by some problem with the display card drive. We can
replace the display card drive with the following method to solve the
problem.
Execute system-config-display as user root. Open the Video Card
Type on the interface, and change ATIES1000 to VESA.
3.
4.
5.
Allocation of SWAP:
For the system with physical memory of (or less than) 2GB, its swap
space should be twice of its physical memory in size. For the extra
memory (the part exceeding 2GB), the swap space should be one time of
the memory. For example, the 4G memory should be allocated with swap
space of 2G*2 + 2G*1=6G. The memory of the current SBCX board is 2G,
and therefore 4G swap space should be allocated to it.
6.
The SBCX installation logs in Linux operating system are saved under:
/root/install.log
7.
Blocked network:
After the SBCX is installed, confirm whether the network is clear. There
are several nework interfaces on SBCX board. The IP configured for each
network card must be consistent with the actual cable connection.
Network blocks are often caused by incorrect cable connection. Test the
171
network in the following way: Plug the cable;Activate the network cards
one by one in turn, and check whether the network is clear. Besides,
check the item activate network card automatically during the system
startup.
8.
9.
Telnet problem:
When telnet is unusuable, we need to first confirm that the telnet
software packet is already installed. If the firewall is enabled, set telnet
to be allowed in it, and then perform the following modifications:
i.
ii.
10
10.1
Note:
ZTE Confidential Proprietary
172
10.2
2.
3.
173
4.
174
10.3
Uninstalling Database
10.3.1
10.3.1.1
On the computer installed with Oracle Server, open the Console, and
execute the backup command in the following format.
$exp username/password@servicename file = bakdir\bakfilename log =
bakdir\bakfilename.log
Type
in
<exp
uep/uep@gomcr
file
expdat.dmp
Note:
ZTE Confidential Proprietary
175
2.
10 -26
Backup Success. The backup data can be used to recover the original
data of the database.
176
10.3.1.2
10.3.1.3
177
2.
178
3.
179
4.
A dialogue box pops up, as shown in Figure 10 -32 Delete the Database.
Click Yes to delete the database.
5.
The window of deletion progress pops up, as shown in Figure 10 -33 The
Database Deletion Progress.
180
6.
When the deletion progress reaches 100%, the following dialogue box
pops up, as shown in Figure 10 -34 Database Deletion Completed.
10.3.1.4
181
2.
182
3.
183
4.
184
5.
When the remove progress reaches 100%, the interface in Figure 10 -36
The Product Inventory appears again. Click Close.
6.
185
11
SN.
Content
Completion State
Remarks
OK
NOT OK
OK
NOT OK
OK
NOT OK
RAID1 configuration
OK
NOT OK
OK
NOT OK
OK
NOT OK
OK
NOT OK
OK
NOT OK
186