vietnam viettel ocs new dcc proxy installation guide

28
Document code Product name Target readers Product version Edited by Document version Vietnam VIETTEL OCS new DCC Proxy installation guide Drafted by: Date: Reviewed by: Date: Reviewed by: Date: Approved by: Date:

Upload: khwanmuang-krueaim

Post on 06-Mar-2015

264 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Document code Product name

Target readers Product version

Edited by Document version

Vietnam VIETTEL OCS new DCC

Proxy installation guide

Drafted by: Date:

Reviewed by: Date:

Reviewed by: Date:

Approved by: Date:

Huawei Technologies Co, Ltd

Page 2: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

All Rights Reserved

Page 3: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guideFor internal use

only

Revision Records

Date Revised version Description Author

Huawei Confidential. No disclosure without permission.

Page 4: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guideFor internal use

only

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.................................................2

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..............................3

1.4 Configuring the SSH Trust Relation.....................................................................................4

1.5 Create volume group and logic volume................................................................................4

1.6 Install DCCsoftware.............................................................................................................8

1.6.1 Installation Preparation..............................................................................................8

1.6.2 DCC Installation.........................................................................................................9

1.6.3 DCC Proxy Configuration Connectivity....................................................................10

Huawei Confidential. No disclosure without permission.

Page 5: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guideFor internal use

only

Keyword:

Summary:

Abbreviation list:

Reference list:

Huawei Confidential. No disclosure without permission.

Page 6: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

1.1 Plan of Node Names and Cluster Names

VXVM and VCS software were installed.

1.1.1 Plan of Node Names

Node name

System name Active node name Standby node name

DCC dcc1 dcc2

1.1.2 Plan of Cluster name

Cluster name

System name Cluster name Cluster ID

DCC_cluster dcccluster 2006

1.2 Plan of Groups and Users

1.2.1 Plan of the Groups and Users of the DCC

To manage and maintain the DCC easily, set the groups and users of the DCC according to

follow table.

Groups and Users of the DCC

group user passwor

d

Shell Type Home directory Usage

enip dcc dcc /usr/bin/csh /enip/enipapp/dcc Installation user and operation user of the DCC.

smdb smdb /usr/bin/csh /enip/enipapp/smdb Installation user and operation user of the

SMDB.

uoa uoa /usr/bin/csh /enip/enipapp/uoa Installation user and operation user of the UOA.

1.2.2 Plan of the Groups and Users of the Informix

Groups and users of the Informix

group user password Shell Type Home directory Usage

informix informix informix /usr/bin/csh /opt/informix Installation user and operation user of the

INFORMIX.

2011-01-11 Huawei Confidential. No disclosure without permission. Page 1 of 20

Page 7: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

1.2.3 Plan of Groups and Users of the iDeploy installation

To manage and maintain the iDeploy installation easily, set the groups and

users of the iDeploy installation according to follow table.

Groups and users of the iDeploy installation

Group Group ID User User ID Password Shell Type Home Directory Usage

usr_ins 1101 usr_ins 1101 usr_ins /usr/bin/ksh /home/usr_ins Installation user user of the

iDeploy.

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。 Volume type is vxfs。

1.3.1 Plan of VG and LV of the DCC Proxy

VG name LV name Mounting point Type Usage

vgdcc1 lvdcc1 /enip/enipapp VXFS Space for installing and running the DCC, SMDB, and

UOA.

vgdcc2 lvdcc2 /enip/enipapp VXFS Space for installing and running the DCC, SMDB, and

UOA.

vgdccshare lvdccshare /enip/dccshare VXFS Space for storing the following files: Configuration files of the DCC

/enip/dccshare/dcc/config

/enip/dccshare/dcc/data/configService

/enip/dccshare/dcc/service/app/servicefile DCC alarm information

/enip/dccshare/dcc/data/oam Files that the UOA dynamically

generates

/enip/dccshare/uoa/data

/enip/dccshare/uoa/alarm

/enip/dccshare/uoa/devicelog

vgsmdbdbfile1 lvsmdbdbfile1 /enip/smdbdbfile VXFS Space for backing up the mirror files of the SMDB of

the active node.

vgsmdbdbfile2 lvsmdbdbfile2 /enip/smdbdbfile VXFS Space for backing up the mirror files of the SMDB of

the standby node.

2011-01-11 Huawei Confidential. No disclosure without permission. Page 2 of 20

Page 8: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

VG name LV name Mounting point Type Usage

vgsmdbhalog1 lvsmdbhalog1 /enip/smdbhalog VXFS Space for storing logical logs of the SMDB of the active

node.

vgsmdbhalog2 lvsmdbhalog2 /enip/smdbhalog VXFS Space for storing logical logs of the SMDB of the

standby node.

vgopt lvopt /enip/opt VXFS Temporary space for operating and maintaining the

data.

1.3.2 Plan of the DCCProxy Two-Node Cluster in Cold Standby Mode

When the DCCProxy two-node cluster is in cold standby mode, the logical diagram of the two-

node cluster is as shown in Figure

Logical diagram of the DCCProxy two-node cluster in cold standby mode

dcc1

磁盘阵列内置磁盘

dcc2

vgopt

vgdccshare

vgsmdbdbfile1

vgdcc1

vgsmdbdbfile2

vgdcc2

vgsmdbhalog2vgsmdbhalog1

The description of the plan is as follows:

2011-01-11 Huawei Confidential. No disclosure without permission. Page 3 of 20

Page 9: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

Deployment and maintenance personnel of iGateway Bill V200R002.

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.

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.

