Difference between revisions of "Remote usage of the Dell console switches"

From PDP/Grid Wiki
Jump to navigationJump to search
m
Line 1: Line 1:
On the normal NIKHEF network, the DS2161's (ruif and terp) and the DS2161-2 (Luilak-1)
+
On the normal NIKHEF network, the DS2161's (ruif and terp) are available at
are available at
 
  
   /global/ices/grid/nikhef/network/DRCSS2/
+
   /global/ices/grid/nikhef/network/Dell_Remote_Console_Switch_Software/
  
Create a directory $HOME/Dell_Remote_Console_Switch_Software and copy the vpdbase.* files from  
+
make a link to this directory from your home directory, named the same,
/global/ices/grid/nikhef/network/DRCSS2/ to your local directory.
 
  
Start the Java application like:
+
  cd $HOME ; ln -s /global/ices/grid/nikhef/network/Dell_Remote_Console_Switch_Software
  
   /global/ices/grid/nikhef/network/DRCSS2/Dell_Remote_Console_Switch_Software &
+
and start the Java application like:
 +
 
 +
   Dell_Remote_Console_Switch_Software/Dell_Remote_Console_Switch_Software &
  
 
and wait for the window to apprear. The name of the administrator login is "Admin" (case sensitive)
 
and wait for the window to apprear. The name of the administrator login is "Admin" (case sensitive)
Line 20: Line 20:
  
 
Start the remote console tool via:
 
Start the remote console tool via:
  /share/doc/farms/DRCSS2/Dell_Remote_Console_Switch_Software
+
  /share/doc/farms/Dell_Remote_Console_Switch_Software/Dell_Remote_Console_Switch_Software
  
 
Selection of the switches can be done via the tab ''Remote Console Switches'',
 
Selection of the switches can be done via the tab ''Remote Console Switches'',
Line 26: Line 26:
 
  2161DS 03-53-33      the switch in the bulldozer cluster
 
  2161DS 03-53-33      the switch in the bulldozer cluster
 
  2161DS 03-DD-F9      the switch in the server cabinet (named ruif)
 
  2161DS 03-DD-F9      the switch in the server cabinet (named ruif)
2162DS-2            the switch in the luilak-1 cluster
 
  
 
On the tab ''Servers'' it is possible to connect to one of the attached hosts by double clicking the host name.
 
On the tab ''Servers'' it is possible to connect to one of the attached hosts by double clicking the host name.
Line 34: Line 33:
 
.
 
.
  
== Using 'magic sysrq' keystrokes in the Dell DS2161 / DS2161-2 Console switch ==
+
== Using 'magic sysrq' keystrokes in the Dell DS2161 Console switch ==
  
 
Although impossible to do via the provided GUI, there is a magic way to get the
 
Although impossible to do via the provided GUI, there is a magic way to get the
Line 42: Line 41:
  
 
This is the magic line you should enter into the ''vpdbase.script'' file (change the initial number as needed):
 
This is the magic line you should enter into the ''vpdbase.script'' file (change the initial number as needed):
 
  INSERT INTO GLOBAL_OPTIONS VALUES(43,'MACRO_Alt-PrtScrn+B','Alt-PrtScrn+B,en,-1,0,226,0,Alt-Left,70,0,PrtScn,5,2,B,70,1,PrtScn,226,1,Alt-Left')
 
 
where
 
{|
 
|-
 
|    226,0,Alt-Left    || Alt-press
 
|-
 
|    70,0,PrtScn      || PrtScn-press
 
|-
 
|    5,2,B            || B-press-release
 
|-
 
|    70,1,PrtScn      || PrtScn-release
 
|-
 
|    226,1,Alt-Left    || Alt-release
 
|}
 
 
'''Note:''' The format has changed since the previous version of the software! The format in the old version was:
 
  
 
   INSERT INTO OPTIONS VALUES(44,'MACRO_Alt-PrtScrn+B','true,false,18,true,false,154,true,true,66,false,true,66,false,false,154,false,false,18,')
 
   INSERT INTO OPTIONS VALUES(44,'MACRO_Alt-PrtScrn+B','true,false,18,true,false,154,true,true,66,false,true,66,false,false,154,false,false,18,')
