Configuring the Serial Port Console
- Install serialproxy on the controller node and start the serialproxy service.
1 2 3
yum install openstack-nova-serialproxy systemctl enable openstack-nova-serialproxy systemctl start openstack-nova-serialproxy
- Modify the nova configuration file of the controller node.
- Open the /etc/nova/nova.conf file.
vi /etc/nova/nova.conf
- Add the following content to the file:
1 2 3 4 5
[serial_console] enabled=true port_range=10000:20000 serialproxy_host=0.0.0.0 serialproxy_port=6083
- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Open the /etc/nova/nova.conf file.
- Restart the Nova service on the controller node.
1systemctl restart openstack-nova-scheduler.service
- Install socat on the BMS management node.
1yum install socat
- Modify the nova configuration file of the BMS management node baremetal. Add the following content to the /etc/nova/nova.conf file:
1 2 3 4 5 6
[serial_console] enabled=true port_range=10000:20000 base_url=ws://controller:6083/ proxyclient_address=${my_ip} enabled=true
- Restart the Nova service on the BMS management node.
1systemctl restart openstack-nova-compute.service
Parent topic: Configuring the Bare Metal Instance Driver