1.4 Configuring the SSH Trust Relation

Need configure the SSH trust relation in the root and informix user

1.5 Create volume group and logic volume

Divided 8 LUN in the disk array, and the 8 LUN mapped to the standby

machine where the DCC host group, and then landing with root user execute

the following command to create the host volume groups and logical volumes:

----primary------------

//Initialize the LUN

fdisk -l

vxdctl enable

cd /etc/vx/bin/

2011-01-11 Huawei Confidential. No disclosure without permission. Page 4 of 20

Page 10: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

/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

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

2011-01-11 Huawei Confidential. No disclosure without permission. Page 5 of 20

Page 11: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

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

//format LV

cd /dev/vx/dsk

ls

cd vgdcc1

mkfs.vxfs lvdcc1

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

2011-01-11 Huawei Confidential. No disclosure without permission. Page 6 of 20

Page 12: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

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

vxdg deport vgdcc2

vxdg deport vgsmdbhalog2

vxdg deport vgsmdbdbfile2

df -k

-------secondary-----------------

fdisk -l

vxdctl enable

vxdg import vgdcc2

vxdg import vgsmdbhalog2

vxdg import vgsmdbdbfile2

vxvol -g vgdcc2 startall

vxvol -g vgsmdbhalog2 startall

vxvol -g vgsmdbdbfile2 startall

mkdir -p /enip

mkdir -p /enip/enipapp

mkdir -p /enip/smdbhalog

mkdir -p /enip/smdbhalogtmp

mkdir -p /enip/smdbdbfile

2011-01-11 Huawei Confidential. No disclosure without permission. Page 7 of 20

Page 13: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

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

1.6 Install DCCsoftware

1.6.1 Installation Preparation

Step 1、Login to the active node to by root user to bind the fioating IP

# ifconfig bond1:0 10.59.7.135 netmask 255.255.255.0 up

Step 2、Informix database client software installed and configured the node

where the connection information sysdb

#vi /etc/hosts

#vi /etc/services

#su – informix

%cd client64/etc

%vi sqlhosts

The following installation using ideploy deployment.

1.6.2 DCC Installation

I. software version preparation

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

2011-01-11 Huawei Confidential. No disclosure without permission. Page 8 of 20

Page 14: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

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

II. DCC install

The installation is to provide ideploy DCC deployment, which has the following

note that the configuration

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

2011-01-11 Huawei Confidential. No disclosure without permission. Page 9 of 20

Page 15: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

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.

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

2011-01-11 Huawei Confidential. No disclosure without permission. Page 10 of 20

Page 16: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

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|

DIAMETER_HOST|DIAMETER_REALM|VERSION|SHAREDB|

PUTIDLEDATAINPDB|RESERVE3|RESERVE4|RESERVE5|RESERVE6|

RESERVE7|RESERVE8|RESERVE9|RESERVE10|

----------------------------------------------------------------------------------

120|0|10.59.7.135|10.59.7.135|dcc120|www.huawei.com|1|0|0|8087|6553|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|

224|0|10.59.7.159|10.59.7.159|cbp224|www.huawei.com|1|0|0|8087|6553|0|0|0|0|0|0|

=====total 9 rows=====

2011-01-11 Huawei Confidential. No disclosure without permission. Page 11 of 20

Page 17: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

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

[HAFileMnger]

#NODE_ID [1,2]

NODE_ID=1(Standby machine is 2)

Modify mdcreateshm.sh file in the bin path

mdspace -sys 512 -data 512 -temp 256

Manually create a memory bank executive mdauto.sh

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:

2011-01-11 Huawei Confidential. No disclosure without permission. Page 12 of 20

Page 18: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

Please enter new password:smdbrun

Re-enter new password:smdbrun

The system displays the follow:

You create user successfully!

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) :

2011-01-11 Huawei Confidential. No disclosure without permission. Page 13 of 20

Page 19: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

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:

You create user successfully!

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

2011-01-11 Huawei Confidential. No disclosure without permission. Page 14 of 20

Page 20: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

#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

%mdstatus –s

If the normal to start the memory database

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

2011-01-11 Huawei Confidential. No disclosure without permission. Page 15 of 20

Page 21: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

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

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 :

2011-01-11 Huawei Confidential. No disclosure without permission. Page 16 of 20

Page 22: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

Communicating with config center ...

Number of records fetched: 25

key23:

ENIP.Individual.DOID://

00000001/00210078/00002EE0/00002EE0.RemoteServiceName

value23:

MsgPreDiamService

key24:

ENIP.Individual.DOID://

00000001/00210078/00002EE0/00002EE0.CountryCode

value24:

84

key25:

ENIP.Individual.DOID://

00000001/00210078/00002EE0/00002EE0.RouteDataType

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

RouteDataType_All_By_SMDB        = 3, // support segment number and

discrete route,The route data get from SMDB

RouteDataType_All_By_SMDBAndENIP = 4  // support segment number and

discrete route,The route data get from SMDB ConfigCenter

If not 2 , you need to manually modify the

2011-01-11 Huawei Confidential. No disclosure without permission. Page 17 of 20

Page 23: Vietnam VIETTEL OCS New DCC Proxy Installation Guide

Vietnam VIETTEL OCS new DCC Proxy installation guide For internal use only

===============================================

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**********************

Enter the key : ENIP.Individual.DOID://00000001/00210078/00002EE0/00002EE0.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 to re-install.

Network installation process directly from the CBP is copied, IP and other

configuration changes.

2011-01-11 Huawei Confidential. No disclosure without permission. Page 18 of 20