0% found this document useful (0 votes)
290 views8 pages

Site Activity Bemcli

1. The document discusses various methods for performing remote upgrades, exports, deletions, and commissioning of equipment for a radio base station using the BEMCLI tool. 2. It provides code examples for upgrading software packages, exporting configuration files, deleting cabinet and site equipment, and running cabinet, site, and OAM scripts remotely via BEMCLI commands. 3. The help function of BEMCLI is demonstrated, showing the available actions like cabinet, site, export, modify, replace equipment, and more that can be performed remotely once connected to the target radio base station.

Uploaded by

Achmad Chanafi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
290 views8 pages

Site Activity Bemcli

1. The document discusses various methods for performing remote upgrades, exports, deletions, and commissioning of equipment for a radio base station using the BEMCLI tool. 2. It provides code examples for upgrading software packages, exporting configuration files, deleting cabinet and site equipment, and running cabinet, site, and OAM scripts remotely via BEMCLI commands. 3. The help function of BEMCLI is demonstrated, showing the available actions like cabinet, site, export, modify, replace equipment, and more that can be performed remotely once connected to the target radio base station.

Uploaded by

Achmad Chanafi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Achmad Chanafi

From:
Sent:
Subject:

Mahatta Dinata <mahatta.dinata@ericsson.com>


Saturday, October 26, 2013 8:46 PM
Site activity via Remote

1. UpgradePackage
Thereare2methodduringremoteupgradepackageandcommissioning

ThroughOSS,anduseOSSEMAS.
Clearenough

ThroughMoshell
Herethescript:

3G2_BABARAN>crSwManagement=1,UpgradePackage=CXP9014346/1_R6AE02

//mustknowtheServerIPaddresswhichhavetheUPwewanttoupdate
Attribute1of2,ftpServerIpAddress(string):10.145.140.51

//mustknowthepackageaddressonserver
Attribute2of2,upFilePathOnFtpServer(string):
/UTRAN/SOFTWARE/CXP9014346_1_R6AE02/CXP9014346%1_R6AE02.xml

//PasswordtoentertheRNCtostarttheUPuploadtoRBS???
Attribute1of2,user(string):rnc

Attribute2of2,password(string):rnc

2. ExportDeleteScript
a. todoexportanddeleteactionviaremote,thefirstfileneededtodoitisthebemcli.jarfile.Thisfileismandatorytodo
anotheractionlikecommissioninge.g.executecabinet.xmlandsite.xmlfile
itcanbedonebycommand:
htgethttp://10.244.2.39/em/bemcli.jarIPaddressistheRBSIPaddress

note:duringdownloadthebemcli.jarfile,thisactionmustbedoneinRBSnode.Forexample:
3G2IP_ANTON_SRIBUMI>htgethttp://10.244.243.41/em/bemcli.jar

13053011:58:0110.244.243.419.0kRBS_NODE_MODEL_S_1_150stopfile=/tmp/15157
DownloadingFilefromhttp://10.244.243.41/em/bemcli.jartobemcli.jar...Done.

b. Exportcabinet,siteandMIBfile

epashee@uajkt2:~$javajarbemcli.jar10.244.2.39export3GIP_BUMBUNGSARI_cabinet.xml
3GIP_BUMBUNGSARI_site.xml3GIP_BUMBUNGSARI_mib.xml

anotherexample,afterdownloadtheBemli.jarfile

eadelbu@isatadmin1:~$javajarbemcli.jar10.213.35.7exportIBS_DBEST_FATMA_cabinet.xmlIBS_DBEST_FATMA_site.xml
IBS_DBEST_FATMA_mib.xml

Filehasilexportakanberadadifolder/home/usersatufolderdenganfilebemcli.jar

c. Theexportfilecanbeseenbylscommand

3. Commissioning
a. todocommissioningactionviaremote,thefirstfileneededtodoitisthebemcli.jarfile.
b. Commandfordeletecabinetandsite
<host name/ip address> delete

epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 delete

c. Commandforrunningcabinetscript

<host name/ip address> cabinet <input cabinet xml file>

Command
untukrunningcabinetequipmentscript,jikaadaperubahan,scripthasilexportdieditterlebihdahulu,kemudian
dirunningkembali.

epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 cabinet 3GIP_BUMBUNGSARI_cabinet.xml

d. CommandforrunningOAMscript
<host name/ip address> oam <input oam xml file>

e. CommandforrunningSEscript
<host name/ip address> site <input site xml file>

epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 site 3GIP_BUMBUNGSARI_site.xml

Note:AfterdownloadtheBemcli.jarfile,therearesomeactioncanbedonebyremote.Toseetheavailableaction
canbedonebyhelpcommand.Forexample:
epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 help
the available action

to see

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.


Done connecting to 10.244.2.39.

Waited 0 of 120 sec (0%)

Waited 4 of 120 sec (3%)

Usage:
BEM on the command line connects to the specified RBS and executes the commands as described below.
<host name/ip address> help
Displayes this help.

<host name/ip address> cabinet <input cabinet xml file>

Untukrunningcabinetequipment

Runs Cabinet Equipment Wizard with specified xml file.


<host name/ip address> site <input site xml file>

Untukrunningsiteequipment

UntukRunningscriptOAM

Runs Site Equipment Wizard with specified xml file.


<host name/ip address> oam <input oam xml file>
Runs O&M Access Wizard with specified xml file.
<host name/ip address> export <output cabinet xml file> <output site xml file> <output mib xml file>

Untuk

Belum

ExportcabinetdanSiteEquipmentscript
Exports cabinet- and site-configuration to xml files. Exports entire mib to xml file.
<host name/ip address> delete

UntukDeletecabinetdansiteequipment

Deletes cabinet- and site-configuration. Transport network is left untouched.

<host name/ip address> modify <input modify xml file>

Untukrunningscriptexpandandmodify

Runs Modify Wizard with specified xml file.


<host name/ip address> replaceEtm <slot number> <new ET-board type>

UntukgantiportETBoard

Replaces ET-board in specified slot with specified new type.


<host name/ip address> npc <input cabinet xml file> <input site xml file> <input iub xml file>

pernahnyobafungsinyaapa
Runs NPC Wizard with specified xml files.
<host name/ip address> em

UntukrunningElementManager

Starts element manager.


<host name/ip address> getDtdRevisions 1
Gets revisions for DTD-files.
4

Revisions are returned as an error, simply because bemcli is not designed to return information.
<host name/ip address> autoInt -logicalName <name> -user <user> -passwd <passwd> -gbeport <gbeport> -usevlan
<true/false> -vid <vid> -client yes
Runs Auto Integration with specified values.
<host name/ip address> migrateRbs -option prepConv -zipName <zipFileName> -lockBoards <lockAllBoards>
Runs MigrateRbs (Prepare and Convert part) with specified values.
OR

<host name/ip address> migrateRbs -option configure -zipName <zipFileName> -gbeport <gbeport>

Runs MigrateRbs (Configure part) with specified values.


<host name/ip address> siteComplete -moScriptName <moScriptName>

Executes specified mo script on existing configuration.


-rbs_prop <file path> 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=<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


<Result

result="OK"
/>

Berikutcontohnya:
epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 export 3GIP_BUMBUNGSARI_cabinet.xml
3GIP_BUMBUNGSARI_site.xml 3GIP_BUMBUNGSARI_mib.xml

Filehasilexportakanberadadifolder/home/usersatu

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


Done connecting to 10.244.2.39.

Waited 0 of 120 sec (0%)

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

<Result

result="OK"
/>

epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 delete

cabinet

Commanduntukdelete

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
5

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.


Done connecting to 10.244.2.39.

Waited 0 of 120 sec (0%)

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


<Result

result="OK"
/>

epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 cabinet 3GIP_BUMBUNGSARI_cabinet.xml


Command
untukrunningcabinetequipmentscript,jikaadaperubahan,scripthasilexportdieditterlebihdahulu,kemudian
dirunningkembali
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.<init>(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)
6

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.<init>(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


<Result

result="OK"
/>

epashee@uajkt2:~$ java -jar bemcli.jar 10.244.2.39 site 3GIP_BUMBUNGSARI_site.xml

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


Done connecting to 10.244.2.39.

Waited 0 of 120 sec (0%)

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


<Result

result="OK"
/>

Commanduntuk

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy