Setup myLVS Monitoring: Difference between revisions

From MyLVS
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
  root@mylvs01:/# less /var/log/mylvs/mylvslog.log
  root@mylvs01:/# less /var/log/mylvs/mylvslog.log


=Doc1=
=Windows=
{| width="65%"  
{| width="65%"  
| valign="top" align="center" |  
| valign="top" align="center" |  
Line 71: Line 71:
|}
|}


=Doc2=
=Linux=
{| width="65%"  
{| width="65%"  
| valign="top" align="center" |  
| valign="top" align="center" |  

Latest revision as of 17:54, 7 September 2015

Setup myLVS Monitoring allows you to check the Real Server (RS) state, it can be configured to run additional auto repair scripts in case a failaure was detected.

Note that additional steps might be required: myLVS Monitoring prepare
You may involve the systemctl scripts to start or stop the myLVS daemon.

Restart as needed:

root@mylvs01:/# systemctl restart mylvsmon.service

Or

root@mylvs01:/# systemctl start mylvsmon.service
root@mylvs01:/# systemctl stop mylvsmon.service


See the log:

root@mylvs01:/# less /var/log/mylvs/mylvslog.log

Windows

Goto Setup/Server and then to Monitor Nodes/Server, click add and fill as shown:
 


Process view:
 



Description of the above screen

Name Description
Link The name of the machine
Recovery Set the profile for recovery
Check Command Set the generic http check, this will conduct a tcp connect to port 80
Timeout Timeout to be used whil connect to the service
Rechecks Amount of rechecks before consider a failed state
Notification Interval The interval for sending messages in seconds
Check Inventory That means to shut down all associated services in case of a failures
Name Description
   
Immediate Recovery The reover command to be used when this service gets in failed state the first time
Interval The monitor check interval in seconds
Failcheck Interval The monitor check interval when detecting a failure in seconds
ReCheck Wait Pause between the retry command
Notification To Choose the profile for messaging
Enabled En/Disable the profile

Linux

Goto Setup/Server and then to Monitor Nodes/Server, click add and fill as shown:
 


Process view:
 



Description of the above screen

Name Description
Link The name of the machine
Recovery Set the profile for recovery
Check Command Set the generic http check
Timeout Timeout to be used whil connect to the service
Rechecks Amount of rechecks before consider a failed state
Notification Interval The interval for sending messages in seconds
Check Inventory That means to shut down all associated services in case of a failures
Name Description
   
Immediate Recovery The reover command to be used when this service gets in failed state the first time
Interval The monitor check interval in seconds
Failcheck Interval The monitor check interval when detecting a failure in seconds
ReCheck Wait Pause between the retry command
Notification To Choose the profile for messaging
Enabled En/Disable the profile