01-G TM R&B Split Operation R1.0
-
Upload
prashant-mara -
Category
Documents
-
view
225 -
download
0
Transcript of 01-G TM R&B Split Operation R1.0
-
7/25/2019 01-G TM R&B Split Operation R1.0
1/37
Internal Use Only
R&B Split Operation
Applicable to Staff with Skill Certificate Level II or Lower
Released by U !rod"ct S"pport #ept$
-
7/25/2019 01-G TM R&B Split Operation R1.0
2/37
Internal Use Only
%ersion Introd"ction
References:
$ '( )*' IS+ Board Server ,SBC*- Co..issionin/ "ide ,!rofessional-%0$1$doc
%ersion #ate A"thor Checked by A.end.ent Record
R$' 1'2'12' Chen Qi *** 3irst p"blished
-
7/25/2019 01-G TM R&B Split Operation R1.0
3/37
Internal Use Only
Co"rse Ob4ectives5
6o "nderstand the version knowled/e and back/ro"nd
of R&B split
6o know the preparation for R&B split
6o .aster the operation of R&B split
6o "nderstand R&B split scripts
-
7/25/2019 01-G TM R&B Split Operation R1.0
4/37
Internal Use Only
Contents
Introduction to R&B Split
Preparation for R&B Split
Operation of R&B Split
-
7/25/2019 01-G TM R&B Split Operation R1.0
5/37
Internal Use Only
Introd"ction to R&B Split7Basic Concepts
R&B Inte/rated %ersion R&B inte/rated version refers to one set of software that inte/rates the f"nctions of O+CR and O+CB8 the O+CB part .ana/es S#R%9$'' series$ 3or e:a.ple5 iO+CR%;$1'$;9c2O+CB%9$''$1''.$
O+CB %ersion
O+CB version refers to the software that only has the f"nction of O+CB$ 3or e:a.ple< )*O+CB%9$'=$1$'>$
6ransfor.ation to R&B Split I.prove the SBC* that is only installed with iO+CR%;$1'$; R&B inte/rat
ed version8 install both R&B inte/rated version and O+CB version on the sa.e SBC*$
After the transfor.ation< the followin/ i.prove.ents can be reali?ed5@ +ana/e.ent of S#R9$'= series8
@ #eco"plin/ of S#R version and iBSC version< synchrono"s "p/rade of O+CB and S#R< synchrono"s "p/rade of O+CR and iBSC$
-
7/25/2019 01-G TM R&B Split Operation R1.0
6/37
Internal Use OnlyIntrod"ction to R&B Split7Str"ct"re of R&B Split
-
7/25/2019 01-G TM R&B Split Operation R1.0
7/37
Internal Use Only
Contents
Introduction to R&B Split
Preparation for R&B Split
Operation of R&B Split
-
7/25/2019 01-G TM R&B Split Operation R1.0
8/37
Internal Use Only!reparation for R&B Split7Reso"rce Allocation Application pro/ra. & "ser5 R&B inte/rated version and O+CB
version respectively "se their own "ser$ 6heir application pro/ra.s sho"ld be respectively installed "nder their "ser directory$ R&B inte/rated version5 "ser2/o.cr< installation directory2 ho.e/o.cr O+CB version5 "ser2 /o.cb< installation directory2 ho.e/o.cb)*O+CB
#atabase instance5 R&B inte/rated version and O+CB version "
se their own database instance$ Instance na.e of R&B inte/rated version5 /o.cr Instance na.e of O+CB version5 /o.cb
#isk5 #isk partition re.ains "nchan/ed8 the stora/e paths for database table space files are different$
R&B inte/rated version5 oracledata/o.cr ,ote5 In the ori/inal installation environ.ent the data files .ay be stored "nder oracledata;+ 1E+
U+S2S%R %+ 9''+ '19+
Distribution ofG
R&BCombinedVersion
OMCBversion
#atabaseinstance
1'F 1'F
COSOLD %+ 1E+ 1E+
36!SDR%DR
%+
1E+ 1E+
BACGU! %+ 1>;+ 1E+
U+S2S%R %+ '''+ >1+
-
7/25/2019 01-G TM R&B Split Operation R1.0
10/37
Internal Use Only!reparation for R&B Split7Reso"rce Allocation 0
C!U5 R&B inte/rated version and O+CB version share theC!U reso"rce$
etwork5 R&B inte/rated version and O+CB version shareone physical interface< b"t "se different I! addresses$
-
7/25/2019 01-G TM R&B Split Operation R1.0
11/37
Internal Use Only!reparation for R&B Split7Reso"rce Allocation 9
etwork card of R&B inte/rated version
etwork card of O+CB version
!et"or# card Remar#s Instance of IP address
eth0 6he I! for the co.."nication with D+Sand the Client of R&B inte/ratedversion$
'$1E$9$110
eth9 6he I! for the co.."nication with
%9$'' series base stations$
(1$0'$0$1>9
eth; 6he I! for the co.."nication with O+!
!et"or# card Remar#s Instance of IP address
eth05 6he I! for the co.."nication with D+Sand the Client of O+CB version$ '$1E$9$10
eth95 6he I! for the co.."nication with %9$'=series base stations$
(1$0'$0$1>0
Note: The newly-added ! address of "#$B version and the ori%inal
address should be in the same sub-networ.
-
7/25/2019 01-G TM R&B Split Operation R1.0
12/37
Internal Use Only!reparation for R&B Split7Other !rereH"isites
Before the transfor.ation to R&B split< the R&B inte/rated version is reH"ired to be "p/raded to iO+CR%;$1'$;9c2O+CB%9$''$1''. of the later version$
Before the transfor.ation to R&B split< the appropriate networkcards ."st be adopted accordin/ to the SBC* installation speci
fications8 "se eth0 for e:ternal network< eth9 for O+CB channel< and eth; for internal network $ +ake ad4"st.ents< if the threenetwork cards are not adopted$
Before the transfor.ation< eth95 and eth05 I! addresses areobtained< and they sho"ld in the sa.e s"b2network with the ori
/inal network card$ Before the transfor.ation< +inos is "p/raded to D+S%1$ 6he password of root "ser sho"ld be obtained$
-
7/25/2019 01-G TM R&B Split Operation R1.0
13/37
Internal Use Only
Contents
Introduction to R&B Split
Preparation for R&B Split
Operation of R&B Split
-
7/25/2019 01-G TM R&B Split Operation R1.0
14/37
Internal Use OnlyOperation of R&B Split7Installation of O+CB%ersion #atabase Instances Install the database instances of O+CB version accordin/ to the Co.
.issionin/ "ide$ Installation .ethod5 Lo/ in to %C with "ser Oracle< r"n dbca< select C
reate #atabase$ Relevant para.eters5
#atabase .ode5 transaction processin/ #atabase instance na.e5 /o.cb #ata file stora/e path5 oracledata/o.cb +e.ory5 9 1'F E 1'F
Sec"rity check5
e:port ORACLDJSI#K/o.cb
sHlpl"s sysoralce as sysdba
SLM sh"tdown i..ediate
SLM start"p
SLM H"it
lsnrctl stop
lsnrctl start
-
7/25/2019 01-G TM R&B Split Operation R1.0
15/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation
Upload and "n?ip R&B split script2 rbJsplit$?ip Uploadin/ path5 ho.einstallt.pRBJsplit Un?ip script5 "n?ip rbJsplit$?ip 6he script is co.posed of5
rbJsplit$sh @.ain script for the R&B split rbJsplitJ/o.cb$sh @.odifyin/ para.eters related to O+CB version rbJsplitJ/o.cr$sh @.odifyin/ para.eters related to R&B inte/rated versi
on rbJsplitJoracle$sh @.odifyin/ para.eters related to Oracle database inst
ances rbJsplitJroot$sh @.odifyin/ para.eters related to the "ser and environ.
ent dbora @database a"to2start script is./ @application pro/ra. a"to2start script
R"n the script R"n the script with "ser root5 NrootPsh rbJsplit$sh
-
7/25/2019 01-G TM R&B Split Operation R1.0
16/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation 1
!re2check the script e:ec"tion !rint of failed check5 !reCheck not passed>$1>>$1>>$'-
Checkin/ interface eth9$$$s"ccess,I! (1$1=$$ D6+ASG 1>>$1>>$1>>$'-
Checkin/ interface eth;$$$s"ccess,I! (1$1'$$$ D6+ASG 1>>$1>>$1>>$'-
!reCheck passed$
Confir. variables
-
7/25/2019 01-G TM R&B Split Operation R1.0
17/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation 0
etwork card settin/ 5 Accordin/ to the I! plannin/< inp"t the I! addresses of eth05 and eth95$ Interface eth05 I!5 '$;0$1'E$10> Interface eth95 I!5 (1$1=$$1
6he print of s"ccessf"l network card settin/5 Create interface eth05 s"ccess
Brin/ "p interface eth05 s"ccess
+odify etchosts s"ccess
Create interface eth95 s"ccess
Brin/ "p interface eth95 s"ccess
3ile etchost$conf already confi/"red
rbJsplitJroot ip s"ccess$
Relevant confi/"ration files5 etcsysconfi/network2scriptseth05 etcsysconfi/network2scriptseth95 etchost$conf etchosts
-
7/25/2019 01-G TM R&B Split Operation R1.0
18/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation 9
etwork card settin/ 15 instances of confi/"ration files etcsysconfi/network2scriptseth05
#D%ICDKeth05
BOO6!RO6OKnone
BROA#CAS6K'$;0$1'E$1>>
TA##RK''5=5C;50D5;E5AC
I!A##RK'$;0$1'E$10
D6+ASGK1>>$1>>$1>>$'
D6TORGK'$;0$1'E$'OBOO6Kyes
6!DKDthernet
USDRC6LKno
I!%;II6Kno
!DDR#SKyes
A6DTAK'$;0$1'E$1>9
etchost$conforder hosts
-
7/25/2019 01-G TM R&B Split Operation R1.0
19/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation > 6! serversettin/5 After the transfor.ation to R&B split< the 6! serve
r attached to the O++ pro/ra. will be stopped< and the 6! server attached to the operation syste. will be started$ +odify iptables server< and cancel the port .appin/ fro. 1'10 to 10$
+odify etcsysconfi/iptables s"ccess
Restart iptables s"ccess
Inp"t D+SI! as the 6! server I!< co.plete the settin/s of 6! client and server< an
d start 6!# server$Upper 6! Server I!K'$;1$''$9>
-
7/25/2019 01-G TM R&B Split Operation R1.0
20/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation ; +odify etcprofile
o infor.ation needs to be inp"t in this step$ 6he pro.pt of s"ccessf"l .odification ofetcprofile is shown below5
+odify etcprofile s"ccess
rbJsplitJroot profile s"ccess$
An instance of etcprofile is as follows5PS!LI6 +O#I3ICA6IO BDI
ORACLDJBASDKoracleapporacle
ORACLDJO+DKoracleapporacleprod"ct'$1$'
LSJLAKA+DRICAJA+DRICA$)S;BG
if N XUSDRX K X/o.cbX 8 then
ORACLDJSI#K/o.cb
O+CO+DKho.e/o.cb)*O+CB".s2svr P/o.cb installation path is fi:ed8 the f"t"re /o.cb installation path shall be consistent$
else
ORACLDJSI#K/o.cr O+CO+DKho.e/o.cr?:/o.cr".s2svr P/o.cr installation path is a"to.aticallyacH"ired fro. th
e c"rrent environ.ent variables$
fi
!A6K!A65bin5"srbin5sbin5"srsbin5"srlocalsbin5ORACLDJO+Dbin5O+CO+Dbin5O+CO+D$$4dk2lin":bin
e:port ORACLDJSI# ORACLDJBASD ORACLDJO+D LSJLA !A6 O+CO+D
PS!LI6 +O#I3ICA6IO D#
-
7/25/2019 01-G TM R&B Split Operation R1.0
21/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation (
Stop R&B inte/rated versionStop O+CR version$ After confir.ation< inp"t YyZ to contin"e the e:ec"tion of the script$
Stop O+CR version=;1' bytes #atabase B"ffers 0((9E(0;' bytes
Redo B"ffers (9(>1 bytes
#atabase .o"nted$
#atabase opened$
+odify O+CR database para.eters s"ccess
rbJsplitJoracle /o.cr s"ccess$
-
7/25/2019 01-G TM R&B Split Operation R1.0
22/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation E Confir. that R&B inte/rated versi
on is one of % ;$1'$; series Then the O+CR inte/rated version is one
of %;$1'$;:: series< inp"t YyZ to contin"e the e:ec"tion8 otherwise< open a new lo/in window< and "p/rade O+CR version$ After the "p/rade is co.pleted< ret"rn to the e:e
c"tion window of R&B split script< and inp"t YyZ to contin"e the e:ec"tion$
step ;5
Up/rade O+CR version first;.
+odify back"p2lin":$sh s"ccess
36!SDR%DR %+KA%AJO!6S2*.:1E. 2*.s;9.
+odify ftpserver2lin":$sh s"ccess COSOLD %+K2*.s;9. 2*.:1E.
+odify r"n2lin":$sh s"ccess
rbJsplitJ/o.cr 4v. s"ccess$
-
7/25/2019 01-G TM R&B Split Operation R1.0
23/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation =
+odify the I! address bindin/ of R&B inte/rated version +odification of the followin/ version files is co.pleted in this step$ ".s2svrdeploydeploy2''."ep$properties
."ep2install2issplitK represents R&B split ".s2svrdeploydeploy2/s.o.cr'$properties
."ep2co..on2sbc:2typeK' represents R&B inte/rated version in R&B split process
"serdefined2"ep2psl2clocksync$portK' .eans that 6! server is not to be started ".s2svrdeploydeploy2===split$properties
".s$syste.property$co.$?te$".s$"ep$localaddressK'$;0$1'E$E eth0 I! address
".s$syste.property$co.$?te$".s$bind$socket$client$ipK1E$'$0'$E eth9 I! address
".s$services$bind$."lti$local$addressesK1E$'$0'$E< 1=$'$'$0 eth9
-
7/25/2019 01-G TM R&B Split Operation R1.0
24/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation ' Start R&B inte/rated version5 6he script a"to.atically starts R&
B inte/rated version$ 6he e:ec"tion of the script is as follows5O+CR version is r"nnin/
-
7/25/2019 01-G TM R&B Split Operation R1.0
25/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation Create /o.cb database instance
As /o.cb database instance is created previo"sly< inp"t YyZ and contin"ethe e:ec"tion of the script$ 6he e:ec"tion process is shown below5
Install O+CB database first
-
7/25/2019 01-G TM R&B Split Operation R1.0
26/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation 1 Install O+CB version
C"rrently the installation script of O+CB version is not available$ Open a new lo/in window$
Install the server with O+CB version accordin/ to the Co..issionin/"ide$
Install O+CB version first< and then type y to contin"e$
O+CB version already installedV NyWn5 #o not fill it in i..ediately$ Install O+CB version first in a new window< and then ret"rn to fill it in$
-
7/25/2019 01-G TM R&B Split Operation R1.0
27/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation 0 Gey points in O+CB version installation5
Use "ser root< and install thro"/h vnc$ Install O+CB version at both the server end and the client end$ It ."st be installed "nder the path5 ho.e/o.cb)*O+CB< beca"se the environ
.ent variables in profile adopt the fi:ed val"es$ Choose the I! address of eth05 as the database I! address$
Choose [s.all .ode\ as the database installation .ode$ 6he database installation path is5 oracledata/o.cb$ O+CB server address is eth95 address$ 6he .ain clock address is eth05$ Set RB Split with [es\$
After O+CB version installation< ret"rn to the ori/inal e:ec"tion windo
w$ +odify ho.e/o.cb priviled/e s"ccess
+odify ho.e/o.cb owner s"ccess
O+CB version installation confir.ed$
rbJsplitJpro.pt installJo.cbJver s"ccess$
-
7/25/2019 01-G TM R&B Split Operation R1.0
28/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation 9
+odify the %+ para.eters of O+CB version Accordin/ to the c"rrent .e.ory stat"s< the script a"to.atically
.odifies the %+ para.eters$C"rrent syste. .e.oryK9
U+S2S%R %+K2*.:>1.
+odify set24v.$para.$sh s"ccess
BACGU! %+K2*.s;9. @*.:1E. +odify back"p2lin":$sh s"ccess
36!SDR%DR %+KA%AJO!6S 2*.:1E. 2*.s;9.
+odify ftpserver2lin":$sh s"ccess
COSOLD %+K2*.s;9. 2*.:1E.
+odify r"n2lin":$sh s"ccess
rbJsplitJ/o.cb 4v. s"ccess$
-
7/25/2019 01-G TM R&B Split Operation R1.0
29/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation > +odify the I! address bindin/ of O+CB version +odification of the followin/ O+CB version files is co.pleted in this step$
".s2svrdeploydeploy2''."ep$properties
."ep2install2issplitK represents R&B split ".s2svrdeploy deploy2'0'/"o.cb$properties
."ep2co..on2sbc:2typeK represents R&B inte/rated version in R&B split process ".s2svrdeploydeploy2===split$properties
".s$syste.property$co.$?te$".s$"ep$localaddressK'$;0$1'E$ 10> eth05 I! address".s$syste.property$co.$?te$".s$bind$socket$client$ipK (1$1=$$1 eth9 5I! address
".s$services$bind$."lti$local$addressesK (1$1=$$1 eth95 I! address ".s2svrdeploydeploy2defa"ltproperties
"serdefined2"ep2psl2clocksync$portK' .eans that adopted 6! server is not to be started
6he .odification process is as follows53ile deploy2''."ep$properties already confi/"red+odify deploy2'0'/"o.cb$properties s"ccess
+odify deploy2===split$properties s"ccess
rbJsplitJ/o.cb ip s"ccess$
-
7/25/2019 01-G TM R&B Split Operation R1.0
30/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation ; Start O+CB version 6he script a"to.atically starts O+CB version$ 6he e:ec"tion of the script is as
follows5O+CB version is r"nnin/
-
7/25/2019 01-G TM R&B Split Operation R1.0
31/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation ( Set database instances and a"to2start of R&B inte/rated versionO+C
B version 6he script a"to.atically sets database instances and a"to2start of R&B inte/rated ver
sionO+CB version$ 6he script e:ec"tion process is as follows5 rbJsplitJroot a"tostart s"ccess$
6he detailed operation is shown below5 Back "p the ori/inal dborafile and ism'file "nder etcinit$d$ Based on the act"al sit"ation of the eH"ip.ent< .ake appropriate .odifications to t
he new dborafile and ism'file$ Copy the new dborafile and ism'file to "nder etcinit$d$ In etcrc'$d and etcrc;$d< create the links for closin/ the database and the applica
tion pro/ra.$ lrw:rw:rw: root root ( Sep$' 059= G'dbora 2M etcinit$ddbora lrw:rw:rw: root root ; Sep$ 5> G'is./ 2M etcinit$dis./
In etcrc0$d etcrc>$d< create the links for startin/ the database and the application pro/ra.$
lrw:rw:rw: root root ( Sep$ ' 159; S==dbora 2M etcinit$ddbora lrw:rw:rw: root root ; Sep$ ' 159; S==is./ 2M etcinit$dis./
-
7/25/2019 01-G TM R&B Split Operation R1.0
32/37
Internal Use OnlyOperation of R&B Split7O+CB%ersion Installation E !ost2R&B split check !erfor. a check after R&B split is co.pleted$ If the split is s"ccessf"l< it prints5
X!assed$X
QQQQQQQQQQQQQQQQQQQQ!ostCheck !rocessQQQQQQQQQQQQQQQQQQQQQQQQQQ
!assed$
Split process recorded in lo/ file t.prbJsplitJ:::::::::$lo/
6he process files of R&B split 6he process files are saved "nder t.p$ R"nnin/ lo/ file rbJsplitJ*****$lo/ R"nnin/ lo/ filerbJsplit$dat is "sed to record the e:ec"ted steps< which are skipped in the repe
titive script e:ec"tion$ R"nnin/ variable file rbJsplit$var is "sed to record the relevant variables< s"ch as I! address< da
tabase instance na.e< etc$
Then a proble. appears< we can carry o"t investi/ation thro"/h the three files or sendthe. back to the technical s"pport for analysis$
3ile packin/ .ethos5 tar @cvf rbJsplit$tar t.prbJsplitQ
-
7/25/2019 01-G TM R&B Split Operation R1.0
33/37
Internal Use OnlyOperation of R&B Split7Check of O+CB%ersion Installation
Check O+CB version Use "ser /o.cb$ Check whether the process of O+CB version is nor.al$
ps @ef W /rep 4ava W /rep /o.cb
6he res"lt contains three processes5
Boost+ain
3tpServerBoot+ain
Stop O+CB version
pkill 2= 4ava Use "ser /o.cb only8 "ser root will stop /o.cr process$
pkill5 91(0 2 Operation not per.itted
pkill5 >;01 2 Operation not per.ittedpkill5 >;9> 2 Operation not per.itted /o.cr process can not be stopped$
Start O+CB version
cd ho.e/o.cb)*O+CB".s2svrbin
noh"p $console2lin":$sh &
-
7/25/2019 01-G TM R&B Split Operation R1.0
34/37
Internal Use Only
Operation of R&B Split7Check of A"to2Start
Check a"to2start accordin/ to the followin/ steps5Pcd etcinit$dPvi is./
Pvi dbora
In case of special on2site environ.ent< .odify environ.ent variables O+CRJO+D and O+CBJO+D$
dbora
ORAJO+DKoracleapporacleprod"ct'$1$'
ORAJOTDRKoracle
O+CRJSI#K/o.cr
O+CBJSI#K/o.cb
is./
O+CRK/o.cr
O+CRJO+CO+DKho.e/o.cr".s2svr
O+CBK/o.cb
O+CBJO+CO+DKho.e/o.cb)*O+CB".s2svr
R"n the followin/ script to verify whether the database can be nor.ally booted and"sed$
Petcinit$ddbora stop
Petcinit$ddbora start
Petcinit$dis./ stop
Petcinit$dis./ start
3inally< we can reboot the server and check whether it can be booted nor.ally$
-
7/25/2019 01-G TM R&B Split Operation R1.0
35/37
Internal Use OnlyOperation of R&B Split7Installation & Lo/in of Client< !ost2Installation
Install O+CB version client Use R&B inte/rated version client and O+CB version c
lient to respectively lo/ on to their server< and .ake s"re their lo/on process is nor.al$
+ake s"re links can be established in the S#R sites confi/"red on R&B inte/rated version$
Create O+CB D a/ent on D+S%1< and .ake s"re itcan boot nor.ally$
-
7/25/2019 01-G TM R&B Split Operation R1.0
36/37
Internal Use Only
Co"rse Review
That is the back/ro"nd and p"rpose of R&B splitV That preparations sho"ld be .ade before R&B splitV
That are the operation proced"res of R&B splitV
-
7/25/2019 01-G TM R&B Split Operation R1.0
37/37
Internal Use Only