CAT: lenovo

  2018-11-16

IBB brain shutdown procedure

This document describes procedure to shutdown an IBB brain instance.

Shutdown procedure

  1. On RHV admin portal, shutdown all virtual machines but not the hosted-engine.

  2. Put the cluster in global maintenance mode by login any brain server, and hosted-engine --set-maintenance --mode=global.

    To verify, login in a brain node and hosted-engine ...

  2018-06-27

Server RAID

If you are like me who dislikes any GUI and mouse clicks, CLI via a SSH session to IMM is a fun way to get things done. This one shows how to config disks into RAID.

CLI manual is here.

usage:
    storage -config vol -option [-options] -target target_id
options:
    -remove ...

  2018-06-08

Network switch

Network switch is a gold mine. You will need (ip, username, pwd) to get to it, using Telnet(!). Your friend is pexpect, but even that gives you jinx sometimes when each switch can return you some random garbages once a while that makes session.expect("your regex pattern") to time ...