Skip to content

Commit 9032a43

Browse files
Add doc for Management Server Statistics and Peers (#455)
* Add doc for Management Server Statistics and Peers * Fix notes * Update pics * add doc for db connection issue
1 parent b78af9d commit 9032a43

File tree

4 files changed

+50
-0
lines changed

4 files changed

+50
-0
lines changed
Loading
Loading
Loading

source/adminguide/management.rst

+50
Original file line numberDiff line numberDiff line change
@@ -587,3 +587,53 @@ To start the Management Server:
587587
588588
# service cloudstack-management start
589589
590+
591+
Management Server Statistics and Peers
592+
--------------------------------------
593+
594+
Administrators are able to view the statistics and peers information of management server.
595+
596+
#. Log in to the CloudStack UI as administrator
597+
598+
#. In the left navigation bar, click Infrastructure.
599+
600+
#. Click "Management servers", all management servers are listed.
601+
602+
|management-servers-list.png|
603+
604+
#. Click the management server you'd like to view. The statistics of the management server are displayed.
605+
606+
|management-server-statistics.png|
607+
608+
#. Navigate to the "Peers" tab. The peers of the management servers are listed
609+
610+
|management-server-peers.png|
611+
612+
613+
Global settings for management servers
614+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
615+
616+
.. cssclass:: table-striped table-bordered table-hover
617+
618+
======================================= ========================
619+
Configuration Description
620+
======================================= ========================
621+
management.server.stats.interval Time interval in seconds, for management servers stats collection. Set to <= 0 to disable management servers stats. Default value is 60
622+
cluster.heartbeat.interval Interval (in milliseconds) to check for the heart beat between management server nodes. Default value is 1500
623+
cluster.heartbeat.threshold Threshold (in milliseconds) before self-fence the management server. The threshold should be larger than management.server.stats.interval. Default value is 150000
624+
======================================= ========================
625+
626+
.. note::
627+
- Every 60 seconds (configuable via management.server.stats.interval setting) each management server collects its statistics and publishs to all other management server peers. When other management server receives the published stats, it will set the peer state (owner is the receiver and peer is the sender) to Up.
628+
- Every 1.5 seconds (configurable via cluster.heartbeat.interval), each management server writes heartbeat to CloudStack database, and check the stats of other management servers.
629+
- If in the past 150 seconds (configurable via cluster.heartbeat.threshold), a management server does not write heartbeat and its peer states, its state and peer states will be set to Down by other management servers.
630+
- In case a management server cannot write heartbeat to the database due to connection issue to the database, the host is set to Down state by other management server, when the database connection is restored, the management server will perform self-fencing and exit with code 219.
631+
632+
.. |management-servers-list.png| image:: /_static/images/management-servers-list.png
633+
:alt: List of management servers
634+
635+
.. |management-server-statistics.png| image:: /_static/images/management-server-statistics.png
636+
:alt: Details of management server
637+
638+
.. |management-server-peers.png| image:: /_static/images/management-server-peers.png
639+
:alt: List of management server peers

0 commit comments

Comments
 (0)