Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| infra:virtual_machines [2026/05/03 18:40] – external edit 127.0.0.1 | infra: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 ====== |
| - | < | + | Runbook for starting |
| - | 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/ | ||
| - | vm start thick-01 | + | '' |
| - | ping thick-01 | + | |
| - | </ | + | |
| - | 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. | ||
| < | < | ||
| - | 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 |
| </ | </ | ||
| - | There might be other VMs for other users that you might need to run | + | If R Shiny is needed: |
| < | < | ||
| vm start rshiny0 | vm start rshiny0 | ||
| - | ping rshiny-0 | + | ping rshiny0 |
| vm start rshiny1 | vm start rshiny1 | ||
| - | ping rshiny-1 | + | ping rshiny1 |
| </ | </ | ||
| - | here's how the output of vm list would look like | + | Then the login nodes: |
| < | < | ||
| - | root@geonosis: | + | vm start ssh-01 |
| - | NAME DATASTORE | + | ping ssh-01 |
| - | comp0 | + | |
| - | dl-01 default | + | vm start ssh-02 |
| - | dl-02 | + | ping ssh-02 |
| - | dna0 default | + | |
| - | mitte-dev-01 | + | |
| - | rshiny0 | + | |
| - | rshiny1 | + | |
| - | ssh-01 default | + | |
| - | ssh-02 | + | |
| - | thick-01 | + | |
| - | thin-01 | + | |
| - | thin-02 | + | |
| </ | </ | ||
| - | Finally, you will need to update | + | ===== Notes ===== |
| + | |||
| + | * **Do not start '' | ||
| + | * 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 '' | ||
| + | |||
| + | ===== After boot: Slurm ===== | ||
| + | |||
| + | If the Slurm controller is healthy, no action is needed. Otherwise: | ||
| < | < | ||
| Line 61: | Line 68: | ||
| </ | </ | ||
| - | attach | + | Attach |
| - | + | ||
| - | the following command will show the issues | + | |
| < | < | ||
| Line 69: | Line 74: | ||
| </ | </ | ||
| - | you can " | + | After a node has booted, return it to service: |
| < | < | ||
| Line 75: | Line 80: | ||
| </ | </ | ||
| - | note that this command is idempotent and will run once between reboots (unless the state gets corrupted | + | The command is idempotent and needed |
| - | finally run the fancy command to see what's happening | + | Overview of the cluster: |
| < | < | ||
| Line 83: | Line 88: | ||
| </ | </ | ||
| - | to detach | + | Detach |
| + | |||
| + | ===== See also ===== | ||
| - | never ever shut down the tmux session in scontrol. tmux is running in the foreground. you may exit now | + | * [[infra: |
| + | * [[infra: | ||
| + | * [[infra: | ||
