重新启动

这种方法asctl方法重启 Orchestrator。

方法名称 重新启动
命令
asctl orchestrator:restart
详细信息 重启 Orchestrator
输入
输出 STDOUT 停止操作,然后是启动操作
注意: 在运行了asctl orchestrator:restart运行asctl all:status确认重新启动。
# asctl orchestrator:restart
stopping manager, engine and workers..
stopped...

Orchestrator Status:
  -> Orchestrator Manager NOT running
  -> Orchestrator Engine NOT running
  -> Mongrel serving orchestrator on port 3000 is NOT running
  -> Mongrel serving orchestrator on port 3001 is NOT running
  -> Mongrel serving orchestrator on port 3002 is NOT running
  -> Orchestrator Monitor NOT running
  -> Asynchronous Worker Process 0 is NOT running
  -> Asynchronous Worker Process 1 is NOT running
  -> Synchronous Worker Process 2 is NOT running
  -> Synchronous Worker Process 3 is NOT running
  -> Synchronous Worker Process 4 is NOT running
  -> Synchronous Worker Process 5 is NOT running
starting...
started...
nohup: redirecting stderr to stdout

Orchestrator Status:
  -> Orchestrator Manager running with pid: 29812
  -> Orchestrator Engine NOT running
  -> Mongrel serving orchestrator on port 3000 is NOT running
  -> Mongrel serving orchestrator on port 3001 is NOT running
  -> Mongrel serving orchestrator on port 3002 is NOT running
  -> Orchestrator Monitor NOT running
  -> Asynchronous Worker Process 0 is NOT running
  -> Asynchronous Worker Process 1 is NOT running
  -> Synchronous Worker Process 2 is NOT running
  -> Synchronous Worker Process 3 is NOT running
  -> Synchronous Worker Process 4 is NOT running
  -> Synchronous Worker Process 5 is NOT running

# asctl all:status
Apache:               running
MySQL:                running

Orchestrator Status:
  -> Orchestrator Manager running with pid: 29812
  -> Orchestrator Engine running with pid: 29825
  -> Mongrel serving orchestrator on port 3000 is running with pid: 29830
  -> Mongrel serving orchestrator on port 3001 is running with pid: 29832
  -> Mongrel serving orchestrator on port 3002 is running with pid: 29834
  -> Orchestrator Monitor running with pid: 29828
  -> Asynchronous Worker Process 0 is running with pid: 29841
  -> Asynchronous Worker Process 1 is running with pid: 29843
  -> Synchronous Worker Process 2 is running with pid: 29845
  -> Synchronous Worker Process 3 is running with pid: 29847
  -> Synchronous Worker Process 4 is running with pid: 29849
  -> Synchronous Worker Process 5 is running with pid: 29839