Configure Remote Access in myLVS: Difference between revisions

From MyLVS
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
Not all functions are implemented within the GUI, a few manual steps are required to setup remote access.<br>
This will show how to setup the command table for nrpe commands for
*reset_iis
*reset_apache
<br><br><br>
=mySQL=
*Login
root@mylvs01:/# mysql -u root -p
*Change the database
mysql> use mylvs;
*Insert the statements:
mysql>  INSERT INTO `tblCommands` (`cmdID`,`enabled`,`name`,`command`,`type`,`type-description`) VALUES
(1,1,'Reset IIS','/usr/lib/nagios/plugins/check_nrpe -H %HOST% -p 5666 -c reset_iis',2,'Reset Service'),
(2,1,'Restart Apache','/usr/lib/nagios/plugins/check_nrpe -H %HOST% -p 5666 -c reset_apache',2,'Reset Service'),
(3,1,'Reboot Server','/usr/lib/nagios/plugins/check_nrpe -H %HOST% -p 5666 -c reboot',2,'Reboot Server');
<BR><BR>


==myLVS Server Command==
==myLVS Server Command==
Line 27: Line 6:
| valign="top" |  
| valign="top" |  
Goto Setup/Server and then to assign<br>&nbsp;<br>
Goto Setup/Server and then to assign<br>&nbsp;<br>
[[File:myLVS-ConfigureServerCommand.png|320px]]<br><br>
[[File:myLVS-ConfigureServerCommand.png|480px]]<br><br>
| valign="top" |  
| valign="top" |  
Choose the '''Rebboot''' Link<br>&nbsp;<br>
Choose the '''Rebboot''' Link<br>&nbsp;<br>
[[File:myLVS-ConfigureServerCommand01.png|320px]]<br><br>
[[File:myLVS-ConfigureServerCommand01.png|480px]]<br><br>
|}
|}



Revision as of 16:16, 7 September 2015

myLVS Server Command

Goto Setup/Server and then to assign
 


Choose the Rebboot Link
 



Goto one of the nodes where the server is configured
click the first aid symbol (bottom left)


Response
 


myLVS Service Command

Add a new node,
Goto Setup/Setup Node and then to assign
 


Configure meners of this node,
Select any of the Server within the Node to configure
 


Set the Reset IIS command for this server/node
 


Set the Reset Apache command for this server/node
 



Test any of the remote service



Click to restart IIS on web-01




Command output



Windows Event Viewer