Difference between revisions of "GSP Virtualisation with Xen"

From PDP/Grid Wiki
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 655: Line 655:
 
== Connecting to the graphical console of a VM via VNC ==
 
== Connecting to the graphical console of a VM via VNC ==
  
When a VM becomes unreachable, but is still running, as a last resort one could try to connect to the graphical console that every machine still has. It's nicely tucked away in the innards of XenServer, but the following little script should help. It's available on pool-piet.inst.ipmi.nikhef.nl.
+
When a VM becomes unreachable, but is still running, as a last resort one could try to connect to the graphical console that every machine still has. It's nicely tucked away in the innards of XenServer, but the following little script should help. It's available on pool-piet.inst.ipmi.nikhef.nl as connect-to-vm-console.sh.
  
 
  #!/bin/sh
 
  #!/bin/sh
Line 687: Line 687:
 
  vncviewer localhost:5901
 
  vncviewer localhost:5901
 
  "
 
  "
 
    exit 1
 
fi
 
 
echo "Issue the following command from your workstation:
 
 
ssh -L 5901:localhost:$vncport -f -N root@$residenthost
 
vncviewer localhost:5901
 
"
 

Latest revision as of 12:21, 14 December 2015