Nexnetastor NMC/NMV 无法访问解决方案:重启NMS服务

来源:互联网 发布:频谱分析仪软件 编辑:程序博客网 时间:2024/06/12 19:35

To clarify you are experiencing the NMC/NMV inaccess issue, please try below first

1) when you try to log NMC via SSH, you are drectly logged into Bash shell.

2) /var/log/nms.log shows some DBus.timeout.error.

Either of above phenomenon indicates you are running into NMV/NMC inaccess issue.To recover from this, you need to restart NMS service as below.

NMS Restart Procedures:

1) ssh into appliance as admin and then su to root. ( not su -)
2) Check the services with the following command from the appliance

svcs nm{s,v,cd} nbs nmdtrace dbus

STATE STIME FMRI
online 13:23:43 svc:/system/dbus:default
online 13:23:43 svc:/application/nbs:default
online 13:23:45 svc:/application/nmdtrace:default
online 13:23:51 svc:/application/nms:default <---- if this is online* nms is hung, this won't work
online 13:23:51 svc:/application/nmv:default
online 13:23:59 svc:/application/nmcd:default

3) Stop the services in this order:
svcadm disable svc:/application/nmv:default
svcadm disable svc:/application/nmcd:default
svcadm disable svc:/application/nms:default
svcadm disable svc:/system/dbus:default

4) Check that the services are disabled: (don't worry about the nmdtrace and nbs)

svcs nm{s,v,cd} nbs nmdtrace dbus
STATE STIME FMRI
disabled 13:18:49 svc:/application/nmv:default
disabled 13:18:51 svc:/application/nmcd:default
disabled 13:19:40 svc:/application/nms:default
disabled 13:19:41 svc:/system/dbus:default
offline 13:19:40 svc:/application/nmdtrace:default
offline 13:19:41 svc:/application/nbs:default

Wait until all services in step 4 are disabled. (don't worry about the nmdtrace and nbs) before proceeding.


5) Restart the services in the reverse order:

svcadm enable svc:/system/dbus:default
svcadm enable svc:/application/nms:default
svcadm enable svc:/application/nmcd:default
svcadm enable svc:/application/nmv:default

6) Wait for about 30 seconds and check the services:

svcs nm{s,v,cd} nbs nmdtrace dbus
STATE STIME FMRI
online 13:23:43 svc:/system/dbus:default
online 13:23:43 svc:/application/nbs:default
online 13:23:45 svc:/application/nmdtrace:default
online 13:23:51 svc:/application/nms:default
online 13:23:51 svc:/application/nmv:default
online 13:23:59 svc:/application/nmcd:default

You should be able to now use NMV (GUI) or ssh into appliance as root and check it via NMC.

原创粉丝点击