Project

General

Profile

Moshell » History » Revision 2

Revision 1 (lynxis, 11/11/2020 10:29 PM) → Revision 2/3 (lynxis, 11/11/2020 10:30 PM)

h1. Moshell 

 The moshell is the managed object shell. 
 It can run under linux or on windows using cygwin. 
 It's using java, bash, awk, perl, ssh. 

 h2. Install moshell on debian buster 

 <pre> 
 apt-get install less file man openjdk-11-jre-headless unzip zip inetutils-ping 

 cd /tmp 
 unzip moshell.zip 
 cd /tmp/moshell/ 
 bash ./moshell_install 
 </pre> 

 h2. connect to a digital unit 

 The DUL is reachable via LMT (local management terminal) or via TN (side network). 
 Configure your host to 169.254.1.15/16 and connect to the LMT port. 

 <pre> 
 ./moshell 169.254.1.10 
 </pre> 

 The moshell will connect via ssh, http, corba to the DUL. 

 <pre> 
 The moshell might try to connect to the side network (TN A/TN B ports). In this case set the a route 
 for the IP to 169.254.1.10. E.g. ip route add 10.10.10.2 via 169.254.1.10. 
 To change this to 169.254.1.10 call `set IpOam=1,Ip=1 nodeInterfaceName le0` 
 </pre> 


 <pre> 
 ./moshell 169.254.1.10 

 169.254.1.10> lt all 
 [..] 

 Last MO:     950. Loaded    950 MOs. Total:     951 MOs. 

 FOO> lpr 
 [..] 

 =================================================================================== 
 Total: 947 MOs 

 FOO> al 
 [..] 

 ==================================================================================================================== 
 Sever Specific Problem                      MO (Cause/AdditionalInfo) 
 ==================================================================================================================== 
 Min     Password File Fault                   Security=1 (configuration_or_customizing_error) 
 >>> Total: 1 Alarms (0 Critical, 0 Major) 

 FOO> 
 </pre> 

 h2. useful commands 

 <pre> 
 ld all - load full tree 
 lpr - show matching MOs or all 
 momt - show mo model tree 
 momt ManagedElementData - show the momtree of ManagedElementData 
 mom ManagedElementData - show mom of the ManagedElementData 
 mom ManagedElementData deleteNtpThird - show the action/attribute of the ManagedElementData 
 momd ManagedElementData all - show all attributes, one per line 
 al - show alarms 
 st - show the state of MO 
 cvms - create a new configuration file 
 </pre> 

 h2. further reference 

 * MoShell User Guide
Add picture from clipboard (Maximum size: 48.8 MB)