site activity via remote
DESCRIPTION
manualTRANSCRIPT
-
From: Mahatta DinataSubject: Site activity via RemoteDate: Saturday, October 26, 2013 8:45:39 PM
1. Upgrade PackageThere are 2 method during remote upgrade package and commissioning
Through OSS, and use OSS EMAS.Clear enoughThrough MoshellHere the script : 3G2_BABARAN> cr SwManagement=1,UpgradePackage=CXP9014346/1_R6AE02 //must know the Server IP address which have the UP we want to updateAttribute 1 of 2, ftpServerIpAddress (string): 10.145.140.51 //must know the package address on serverAttribute 2 of 2, upFilePathOnFtpServer (string): /UTRAN/SOFTWARE/CXP9014346_1_R6AE02/CXP9014346%1_R6AE02.xml //Password to enter the RNC to start the UP upload to RBS ???Attribute 1 of 2, user (string): rnc Attribute 2 of 2, password (string): rnc
2. Export Delete Script
a. to do export and delete action via remote, the first file needed to do it is the bemcli.jar file. This file is mandatory to do another action like commissioning e.g. execute cabinet.xml and site.xml fileit can be done by command :htget http://10.244.2.39/em/bemcli.jar IP address is the RBS IP address note : during download the bemcli.jar file, this action must be done in RBS node. For example :3G2IP_ANTON_SRIBUMI> htget http://10.244.243.41/em/bemcli.jar
130530-11:58:01 10.244.243.41 9.0k RBS_NODE_MODEL_S_1_150 stopfile=/tmp/15157Downloading File from http://10.244.243.41/em/bemcli.jar to bemcli.jar ...Done.
b. Export cabinet, site and MIB file
epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 export 3GIP_BUMBUNGSARI_cabinet.xml 3GIP_BUMBUNGSARI_site.xml
-
3GIP_BUMBUNGSARI_mib.xml another example, after download the Bemli.jar file eadelbu@isatadmin1:~$ java -jar bemcli.jar 10.213.35.7 export IBS_DBEST_FATMA_cabinet.xml IBS_DBEST_FATMA_site.xml IBS_DBEST_FATMA_mib.xml
File hasil export akan berada di folder /home/user satu folder dengan file bemcli.jar
c. The export file can be seen by ls command
3. Commissioning
a. to do commissioning action via remote, the first file needed to do it is the bemcli.jar file.b. Command for delete cabinet and site
delete
epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 delete
c. Command for running cabinet script
cabinet
epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 cabinet
-
3GIP_BUMBUNGSARI_cabinet.xml Command untuk running cabinet equipment script, jika ada perubahan , script hasil export di edit terlebih dahulu, kemudian dirunning kembali.
d. Command for running OAM script
oam
e. Command for running SE script
site
epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 site 3GIP_BUMBUNGSARI_site.xml
Note : After download the Bemcli.jar file, there are some action can be done by remote. To see the available action can be done by help command. For example :
epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39
help to see the available action
nalLogger=se.ericsson.wcdma, Level=INFO, nalType=nex, TraceLevel=3
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
Connecting to MIB on node '10.244.2.39' via NAL=neal on log level LOG=0
Trying to connect to 10.244.2.39. Waited 0 of 120 sec (0%)
Done connecting to 10.244.2.39. Waited 4 of 120 sec (3%)
Usage:
BEM on the command line connects to the specified RBS and executes the commands as described below.
help
Displayes this help.
cabinet Untuk running cabinet equipment
Runs Cabinet Equipment Wizard with specified xml file.
site Untuk running site equipment
Runs Site Equipment Wizard with specified xml file.
oam Untuk Running script OAM
Runs O&M Access Wizard with specified xml file.
export Untuk Export cabinet dan Site Equipment script
Exports cabinet- and site-configuration to xml files. Exports entire mib to xml file.
delete Untuk Delete cabinet dan site equipment
Deletes cabinet- and site-configuration. Transport network is left untouched.
modify Untuk running script expand and modify
Runs Modify Wizard with specified xml file.
replaceEtm Untuk ganti port ET-Board
Replaces ET-board in specified slot with specified new type.
npc
-
file> Belum pernah nyoba fungsi nya apa J Runs NPC Wizard with specified xml files.
em - Untuk running Element Manager
Starts element manager.
getDtdRevisions 1
Gets revisions for DTD-files.
Revisions are returned as an error, simply because bemcli is not designed to return information.
autoInt -logicalName -user -passwd -gbeport
-usevlan -vid -client yes
Runs Auto Integration with specified values.
migrateRbs -option prepConv -zipName -lockBoards
Runs MigrateRbs (Prepare and Convert part) with specified values.
OR
migrateRbs -option configure -zipName -gbeport
Runs MigrateRbs (Configure part) with specified values.
siteComplete -moScriptName
Executes specified mo script on existing configuration.
-rbs_prop file path, including filename, for alternative RBS EM properties file.
Sample:
java -jar bemcli.jar 10.0.0.1 cabinet my_cabinet_xmlfile.xml -rbs_prop /user/bem/RBS_EM.properties
Logging hint:
It is possible to get log information on your console
by adding BEM_CLI_LOG_LEVEL= in your RBS_EM.properties file.
Supported log-levels are: NOTIFY, PARAM, TRACE, MAX_LOG_LEVEL
default log-level is MIN_LOG_LEVEL
BEMCLI result=OK for command=help
Berikut contohnya :
epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 export 3GIP_BUMBUNGSARI_cabinet.xml
3GIP_BUMBUNGSARI_site.xml 3GIP_BUMBUNGSARI_mib.xml File hasil export akan berada di folder /home/user satu folder dengan file bemcli.jar.
nalLogger=se.ericsson.wcdma, Level=INFO, nalType=nex, TraceLevel=3
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
Connecting to MIB on node '10.244.2.39' via NAL=neal on log level LOG=0
Trying to connect to 10.244.2.39. Waited 0 of 120 sec (0%)
Done connecting to 10.244.2.39. Waited 9 of 120 sec (7%)
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
-
BEMCLI result=OK for command=export Export Mib
epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 delete Command untuk delete cabinet
nalLogger=se.ericsson.wcdma, Level=INFO, nalType=nex, TraceLevel=3
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
Connecting to MIB on node '10.244.2.39' via NAL=neal on log level LOG=0
Trying to connect to 10.244.2.39. Waited 0 of 120 sec (0%)
Done connecting to 10.244.2.39. Waited 4 of 120 sec (4%)
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
BEMCLI result=OK for command=delete
epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 cabinet 3GIP_BUMBUNGSARI_cabinet.xml Command untuk running cabinet equipment script, jika ada perubahan , script hasil export di edit terlebih dahulu, kemudian dirunning kembali
nalLogger=se.ericsson.wcdma, Level=INFO, nalType=nex, TraceLevel=3
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
Connecting to MIB on node '10.244.2.39' via NAL=neal on log level LOG=0
Trying to connect to 10.244.2.39. Waited 0 of 120 sec (0%)
Done connecting to 10.244.2.39. Waited 4 of 120 sec (3%)
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
-
Trying to connect to 10.244.2.39. Waited 20 of 720 sec (2%)
Jun 7, 2012 10:29:35 AM se.ericsson.cello.neal.CelloNode init
WARNING: Failed initializing Node!
Failed to initialize the iterfaces to the O&M Services on the CPP node.
Caused by: se.ericsson.cello.neal.internal.jvm_version.NealRuntimeException: Failed to resolve
serviceName='CelloInventoryService' into a CORBA Object
at se.ericsson.cello.neal.internal.ServiceContextImpl.resolveService(Unknown Source)
at se.ericsson.cello.neal.internal.ServiceContextImpl.initProductInventoryService(Unknown
Source)
at se.ericsson.cello.neal.internal.ServiceContextImpl.init(Unknown Source)
at se.ericsson.cello.neal.CelloNode.init(Unknown Source)
at se.ericsson.cello.neal.CelloNode.(Unknown Source)
at se.ericsson.cello.neal.NodeAccess.getNode(Unknown Source)
at se.ericsson.cello.neal.NodeAccess.getNode(Unknown Source)
at se.ericsson.wcdma.rbs.bem.common.nal.impl.neal.NalBackendNeal.tryConnectToNode(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.common.nal.impl.neal.NalBackendNeal.reconnectNode(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.common.nal.impl.neal.NalFactoryNeal.reconnectMib(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.common.nal.impl.log.NalFactoryLog.reconnectMib(Unknown Source)
at se.ericsson.wcdma.rbs.bem.common.config.configitem.cabinetbasic.JvmRI.reconnect(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.common.config.configitem.cabinetbasic.JvmRI.restartJvm(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.common.config.configitem.cabinetbasic.JvmRI.install(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.client.clients.cli.function.WizardUtil.install(Unknown Source)
at se.ericsson.wcdma.rbs.bem.client.clients.cli.function.CabinetWizard.execute(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.client.clients.cli.function.CabinetWizard.execute(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.client.clients.cli.control.CliController.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.omg.CosNaming.NamingContextPackage.NotFound:
IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:251)
... 19 more
Trying to connect to 10.244.2.39. Current stopper : Failed to resolve
serviceName='CelloInventoryService' into a CORBA Object. Waited 23 of 720 sec (3%)
Jun 7, 2012 10:29:39 AM se.ericsson.cello.neal.CelloNode init
WARNING: Failed initializing Node!
Failed to initialize the iterfaces to the O&M Services on the CPP node.
-
Caused by: se.ericsson.cello.neal.internal.jvm_version.NealRuntimeException: Failed to resolve
serviceName='CelloInventoryService' into a CORBA Object
at se.ericsson.cello.neal.internal.ServiceContextImpl.resolveService(Unknown Source)
at se.ericsson.cello.neal.internal.ServiceContextImpl.initProductInventoryService(Unknown
Source)
at se.ericsson.cello.neal.internal.ServiceContextImpl.init(Unknown Source)
at se.ericsson.cello.neal.CelloNode.init(Unknown Source)
at se.ericsson.cello.neal.CelloNode.(Unknown Source)
at se.ericsson.cello.neal.NodeAccess.getNode(Unknown Source)
at se.ericsson.cello.neal.NodeAccess.getNode(Unknown Source)
at se.ericsson.wcdma.rbs.bem.common.nal.impl.neal.NalBackendNeal.tryConnectToNode(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.common.nal.impl.neal.NalBackendNeal.reconnectNode(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.common.nal.impl.neal.NalFactoryNeal.reconnectMib(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.common.nal.impl.log.NalFactoryLog.reconnectMib(Unknown Source)
at se.ericsson.wcdma.rbs.bem.common.config.configitem.cabinetbasic.JvmRI.reconnect(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.common.config.configitem.cabinetbasic.JvmRI.restartJvm(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.common.config.configitem.cabinetbasic.JvmRI.install(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.client.clients.cli.function.WizardUtil.install(Unknown Source)
at se.ericsson.wcdma.rbs.bem.client.clients.cli.function.CabinetWizard.execute(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.client.clients.cli.function.CabinetWizard.execute(Unknown
Source)
at se.ericsson.wcdma.rbs.bem.client.clients.cli.control.CliController.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.omg.CosNaming.NamingContextPackage.NotFound:
IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:251)
... 19 more
Trying to connect to 10.244.2.39. Current stopper : Failed to resolve
serviceName='CelloInventoryService' into a CORBA Object. Waited 27 of 720 sec (3%)
Done connecting to 10.244.2.39. Waited 30 of 720 sec (4%)
BEMCLI result=OK for command=cabinet
epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 site 3GIP_BUMBUNGSARI_site.xml Command untuk running Site Equipment script
nalLogger=se.ericsson.wcdma, Level=INFO, nalType=nex, TraceLevel=3
-
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
Connecting to MIB on node '10.244.2.39' via NAL=neal on log level LOG=0
Trying to connect to 10.244.2.39. Waited 0 of 120 sec (0%)
Done connecting to 10.244.2.39. Waited 4 of 120 sec (3%)
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
nalLogger=se.ericsson.wcdma.rbs.bem, Level=OFF, nalType=nex, TraceLevel=0
BEMCLI result=OK for command=site