Line 84: Line 65:
  
 
Other keys: "S" = 83, "B" = 66, ...
 
Other keys: "S" = 83, "B" = 66, ...
 +
 +
== Using 'magic sysrq' keystrokes in the Dell DS2161-2 Console switch ==
 +
 +
With the DRCSS2 release software, the scan codes have changed. The new definitions for
 +
the magic sysrq button keystrokes are:
 +
 +
INSERT INTO GLOBAL_OPTIONS VALUES(43,'MACRO_Alt-PrtScrn+B','Alt-PrtScrn+B,en,-1,0,226,0,Alt-Left,70,0,PrtScn,5,2,B,70,1,PrtScn,226,1,Alt-Left')
 +
INSERT INTO GLOBAL_OPTIONS VALUES(44,'MACRO_Alt-PrtScrn+S','Alt-PrtScrn+S,en,-1,0,226,0,Alt-Left,70,0,PrtScn,22,2,S,70,1,PrtScn,226,1,Alt-Left')
 +
INSERT INTO GLOBAL_OPTIONS VALUES(104,'MACRO_1155895654125','Alt-PrtScn-T,en,-1,0,226,0,Alt-Left,70,0,PrtScn,23,2,T,70,1,PrtScn,226,1,Alt-Left')
 +
INSERT INTO GLOBAL_OPTIONS VALUES(105,'MACRO_1155895654126','Alt-PrtScn-E,en,-1,0,226,0,Alt-Left,70,0,PrtScn,8,2,E,70,1,PrtScn,226,1,Alt-Left')
 +
INSERT INTO GLOBAL_OPTIONS VALUES(106,'MACRO_1155895654127','Alt-PrtScn-I,en,-1,0,226,0,Alt-Left,70,0,PrtScn,12,2,I,70,1,PrtScn,226,1,Alt-Left')
 +
INSERT INTO GLOBAL_OPTIONS VALUES(107,'MACRO_1155895654128','Alt-PrtScn-M,en,-1,0,226,0,Alt-Left,70,0,PrtScn,16,2,M,70,1,PrtScn,226,1,Alt-Left')
 +
INSERT INTO GLOBAL_OPTIONS VALUES(108,'MACRO_1155895654129','Alt-PrtScn-O,en,-1,0,226,0,Alt-Left,70,0,PrtScn,18,2,O,70,1,PrtScn,226,1,Alt-Left')
 +
INSERT INTO GLOBAL_OPTIONS VALUES(109,'MACRO_1155895654130','Alt-PrtScn-P,en,-1,0,226,0,Alt-Left,70,0,PrtScn,19,2,P,70,1,PrtScn,226,1,Alt-Left')
 +
INSERT INTO GLOBAL_OPTIONS VALUES(110,'MACRO_1155895654131','Alt-PrtScn-U,en,-1,0,226,0,Alt-Left,70,0,PrtScn,24,2,U,70,1,PrtScn,226,1,Alt-Left')

Revision as of 15:50, 21 November 2006

On the normal NIKHEF network, the DS2161's (ruif and terp) are available at

 /global/ices/grid/nikhef/network/Dell_Remote_Console_Switch_Software/

make a link to this directory from your home directory, named the same,

 cd $HOME ; ln -s /global/ices/grid/nikhef/network/Dell_Remote_Console_Switch_Software

and start the Java application like:

 Dell_Remote_Console_Switch_Software/Dell_Remote_Console_Switch_Software &

and wait for the window to apprear. The name of the administrator login is "Admin" (case sensitive) with the agreed password :-), or your own username with the assigned PW

on the farm

You need to have access to a host in the farm with X forwarding enabled. Using X compression will make the display respond quicker:

ssh -C -X <hostname>

Start the remote console tool via:

/share/doc/farms/Dell_Remote_Console_Switch_Software/Dell_Remote_Console_Switch_Software

Selection of the switches can be done via the tab Remote Console Switches, The following switches exist:

