美文网首页
[StarPos]NS service 启停及检查命令

[StarPos]NS service 启停及检查命令

作者: 骁珺在努力 | 来源:发表于2018-01-27 10:50 被阅读0次

1. 暂停服务

1.1 不影响在途业务

> disable service 10.100.33.21:8480 graceFul yes
 Done

1.2 强制停止服务

> disable service 10.100.33.21:8480 graceFul no
 Done

2. 开启服务

> enable service 10.100.33.21:8480
 Done

3. 检查服务状态

3.1 服务已停止

> show service 10.100.33.21:8480
        10.100.33.21:8480 (10.100.33.21:8480) - HTTP
        State: OUT OF SERVICE

3.2 服务正在停止

> show service 10.100.33.21:8480
        10.100.33.21:8480 (10.100.33.21:8480) - HTTP
        State: GOING OUT OF SERVICE (Graceful, Out Of Service in 8 seconds)

3.3 服务正常

> show service 10.100.33.21:8480
        10.100.33.21:8280 (10.100.33.21:8480) - HTTP
        State: UP

3.4 服务未启动

> show service 10.100.33.21:8480
        10.100.33.21:8480 (10.100.33.21:8480) - HTTP
        State: DOWN

相关文章

网友评论

      本文标题:[StarPos]NS service 启停及检查命令

      本文链接:https://www.haomeiwen.com/subject/qcqnaxtx.html