Professional Documents
Culture Documents
Vietnam VIETTEL OCS New DCC Proxy Installation Guide
Vietnam VIETTEL OCS New DCC Proxy Installation Guide
Vietnam VIETTEL OCS New DCC Proxy Installation Guide
Revision Records
Date Revised version Description Author
Contents
1.1 Plan of Node Names and Cluster Names ................................ ................................ ..........1 1.1.1 Plan of Node Names ................................ ................................ ............................... 1 1.1.2 Plan of Cluster name................................ ................................ ............................... 1 1.2 Plan of Groups and Users ................................ ................................ ................................ .1 1.2.1 Plan of the Groups and Users of the DCC ................................ ............................... 1 1.2.2 Plan of the Groups and Users of the Informix ................................ .......................... 1 1.2.3 Plan of Groups and Users of the iDeploy installation ................................ ............... 1 1.3 Planning Disks of the DCCProxy Two-Node Cluster in Hot Standby Mode ......................... 2 1.3.1 Plan of VG and LV of the DCC Proxy ................................ ................................ ......2 1.3.2 Plan of the DCCProxy Two-Node Cluster in Cold Standby Mode ............................. 2 1.4 Configuring the SSH Trust Relation ................................ ................................ ................... 4 1.5 Create volume group and logic volume................................ ................................ .............. 4 1.6 Install DCCsoftware ................................ ................................ ................................ ..........7 1.6.1 Installation Preparation ................................ ................................ ........................... 7 1.6.2 DCC Installation ................................ ................................ ................................ ......8 1.6.3 DCC Proxy Configuration Connectivity ................................ ................................ ....9
Keyword:
Summary:
Abbreviation list:
Reference list:
2011-01-10
Page 1 of 17
1.3 Planning Disks of the DCCProxy Two-Node Cluster in Hot Standby Mode
Plan of VG and LV of the DCC Proxy as follow table
/enip/dccshare/dcc/data/oam
/enip/dccshare/uoa/data /enip/dccshare/uoa/alarm /enip/dccshare/uoa/devicelog vgsmdbdbfile1 vgsmdbdbfile2 vgsmdbhalog1 vgsmdbhalog2 vgopt lvsmdbdbfile1 lvsmdbdbfile2 lvsmdbhalog1 lvsmdbhalog2 lvopt /enip/smdbdbfile /enip/smdbdbfile /enip/smdbhalog /enip/smdbhalog /enip/opt VXFS VXFS VXFS VXFS VXFS Space for backing up the mirror files of the SMDB of the active node. Space for backing up the mirror files of the SMDB of the standby node. Space for storing logical logs of the SMDB of the active node. Space for storing logical logs of the SMDB of the standby node. Temporary space for operating and maintaining the data.
2011-01-10
Page 2 of 17
dcc1
dcc
dccs
s dbhal
s dbhal
s dbdbfil
Install the following items in volume group of the built-in disk on the active node and the standby node:
Operating system Cluster software vxvm Script package of the two-node cluster AMOS
Create volume group vgdcc on the active node and the standby node and use it as the space for installing and running the DCCProxy, SMDB, and UOA. Create the shared volume group vgdccshare and use it as the space for storing the DCCProxy alarm information and the dynamically generated UOA files. Create the shared volume group vgsmdbdbfile1 on the active node and use it as the space for backing up mirror files of the SMDB of the active node.
Huawei Confidential. No disclosure without permission. Page 3 of 17
2011-01-10
s dbdbfil
dcc
dcc
Create the shared volume group vgsmdbdbfile2 on the standby node and use it as the space for backing up mirror files of the SMDB of the standby node. Create the shared volume group vgsmdbhalog1 and use it as the space for storing logical logs of the SMDB of the active node. Create the shared volume group vgsmdbhalog2 and use it as the space for storing logical logs of the SMDB of the standby node. Create volume group vgopt and use it as the temporary space for operating and maintaining the data.
----primary-----------//Initialize the LUN fdisk -l vxdctl enable cd /etc/vx/bin/ /etc/vx/bin/vxdisksetup -i sdb /etc/vx/bin/vxdisksetup -i sdc /etc/vx/bin/vxdisksetup -i sdd /etc/vx/bin/vxdisksetup -i sde /etc/vx/bin/vxdisksetup -i sdf /etc/vx/bin/vxdisksetup -i sdh /etc/vx/bin/vxdisksetup -i sdg /etc/vx/bin/vxdisksetup -i sdi
//Create VG vxdg init vgdcc1 vgdcc_01=sdb vxdg init vgdcc2 vgdcc_01=sdc vxdg init vgsmdbdbfile1 vgsmdbdbfile1_01=sdd
2011-01-10 Huawei Confidential. No disclosure without permission. Page 4 of 17
vxdg init vgsmdbdbfile2 vgsmdbdbfile2_01=sde vxdg init vgsmdbhalog1 vgsmdbhalog1_01=sdf vxdg init vgsmdbhalog2 vgsmdbhalog2_01=sdg vxdg init vgdccshare vgdccshare_01=sdh vxdg init vgopt vgopt_01=sdi vxdisk list vxdg list
//Create LV vxassist -g vgdcc1 make lvcbp1 40g vxassist -g vgdcc2 make lvcbp2 40g vxassist -g vgsmdbhalog1 make lvsmdbhalog1 40g vxassist -g vgsmdbhalog2 make lvsmdbhalog2 40g vxassist -g vgsmdbdbfile1 make lvsmdbdbfile1 40g vxassist -g vgsmdbdbfile2 make lvsmdbdbfile2 40g vxassist -g vgcbpshare make lvcbpshare 10g vxassist -g vgopt make lvopt 20g
//Active VG vxvol -g vgdcc1 startall vxvol -g vgdcc2 startall vxvol -g vgsmdbhalog1 startall vxvol -g vgsmdbdbfile1 startall vxvol -g vgsmdbhalog2 startall vxvol -g vgsmdbdbfile2 startall vxvol -g vgdccshare startall vxvol -g vgopt startall
cd ../vgdcc2 mkfs.vxfs lvdcc2 cd ../vgsmdbdbfile1 mkfs.vxfs lvsmdbdbfile1 cd ../vgsmdbdbfile2 mkfs.vxfs lvsmdbdbfile2 cd ../vgsmdbhalog1 mkfs.vxfs lvsmdbhalog1 cd ../vgsmdbhalog2 mkfs.vxfs lvsmdbhalog2 cd ../vgdccshare mkfs.vxfs lvdccshare cd ../vgopt mkfs.vxfs lvopt
//Mount the file system mkdir -p /enip mkdir -p /enip/enipapp mkdir -p /enip/smdbhalog mkdir -p /enip/smdbhalogtmp mkdir -p /enip/smdbdbfile mkdir -p /enip/dccshare mkdir -p /enip/opt mount.vxfs /dev/vx/dsk/vgdcc1/lvdcc1 /enip/enipapp mount.vxfs /dev/vx/dsk/vgsmdbdbfile1/lvsmdbdbfile1 /enip/smdbdbfile mount.vxfs /dev/vx/dsk/vgsmdbhalog1/lvsmdbhalog1 /enip/smdbhalog mount.vxfs /dev/vx/dsk/vgdccshare/lvdccshare /enip/dccshare mount.vxfs /dev/vx/dsk/vgopt/lvopt /enip/opt
-------secondary----------------fdisk -l vxdctl enable vxdg import vgdcc2 vxdg import vgsmdbhalog2 vxdg import vgsmdbdbfile2
mkdir -p /enip mkdir -p /enip/enipapp mkdir -p /enip/smdbhalog mkdir -p /enip/smdbhalogtmp mkdir -p /enip/smdbdbfile mkdir -p /enip/dccshare mkdir -p /enip/opt mount.vxfs /dev/vx/dsk/vgdcc2/lvdcc2 /enip/enipapp mount.vxfs /dev/vx/dsk/vgsmdbdbfile2/lvsmdbdbfile2 /enip/smdbdbfile mount.vxfs /dev/vx/dsk/vgsmdbhalog2/lvsmdbhalog2 /enip/smdbhalog df -k
Step 2 Informix database client software installed and configured the node
where the connection information sysdb #vi /etc/hosts #vi /etc/services
2011-01-10 Huawei Confidential. No disclosure without permission. Page 7 of 17
Be prepared version of the software includes a complete BMP, CBP and DCC installed version, detailed below:
ENIP_V100R003B101_SUSE_KER.tar.gz ENIP_V100R004C10B103_COMPILE_SERVER_RUN_Linux.tar.gz ENIP_V100R004C10B102_BMP_ideploy.tar.gz ENIP_V100R004C10B103_DB_IFX_Linux.tar.gz ENIP_V100R004C10B102_CBP_ideploy.tar.gz ENIP_V100R004C10B103_DCC_RUN_Linux.tar.gz ENIP_V100R004C10B102_DB_ideploy.tar.gz ENIP_V100R004C10B103_SMDB_RUN_Linux.tar.gz ENIP_V100R004C10B102_ideploy.tar UOAV100R001C02B135.RUN.Linux.tar.gz ENIP_V100R004C10B103_BMP_RUN_Linux.tar.gz UOAV100R001C02B135.RUN.update.Linux.tar.gz ENIP_V100R004C10B103_CBP_RUN_Linux.tar.gz UOAV100R001C02B135.SoapOAMLIB.Suse10.tar.gz ENIP_V100R004C10B103_CBP_SDK_Linux.tar.gz
Note: One of DCC Proxy installation requires only four installation package, the other version does not require installation, but configuration in ideploy find these versions if no error, can not continue the installation.
ENIP_V100R004C10B102_CBP_ideploy.tar.gz ENIP_V100R004C10B103_DCC_RUN_Linux.tar.gz ENIP_V100R004C10B103_SMDB_RUN_Linux.tar.gz UOAV100R001C02B135.RUN.Linux.tar.gz
2011-01-10 Huawei Confidential. No disclosure without permission. Page 8 of 17
1, configure the host node in the ideploy have to configure the bmp / cbp / bmpdb / cbpdb, but scp no need. 2, the node configuration in the NE need to configure all of the bmp / cbp / sysdb / userdb / cbpdb, otherwise no need to continue .
3, the above configuration information must be true, it is DCC ready access to the environment.
4, start the configuration of each network element is the last choice offline state, to avoid affecting the existing network;
5, DCC installation, pay attention to only select the node, and the remaining nodes must not choose;
6, after the installation need to manually create a memory database, see the platform specific installation instructions for operation
1.6.3 DCC Proxy Configuration Connectivity
Step1 Modify icdcomm.cfg file 1)Login DCC actice node by dcc user, in the $ HOME / config / icdcomm.cfg config file add the following values: ICDTCPMYIP ( The configuration item value corresponds to the floating node IP DCC) IDMAPCERNTERIP ( The configuration item value corresponds to the floating node IP DCC) ServerPort[IP] ( Here [] nodes in the floating IP for the BMP IP, port for the BMP master node $ HOME / config / icdcomm.cfg file ICDTCPPORT corresponding value) 2)Login BMP node by bmp user in the $HOME/config/icdcomm.cfgconfig file add the following values ServerPort[IP] (Here []nodes in the floating Ipfor the DCC IP port for DCC $HOME/config/icdcomm.cfg file ICDTCPPORT corresponding value)
Note: DCC file under icdcomm.cfg already installed, do not need to manually add.
2011-01-10 Huawei Confidential. No disclosure without permission. Page 9 of 17
Step2 Modify DomainConfig.xml file Login BMP node by bmp user in the $HOME/data/idlproxy/DomainConfig.xml config file add the following values <domain id="33" name="DCC120" proxyIP="10.59.7.135"/> ServerPort[IP] (here[]nodes in the floating IP for the DCC IP port for the DCC node $HOME/config/icdcomm.cfgfile ICDTCPPORT corresponding value) ServerPort[10.59.7.135]=8888 Login CBP node by cbp user in the $HOME/data/idlproxy/DomainConfig.xml config file add the following values <domain id="33" name="DCC120" proxyIP="10.59.7.135"/>
Domain id consistent with node.cfg configuration; consistent with node.cfg configuration name;
Note: Modify idlproxy, need to re -ENIP to take effect. Restart bmp / cbp / dcc node ENIP process steps
Step3 Insert int dcc node data to cbp_node table In sysdb insert a new dcc node, inserted the following results, of which 120 is the DCC Proxy node: admin#dbsql> select * from cbp_node; CBP_NODE|NODETYPE|PRIMARYFLOATIP|SECONDARYFLOATIP|DIAME TER_HOST|DIAMETER_REALM|VERSION|SHAREDB|PUTIDLEDATAINPD B|RESERVE3|RESERVE4|RESERVE5|RESERVE6|RESERVE7|RESERVE8| RESERVE9|RESERVE10| ---------------------------------------------------------------------------------120|0|10.59.7.135|10.59.7.135|dcc120|www.huawei.com|1|0| |8087|6553|0|0|0|0|0|0| 0 121|0|10.59.7.136|10.59.7.136|cbp121|www.huawei.com|1|0|0|8087|6553|0|0|0|0|0|0| 122|0|10.59.7.137|10.59.7.137|cbp122|www.huawei.com|1|0|0|8087|6553|0|0|0|0|0|0| 123|0|10.59.7.138|10.59.7.138|cbp123|www.huawei.com|1|0|0|8087|6553|0|0|0|0|0|0| 124|0|10.59.7.139|10.59.7.139|cbp124|www.huawei.com|1|0|0|8087|6553|0|0|0|0|0|0| 221|0|10.59.7.156|10.59.7.156|cbp221|www.huawei.com|1|0|0|8087|6553|0|0|0|0|0|0| 222|0|10.59.7.157|10.59.7.157|cbp222|www.huawei.com|1|0|0|8087|6553|0|0|0|0|0|0| 223|0|10.59.7.158|10.59.7.158|cbp223|www.huawei.com|1|0|0|8087|6553|0|0|0|0|0|0|
2011-01-10 Huawei Confidential. No disclosure without permission. Page 10 of 17
Step4 Create Memory Database Login DCC active node by smdb user modify smdb_config.cfgfile MaxMemSize = 4096 DCC's board as the new Vietnam, the memory is only 8G, so there are not too large for configuration
Modify mdcreateshm.sh file in the bin path mdspace -sys 512 -data 512 -temp 256
Step5 SMDB control permissions to create users Login DCC active node by smdb user Login SMDB database smdb% mdsql ******************************************************************************* Welcome to SMDB mdsql V100R001C01B073 ! ******************************************************************************* Please input sql (input 'q/quit' exit program) : admin#dbsql> Input create user smdbrun admin#dbsql> create user smdbrun After following the system prompts for the password : Please enter new password:smdbrun Re-enter new password:smdbrun The system displays the follow : You create user successfully!
2011-01-10
Page 11 of 17
Please input sql (input 'q/quit' exit program) : admin#dbsql> Input grant connect to smdbrun; admin#dbsql> grant connect to smdbrun; The system displays the follow : You grant connect to user successfully!
Please input sql (input 'q/quit' exit program) : admin#dbsql> Input create user smdbdba; admin#dbsql> create user smdbdba; After following the system prompts for the password : Please enter new password:manager Re-enter new password:manager The system displays the follow : You create user successfully!
Please input sql (input 'q/quit' exit program) : admin#dbsql> Input grant resource to smdbdba; admin#dbsql> grant resource to smdbdba; The system displays the follow : You grant resource to user successfully!
Please input sql (input 'q/quit' exit program) : admin#dbsql> Input create user dcc admin#dbsql> create user dcc After following the system prompts for the password : Please enter new password: dcc Re-enter new password: dcc The system displays the follow :
2011-01-10 Huawei Confidential. No disclosure without permission. Page 12 of 17
Please input sql (input 'q/quit' exit program) : admin#dbsql> Input grant resource to dcc admin#dbsql> grant resource to dcc The system displays the follow : You grant resource to user successfully!
Please input sql (input 'q/quit' exit program) : admin#dbsql> Exit SMDB database admin#dbsql> quit
Step6 Create SMDB database in the standby node Operation in the active node #su smdb %cd /enip/opt/smdbbak %mdbackup b ./ Deport vgopt #umount /enip/opt #vxdg deport vgopt
Operation in the standby node Get and active vgopt and mount opt file system #vxdg import vgopt #vxvol g vgopt startall #mount.vxfs /dev/vx/dsk/vgopt/lvopt /enip/opt Restore memory database in the standby node #su smdb %cd /enip/opt/smdbbak % mdrestore m secondary d ./ -l redolog check
2011-01-10 Huawei Confidential. No disclosure without permission. Page 13 of 17
Step6 Data from the system database synchronization system The following tables need to synchronize TS_MOBILENOROUTE TS_MOBILENOSEGROUT CBP_Node CBP_Inter_Node CtrlParameterTBl TS_TimeZone TB_BMP2CBPLog CONNECTINFO ConstantTbl BatchCPUCtrl DBTABLE_DICT DBFIELD_DICT MEMDBINDEX_DICT TAG_DICT CODE_DICT CTRLPARAMETERI2000 DATAFILEOFTASK
Step7 Modify the configuration center configuration Execute configadm into config center <102 dcc1 [dcc] :/enip/enipapp/dcc>configadm =============================================== ENIP config admin: Main =============================================== [1] Key-value config data operations [2] Config table operations [3] Backup-Restore operations [0] Exit
2011-01-10 Huawei Confidential. No disclosure without permission. Page 14 of 17
Please select option :1 =============================================== ENIP config admin: Main > Key-value config data =============================================== [1] Add config item [2] Delete config item [3] Delete config item tree [4] Update config item [5] Read Item [6] Read values [7] Load values from file [0] Previous menu
Please select option :6 **********************Read values********************** Enter the key : ENIP Do you want to write the records to a file? Press "y" to confirm, any other key to cancel : Communicating with config center ... Number of records fetched: 25
2011-01-10
Page 15 of 17
key25: ENIP.Individual.DOID://00000001/00210078/00002EE0/00002EE0.RouteDat aType value25: 2 Note that the value is 2 RouteDataType RouteDataType_Default = 0, //Default type That is not supported by
discrete routing number or segment number RouteDataType_Interzone_By_ENIP = 1, //only support segment number soute The route data get from ConfigCenter
RouteDataType_Disperse_By_SMDB = 2, // only support segment number soute The route data get from SMDB = 3, // support segment number and
RouteDataType_All_By_SMDBAndENIP = 4 // support segment number and discrete route The route data get from SMDB ConfigCenter
=============================================== ENIP config admin: Main > Key-value config data =============================================== [1] Add config item [2] Delete config item [3] Delete config item tree [4] Update config item [5] Read Item [6] Read values [7] Load values from file [0] Previous menu Please select option :4 **********************Update config item**********************
2011-01-10
Page 16 of 17
Enter the key : ENIP.Individual.DOID://00000001 /00210078/00002EE0/00002E E0.RouteDataType Enter the value : 2 Communicating with config center ... Update item success
Step8 UOA configuration UOA deployed in front of ideploy version do not match the existing network, need configuration changes. to re-install. Network installation process directly from the CBP is copied, IP and other
2011-01-10
Page 17 of 17