Moshell » History » Version 2
lynxis, 11/11/2020 10:30 PM
1 | 1 | lynxis | h1. Moshell |
---|---|---|---|
2 | |||
3 | The moshell is the managed object shell. |
||
4 | It can run under linux or on windows using cygwin. |
||
5 | It's using java, bash, awk, perl, ssh. |
||
6 | |||
7 | h2. Install moshell on debian buster |
||
8 | |||
9 | <pre> |
||
10 | apt-get install less file man openjdk-11-jre-headless unzip zip inetutils-ping |
||
11 | |||
12 | cd /tmp |
||
13 | unzip moshell.zip |
||
14 | cd /tmp/moshell/ |
||
15 | bash ./moshell_install |
||
16 | </pre> |
||
17 | |||
18 | h2. connect to a digital unit |
||
19 | |||
20 | The DUL is reachable via LMT (local management terminal) or via TN (side network). |
||
21 | Configure your host to 169.254.1.15/16 and connect to the LMT port. |
||
22 | |||
23 | <pre> |
||
24 | ./moshell 169.254.1.10 |
||
25 | </pre> |
||
26 | |||
27 | The moshell will connect via ssh, http, corba to the DUL. |
||
28 | |||
29 | <pre> |
||
30 | The moshell might try to connect to the side network (TN A/TN B ports). In this case set the a route |
||
31 | for the IP to 169.254.1.10. E.g. ip route add 10.10.10.2 via 169.254.1.10. |
||
32 | To change this to 169.254.1.10 call `set IpOam=1,Ip=1 nodeInterfaceName le0` |
||
33 | </pre> |
||
34 | |||
35 | |||
36 | <pre> |
||
37 | ./moshell 169.254.1.10 |
||
38 | |||
39 | 169.254.1.10> lt all |
||
40 | [..] |
||
41 | |||
42 | Last MO: 950. Loaded 950 MOs. Total: 951 MOs. |
||
43 | |||
44 | FOO> lpr |
||
45 | [..] |
||
46 | |||
47 | =================================================================================== |
||
48 | Total: 947 MOs |
||
49 | |||
50 | FOO> al |
||
51 | [..] |
||
52 | |||
53 | ==================================================================================================================== |
||
54 | Sever Specific Problem MO (Cause/AdditionalInfo) |
||
55 | ==================================================================================================================== |
||
56 | Min Password File Fault Security=1 (configuration_or_customizing_error) |
||
57 | >>> Total: 1 Alarms (0 Critical, 0 Major) |
||
58 | |||
59 | FOO> |
||
60 | </pre> |
||
61 | |||
62 | h2. useful commands |
||
63 | |||
64 | <pre> |
||
65 | ld all - load full tree |
||
66 | lpr - show matching MOs or all |
||
67 | momt - show mo model tree |
||
68 | momt ManagedElementData - show the momtree of ManagedElementData |
||
69 | mom ManagedElementData - show mom of the ManagedElementData |
||
70 | mom ManagedElementData deleteNtpThird - show the action/attribute of the ManagedElementData |
||
71 | momd ManagedElementData all - show all attributes, one per line |
||
72 | al - show alarms |
||
73 | st - show the state of MO |
||
74 | cvms - create a new configuration file |
||
75 | </pre> |
||
76 | 2 | lynxis | |
77 | h2. further reference |
||
78 | |||
79 | * MoShell User Guide |