| # Hardware notes |
|
|
| # |
| |
| Seamicro was a brand that vanished from market but that's the hardware we still use for CentOS CI infra. |
| It's composed of : |
| |
| * hardware chassis working in "fabric" mode |
| * network switch[es] |
| * management (inband and out-of-band) |
| * storage pool (64 * SSD) |
| * compute card (64) each with dedicated cpu/memory and link to network/storage pool |
| |
| Worth knowing that Seamicro doesn't provide webui for management, nor is ipmi compliant. There is also no vga/keyboard/mouse interaction with the chassis nor the compute nodes (servers). |
| |
| There are only two ways to interact with chassis : |
| |
| * rest api exposed on the management ip of the chassis |
| * cli (ssh into management card) |
| |
| We'll cover here some basic operations to power-on/off a server, take a remote SoL console (each compute node emulates ttyS0 so all installs are using serial redirection, as no vga, for console access). |
| |
| Just keep in mind that indexing starts at 0 so first compute node is 0/0 and second one 1/0 and so on. |
| |
| The CLI looks like cisco IOS so if you're familiar with it, it would all make sense. |
| |
| !!! note |
| we keep all chassis configuration in a git repository (that can be reused to reconfigure a whole chassis easily, including network/disks/vlan/etc) |
|
|
| # |
| `ssh into admin@<chassis>` |
|
|
| # |
| `show server summary <n>/0/g` |
|
|
| # |
| `enable; power-off server <n>/0/g [force]` |
|
|
| # |
| `enable; power-on server <n>/0/g [force]` |
|
|
| # |
| `enable; reset server <n>/0/g` |
|
|
| # |
| `enable ; reset server <n>/0/g using-pxe` |
|
|
| |
| # |
| `ssh into admin@<chassis>` |
|
|
| # |
| `enable; power-off server all [force]` |
|
|
| # |
| `enable; power-on server all [force]` |
|
|
| # |
| ``` |
| enable; power-off server all [force] |
| reload |
| ``` |
|
|
| # |
| ``` |
| ssh into admin@<chassis> |
| enable; server console connect <n>/0/g |
| ``` |
| |
| |