|
|
414140 |
# Hardware notes
|
|
|
414140 |
|
|
|
414140 |
## Seamicro Chassis
|
|
|
414140 |
|
|
|
414140 |
Seamicro was a brand that vanished from market but that's the hardware we still use for CentOS CI infra.
|
|
|
414140 |
It's composed of :
|
|
|
414140 |
|
|
|
414140 |
* hardware chassis working in "fabric" mode
|
|
|
414140 |
* network switch[es]
|
|
|
414140 |
* management (inband and out-of-band)
|
|
|
414140 |
* storage pool (64 * SSD)
|
|
|
414140 |
* compute card (64) each with dedicated cpu/memory and link to network/storage pool
|
|
|
414140 |
|
|
|
414140 |
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).
|
|
|
414140 |
|
|
|
414140 |
There are only two ways to interact with chassis :
|
|
|
414140 |
|
|
|
414140 |
* rest api exposed on the management ip of the chassis
|
|
|
414140 |
* cli (ssh into management card)
|
|
|
414140 |
|
|
|
414140 |
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).
|
|
|
414140 |
|
|
|
414140 |
Just keep in mind that indexing starts at 0 so first compute node is 0/0 and second one 1/0 and so on.
|
|
|
414140 |
|
|
|
414140 |
The CLI looks like cisco IOS so if you're familiar with it, it would all make sense.
|
|
|
414140 |
|
|
|
414140 |
!!! note
|
|
|
414140 |
we keep all chassis configuration in a git repository (that can be reused to reconfigure a whole chassis easily, including network/disks/vlan/etc)
|
|
|
414140 |
|
|
|
414140 |
### node operations
|
|
|
414140 |
`ssh into admin@<chassis>`
|
|
|
414140 |
|
|
|
414140 |
#### See summary/status
|
|
|
414140 |
`show server summary <n>/0/g`
|
|
|
414140 |
|
|
|
414140 |
#### Power Off
|
|
|
414140 |
`enable; power-off server <n>/0/g [force]`
|
|
|
414140 |
|
|
|
414140 |
#### Power on
|
|
|
414140 |
`enable; power-on server <n>/0/g [force]`
|
|
|
414140 |
|
|
|
414140 |
#### reset a node
|
|
|
414140 |
`enable; reset server <n>/0/g`
|
|
|
414140 |
|
|
|
414140 |
### Forcing a boot over pxe
|
|
|
414140 |
`enable ; reset server <n>/0/g using-pxe`
|
|
|
414140 |
|
|
|
414140 |
|
|
|
414140 |
### Chassis operation
|
|
|
414140 |
`ssh into admin@<chassis>`
|
|
|
414140 |
|
|
|
414140 |
#### Power off all nodes
|
|
|
414140 |
`enable; power-off server all [force]`
|
|
|
414140 |
|
|
|
414140 |
#### Power on all nodes
|
|
|
414140 |
`enable; power-on server all [force]`
|
|
|
414140 |
|
|
|
414140 |
#### Reset chassis
|
|
|
414140 |
```
|
|
|
414140 |
enable; power-off server all [force]
|
|
|
414140 |
reload
|
|
|
414140 |
```
|
|
|
414140 |
|
|
|
414140 |
### Access serial console of a seamicro node
|
|
|
414140 |
```
|
|
|
414140 |
ssh into admin@<chassis>
|
|
|
414140 |
enable; server console connect <n>/0/g
|
|
|
414140 |
```
|
|
|
414140 |
|
|
|
414140 |
|