### Install VirtualBMC via pip Source: https://docs.openstack.org/virtualbmc/latest/install/index.html Standard installation command for the VirtualBMC package. ```bash $ pip install virtualbmc ``` -------------------------------- ### Install VirtualBMC with virtualenvwrapper Source: https://docs.openstack.org/virtualbmc/latest/install/index.html Installation command for users managing environments with virtualenvwrapper. ```bash $ mkvirtualenv virtualbmc $ pip install virtualbmc ``` -------------------------------- ### Manage virtual BMC state Source: https://docs.openstack.org/virtualbmc/latest/user/index.html Start or stop the virtual BMC service for a specific libvirt domain. ```bash $ vbmc start node-0 ``` ```bash $ vbmc stop node-0 ``` -------------------------------- ### Display vbmc help information Source: https://docs.openstack.org/virtualbmc/latest/user/index.html View general help or command-specific help for the vbmc tool. ```bash $ vbmc --help ``` ```bash $ vbmc add --help ``` -------------------------------- ### List and inspect virtual BMCs Source: https://docs.openstack.org/virtualbmc/latest/user/index.html View the status of all managed virtual BMCs or show detailed configuration for a specific instance. ```bash $ vbmc list +-------------+---------+---------+------+ | Domain name | Status | Address | Port | +-------------+---------+---------+------+ | node-0 | running | :: | 623 | | node-1 | running | :: | 6230 | +-------------+---------+---------+------+ ``` ```bash $ vbmc show node-0 +-----------------------+----------------+ | Property | Value | +-----------------------+----------------+ | address | :: | | domain_name | node-0 | | libvirt_sasl_password | *** | | libvirt_sasl_username | None | | libvirt_uri | qemu:///system | | password | *** | | port | 623 | | status | running | | username | admin | +-----------------------+----------------+ ``` -------------------------------- ### IPMI commands for virtual BMC control Source: https://docs.openstack.org/virtualbmc/latest/user/index.html Use ipmitool to manage virtual machine power states and boot configurations via the virtual BMC interface. ```bash $ ipmitool -I lanplus -U admin -P password -H 127.0.0.1 -p 6230 power on ``` ```bash $ ipmitool -I lanplus -U admin -P password -H 127.0.0.1 -p 6230 power status ``` ```bash $ ipmitool -I lanplus -U admin -P password -H 127.0.0.1 -p 6230 chassis bootdev disk ``` ```bash $ ipmitool -I lanplus -U admin -P password -H 127.0.0.1 -p 6230 chassis bootparam get 5 ``` -------------------------------- ### Add a virtual BMC Source: https://docs.openstack.org/virtualbmc/latest/user/index.html Register a libvirt domain to be controlled by a virtual BMC, optionally specifying a port or remote libvirt URI. ```bash $ vbmc add node-0 ``` ```bash $ vbmc add node-1 --port 6230 ``` ```bash $ vbmc add node-1 --port 6230 \ --libvirt-uri qemu+ssh://username@192.168.122.1/system ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.