How to run through the service reset procedure
来源:互联网 发布:ubuntu snmp 编辑:程序博客网 时间:2024/05/22 09:43
This only affects user interfaces and will not interrupt your shares:
please run the following from bash:
# svcs nm{s,v,cd} nbs nmdtrace dbus rmvolmgr rrdaemon
If any are offline then run the following for any service that is offline
If there are no services offline, then please proceed to the next step
# svcadm clear (replace service name for each of the above)
# svcadm clear rmvolmgr
#svcs -v
#svcadm clear nms
Then run
# svcadm -v enable -rs nms
If this fails we may want to systematically stop all the following services and ensure none are running and then start them all again as follows:
svcadm -v disable nms
svcadm -v disable nmv
svcadm -v disable nmcd
svcadm -v disable nbs
svcadm -v disable nmdtrace
svcadm -v disable dbus
svcadm -v disable rmvolmgr
svcadm -v disable rrdaemon
.. wait a few minutes and run 'svcs nm{s,v} nmcd nbs nmdtrace dbus rmvolmgr rrdaemon' to ensure they are offline.
Then run the following:
svcadm -v enable rrdaemon
svcadm -v enable dbus
svcadm -v enable rmvolmgr
svcadm -v enable nbs
svcadm -v enable nmdtrace
svcadm -v enable nms
svcadm -v enable nmv
svcadm -v enable nmcd
————————————————————————————————————————————————————————
Append below steps to restart which includes a section on what happens if it does not start..
1. svcs -p nms
You may end up with a few processes under NMS.
If so..
2. replace the <PID> by the Process ID here:
# echo "0t<PID>::pid2proc | ::walk thread | ::findstack -v" | mdb -k
3. This will be useful too:
# echo "::stacks -c biowait" | mdb -k
How to restart NM Management Layer
==================================
Use this "script" command to record the output:
#script /tmp/reset.out
If NMS service is in maintenance mode only:
=========================================
svcadm clear nms
svcs -v nm{s,v,cd} nbs nmdtrace dbus rmvolmgr
If this does not restart it then:
Restart the NM* services layer (only impacts NM*)
=============================================
#svcs nm{s,v,cd} nbs nmdtrace dbus rmvolmgr
# svcadm disable nm{s,v,cd} nbs nmdtrace dbus rmvolmgr
Check it's status:
================
Issue the following command until you see all outputs below specify "offline"
#svcs nm{s,v,cd} nbs nmdtrace dbus rmvolmgr
When it does restart NM* services
Restart NM* services:
===================
# svcadm enable nm{s,v,cd} nbs nmdtrace dbus rmvolmgr
It may take a few minutes to complete and show "online"
If it does not restart:
====================
If you see in the svcs outputs a starred item not starting:
svcs -p <service that is starred>
From each of the stuck processes pull out the PIDs
Then
# echo "0t<PID>::pid2proc | ::walk thread | ::findstack -v" | mdb -k
Then:
# echo "::stacks -c biowait" | mdb -k
When complete:
#Control-D
Send us that resultant data collection
==================================
1. Send /tmp/reset.out
- How to run through the service reset procedure
- How to Run the OnScreenKeyboard
- How to Reset the Root Password
- HOW TO RESET THE IMPORT QUEUE
- How to reset the Verity K2 password.
- How to Reset the Root Password 5.5
- run through the rain
- Run Through the Rain
- Run through the rain
- Learn How TO Use SSH To Get Through the GFW
- How To Use the C Run-Time
- How to run the Jar well?
- How to Run Hadoop in the Cloud
- How to Use Procedure
- How to communicate with PI Through the SSH
- How to save the DDR SDRAM data upon reset
- How to Reset the&…
- Reset the service "cron"
- 虚拟化视频
- Joomla的模块module 开发教程(转)
- TIME_WAIT
- Java异常处理总结
- mysql 开启慢查询日志
- How to run through the service reset procedure
- SSH 协议基础
- 分享php中四种webservice实现的简单架构方法及实例
- UIDevice的一些实用的Category
- CSS浏览器兼容性与解析问题终极归纳
- 利用PHP SOAP实现WEB SERVICE
- XAUI/XLAUI高速总线简介
- linux 下端口close_wait 过多
- 字符串过滤