Configure Remote Access in myLVS: Difference between revisions

From MyLVS
Jump to navigation Jump to search
(Created page with " root@mylvs01:/# mysql -u root -p mysql> INSERT INTO `tblCommands` (`cmdID`,`enabled`,`name`,`command`,`type`,`type-description`) VALUES (1,1,'Reset IIS','/usr/lib/nag...")
 
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:


==myLVS Server Command GUI==


root@mylvs01:/# mysql -u root -p


{| width="50%"
| valign="top" |
Goto Setup/Server and then to assign<br>&nbsp;<br>
[[File:myLVS-ConfigureServerCommand.png|380px]]<br><br>
| valign="top" |
Choose the '''Rebboot''' Link<br>&nbsp;<br>
[[File:myLVS-ConfigureServerCommand01.png|380px]]<br><br>
|}


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');


{| width="50%"
| valign="top" |
Goto one of the nodes where the server is configured<br>click the first aid symbol (bottom left)<br>
[[File:myLVS-ServerCommand.png|380px]]<br><br>
| valign="top" |
Response<br>&nbsp;<br>
[[File:myLVS-ServerCommandResponse.png|380px]]<br><br>
|}


==myLVS Service Command==


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'),
{| width="50%"
    -> (2,1,'Restart Apache','/usr/lib/nagios/plugins/check_nrpe -H %HOST% -p 5666 -c reset_apache',2,'Reset Service');
| valign="top" |
Query OK, 2 rows affected (0.00 sec)
Add or edit a node,<br>Goto Setup/Setup Node and then to assign<br>&nbsp;<br>
Records: 2  Duplicates: 0  Warnings: 0
[[File:myLVS-ConfigureCommand.png|380px]]<br><br>
| valign="top" |
Configure members of this node,<br>Select any of the Server within the Node to configure<br>&nbsp;<br>
[[File:myLVS-ConfigureCommandServer.png|380px]]<br><br>
|}
 
{| width="50%"
| valign="top" |
Set the '''Reset IIS''' command for this server/node<br>&nbsp;<br>
[[File:myLVS-ConfigureCommandServerDetail.png|380px]]<br><br>
| valign="top" |
Set the '''Reset Apache''' command for this server/node<br>&nbsp;<br>
[[File:myLVS-ConfigureCommandServerDetail02.png|380px]]<br><br>
|}
 
 
{| width="50%"
| valign="top" |
Test any of the remote service <br><br>
[[File:myLVS-TstCommandServer.png|380px]]<br><br>
| valign="top" |
Click to restart '''IIS''' on '''web-01'''<br><br>
[[File:myLVS-TstService.png|380px]]<br><br>
|}
 
 
{| width="50%"
| valign="top" |
Command output<br><br>
[[File:myLVS-TstServiceResponse.png|380px]]<br><br>
| valign="top" |
Sample Windows Event Viewer<br><br>
[[File:myLVS-TstWindowsResponse.png|380px]]<br><br>
|}

Latest revision as of 16:22, 7 September 2015

myLVS Server Command GUI

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 or edit a node,
Goto Setup/Setup Node and then to assign
 


Configure members 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



Sample Windows Event Viewer