Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring the Serial Port Console

  1. 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
    
  2. Modify the nova configuration file of the controller node.
    1. Open the /etc/nova/nova.conf file.
      vi /etc/nova/nova.conf
    2. 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
      
    3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
  3. Restart the Nova service on the controller node.
    1
    systemctl restart openstack-nova-scheduler.service
    
  4. Install socat on the BMS management node.
    1
    yum install socat
    
  5. 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
    
  6. Restart the Nova service on the BMS management node.
    1
    systemctl restart openstack-nova-compute.service