首页 > 业内资讯 > Seesaw:Google 开源的负载均衡系统

Seesaw:Google 开源的负载均衡系统

时间:2016-02-02 | 来源:developerWorks | 阅读:62

话题: developerWorks


Command Line

Once initial configuration has been performed and the Seesaw components are running, the state of the Seesaw can be viewed and controlled via the Seesaw command line interface. Running seesaw (assuming /usr/bin is in your path) will give you an interactive prompt - type ? for a list of top level commands. A quick summary:

  • config reload - reload the cluster.pb from the current config source.

  • failover - failover between the Seesaw nodes.

  • show vservers - list all vservers configured on this cluster.

  • show vserver - show the current state for the named vserver.


Troubleshooting

A Seesaw should have five components that are running under the watchdog - the process table should show processes for:

  • seesaw_ecu

  • seesaw_engine

  • seesaw_ha

  • seesaw_healthcheck

  • seesaw_ncc

  • seesaw_watchdog


All Seesaw v2 components have their own logs, in addition to the logging provided by the watchdog. If any of the processes are not running, check the corresponding logs in /var/log/seesaw - for example seesaw_engine.{log,INFO}.

推荐

最新好玩手游

更多

手游风云榜

更多

资讯阅读

更多


湘ICP备2022002427号-10 湘公网安备:43070202000427号
© 2013~2024 haote.com 好特网