2161DS 03-53-33      the switch in the bulldozer cluster
2161DS 03-DD-F9      the switch in the server cabinet (named ruif)

On the tab Servers it is possible to connect to one of the attached hosts by double clicking the host name.

End a session by closing the containing window with the cross button in upper right corner.

.

Using 'magic sysrq' keystrokes in the Dell DS2161 Console switch

Although impossible to do via the provided GUI, there is a magic way to get the "Alt-sysrq-<character>" keystrokes to work on this thing.

The trick is as follows: the keystroke macros that you can specify in the GUI are stored on disk in a set of SQL commands, but 'not' as specified, but in key-press-and-release codes. By manually changing this script, and moving the SysRQ-release instruction to a later position in the macro, you get the desired behaviour.

This is the magic line you should enter into the vpdbase.script file (change the initial number as needed):

 INSERT INTO OPTIONS VALUES(44,'MACRO_Alt-PrtScrn+B','true,false,18,true,false,154,true,true,66,false,true,66,false,false,154,false,false,18,')

where

true,false,18 Alt-press
true,false,154 PrintScrn-press
true,true,66 "B" press
false,true,66 "B" release
false,false,154 PrintScrn-release
false,false,18 Alt-release

Normally, true,false,154 and false,false,154 would follow on eachother immediately, but by editing this file manually you can tear them apart.

Restart the Dell Remote colsole application and reboot your system (after doing sysctl -w kernel.sysrq=1)

Other keys: "S" = 83, "B" = 66, ...

Using 'magic sysrq' keystrokes in the Dell DS2161-2 Console switch

With the DRCSS2 release software, the scan codes have changed. The new definitions for the magic sysrq button keystrokes are:

INSERT INTO GLOBAL_OPTIONS VALUES(43,'MACRO_Alt-PrtScrn+B','Alt-PrtScrn+B,en,-1,0,226,0,Alt-Left,70,0,PrtScn,5,2,B,70,1,PrtScn,226,1,Alt-Left')
INSERT INTO GLOBAL_OPTIONS VALUES(44,'MACRO_Alt-PrtScrn+S','Alt-PrtScrn+S,en,-1,0,226,0,Alt-Left,70,0,PrtScn,22,2,S,70,1,PrtScn,226,1,Alt-Left')
INSERT INTO GLOBAL_OPTIONS VALUES(104,'MACRO_1155895654125','Alt-PrtScn-T,en,-1,0,226,0,Alt-Left,70,0,PrtScn,23,2,T,70,1,PrtScn,226,1,Alt-Left')
INSERT INTO GLOBAL_OPTIONS VALUES(105,'MACRO_1155895654126','Alt-PrtScn-E,en,-1,0,226,0,Alt-Left,70,0,PrtScn,8,2,E,70,1,PrtScn,226,1,Alt-Left')
INSERT INTO GLOBAL_OPTIONS VALUES(106,'MACRO_1155895654127','Alt-PrtScn-I,en,-1,0,226,0,Alt-Left,70,0,PrtScn,12,2,I,70,1,PrtScn,226,1,Alt-Left')
INSERT INTO GLOBAL_OPTIONS VALUES(107,'MACRO_1155895654128','Alt-PrtScn-M,en,-1,0,226,0,Alt-Left,70,0,PrtScn,16,2,M,70,1,PrtScn,226,1,Alt-Left')
INSERT INTO GLOBAL_OPTIONS VALUES(108,'MACRO_1155895654129','Alt-PrtScn-O,en,-1,0,226,0,Alt-Left,70,0,PrtScn,18,2,O,70,1,PrtScn,226,1,Alt-Left')
INSERT INTO GLOBAL_OPTIONS VALUES(109,'MACRO_1155895654130','Alt-PrtScn-P,en,-1,0,226,0,Alt-Left,70,0,PrtScn,19,2,P,70,1,PrtScn,226,1,Alt-Left')
INSERT INTO GLOBAL_OPTIONS VALUES(110,'MACRO_1155895654131','Alt-PrtScn-U,en,-1,0,226,0,Alt-Left,70,0,PrtScn,24,2,U,70,1,PrtScn,226,1,Alt-Left')