Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
infra:virtual_machines [2026/04/15 09:27] – created avinfra:virtual_machines [2026/11/20 13:18] (current) – Rebuild VM runbook from 2026-11-18 live vm list threepio
Line 1: Line 1:
-In order to boot the HPC VMs the system administrator must run the following commands+====== Boot the HPC VMs ======
  
-<code> +Runbook for starting the bhyve VMs on geonosis after a reboot. VM inventory verified against live systems: 2026-11-18; full host details are on [[infra:servers|Server Inventory]].
-vm start thin-01 # start the vm thin-01 +
-ping thin-01 # make sure that you get a response back before starting a different VM+
  
-vm start thin-02 +===== Current VMs =====
-ping thin-02+
  
-#optionally, if you are not scared+^ VM ^ vCPU ^ RAM ^ State ^ Purpose ^ 
 +| ssh-01 | 4 | 12G | Running | Login node | 
 +| ssh-02 | 4 | 12G | Running | Login node | 
 +| thin-01 | 64 | 320G | Running | Compute | 
 +| thin-02 | 64 | 384G | Stopped | Compute -- absent from Slurm, see note below | 
 +| thick-01 | 128 | 1216G | Running | Compute | 
 +| dl-01 / dl-02 | 2 | 8G | Stopped | Former download nodes; partition removed | 
 +| rshiny0 | 4 | 12G | Running | R Shiny | 
 +| rshiny1 | 4 | 10G | Running | R Shiny | 
 +| dna0 | 8 | 32G | Stopped | Legacy | 
 +| mitte-dev-01 | 2 | 4G | Stopped | Development | 
 +| livebsd0/1/2 | 4 | 8G | Stopped | Testing |
  
-vm start thick-01 +''thick-02'' is bare metal (Dell R7725) and has no VM to start.
-ping thick-01 +
-</code>+
  
-Finally, after all the HPC VMs have booted, you may boot the login nodes+===== Boot order ===== 
 + 
 +Start compute nodes first, then the login nodes. Wait for each ping before starting the next VM.
  
 <code> <code>
-vm start ssh-01 +vm start thin-01 
-ping ssh-01+ping thin-01
  
-vm start ssh-02 +vm start thick-01 
-ping ssh-02+ping thick-01
 </code> </code>
  
-There might be other VMs for other users that you might need to run+If R Shiny is needed:
  
 <code> <code>
 vm start rshiny0 vm start rshiny0
-ping rshiny-0+ping rshiny0
  
 vm start rshiny1 vm start rshiny1
-ping rshiny-1+ping rshiny1
 </code> </code>
  
-here's how the output of vm list would look like+Then the login nodes:
  
 <code> <code>
-root@geonosis:~ # vm list +vm start ssh-01 
-NAME          DATASTORE  LOADER  CPU  MEMORY  VNC             AUTO  STATE +ping ssh-01 
-comp0         default    uefi    32   32G     -               No    Stopped + 
-dl-01         default    uefi    2    8G      -               No    Stopped +vm start ssh-02 
-dl-02         default    uefi    2    8G      -               No    Stopped +ping ssh-02
-dna0          default    uefi    8    32G     -               No    Stopped +
-mitte-dev-01  default    uefi    2    4G      -               No    Stopped +
-rshiny0       default    uefi    4    16G     127.0.0.1:5900  No    Running (90735) +
-rshiny1       default    uefi    4    16G     127.0.0.1:5901  No    Running (6542) +
-ssh-01        default    uefi    2    4G      -               No    Running (65113) +
-ssh-02        default    uefi    4    8G      -               No    Running (29385) +
-thick-01      default    uefi    64   768G    -               No    Locked (geonosis.local.abi.am) +
-thin-01       default    uefi    64   384G    -               No    Running (93403) +
-thin-02       default    uefi    64   384G    -               No    Running (69252)+
 </code> </code>
  
-Finally, you will need to update the SLURM configs.+===== Notes ===== 
 + 
 +  * **Do not start ''thin-02''** until Slurm is corrected: it is stopped and absent from the partition, and its configured RealMemory does not match the VM. 
 +  * All bhyve VMs are clones of one image and share a Machine ID; do not change host identity parameters per VM without checking. 
 +  * VM disks live on the geonosis ''rootfs'' pool, which is currently DEGRADED (one disk offline). Avoid unnecessary VM restarts until it is repaired. 
 + 
 +===== After boot: Slurm ===== 
 + 
 +If the Slurm controller is healthy, no action is needed. Otherwise:
  
 <code> <code>
Line 61: Line 68:
 </code> </code>
  
-attach to tmux session that's running SLURM +Attach to the tmux session that runs Slurm. This shows nodes that need attention:
- +
-the following command will show the issues+
  
 <code> <code>
Line 69: Line 74:
 </code> </code>
  
-you can "idle" the nodes after they have been booted+After a node has booted, return it to service:
  
 <code> <code>
Line 75: Line 80:
 </code> </code>
  
-note that this command is idempotent and will run once between reboots (unless the state gets corrupted somehow)+The command is idempotent and needed once per reboot, unless the state was corrupted.
  
-finally run the fancy command to see what's happening+Overview of the cluster:
  
 <code> <code>
Line 83: Line 88:
 </code> </code>
  
-to detach from tmux in tmux, you need to run prefix + prefix, in this case: ctrl-b, ctrl-b, d+Detach from tmux with ''Ctrl-b'', then ''d''. Never shut down the tmux session on scontrol-01: it runs Slurm in the foreground. 
 + 
 +===== See also =====
  
-never ever shut down the tmux session in scontrol. tmux is running in the foreground. you may exit now+  * [[infra:servers|Server Inventory]] 
 +  * [[infra:slurm|Slurm]] 
 +  * [[infra:overview|Infrastructure Overview]]