@@ -225,6 +225,43 @@ In order to use an external provisioning service, simply attach the node to the
225225| Attach Network to Node | ``openstack esi node network attach (--network <network> | --port <port>) <node>`` |
226226+-------------------------------+------------------------------------------------------------------------------------+
227227
228+ Serial Console Access
229+ ---------------------
230+
231+ In order to access a node using a serial console, the admin or owner must configure the node's console interface.
232+ Instructions for this can be found under `Configuring Web or Serial Console `_ in Ironic's documentation.
233+ Once the node is properly configured, the console can be enabled and disabled as needed.
234+
235+ +-----------------+-----------------------------------------------------+
236+ | | **Actions ** |
237+ +-----------------+-----------------------------------------------------+
238+ | Enable Console | ``openstack baremetal node console enable <node> `` |
239+ +-----------------+-----------------------------------------------------+
240+ | Disable Console | ``openstack baremetal node console disable <node> `` |
241+ +-----------------+-----------------------------------------------------+
242+
243+ Serial console information is available from the Bare Metal service. Get
244+ serial console information for a node from the Bare Metal service as follows:
245+
246+ +---------------------------+--------------------------------------------------+
247+ | | **Actions ** |
248+ +---------------------------+--------------------------------------------------+
249+ | Show Console Information | ``openstack baremetal node console show <node> `` |
250+ +---------------------------+--------------------------------------------------+
251+
252+ ``openstack baremetal node console show <node> `` will generate the following output:
253+
254+ +-----------------+----------------------------------------------------------------------+
255+ | Property | Value |
256+ +-----------------+----------------------------------------------------------------------+
257+ | console_enabled | True |
258+ +-----------------+----------------------------------------------------------------------+
259+ | console_info | {u'url': u'``tcp://<host>:<port> ``', u'type': u'socat'} |
260+ +-----------------+----------------------------------------------------------------------+
261+
262+ If ``console_enabled `` is ``false `` or ``console_info `` is ``None `` then
263+ the serial console is disabled. Note, there can only be one ipmi connection to the node, meaning only one user may access the console at a time.
264+
228265Additional ESI CLI Actions
229266--------------------------
230267
@@ -284,3 +321,4 @@ Trunk Ports
284321.. _Ironic boot-from-volume documentation : https://docs.openstack.org/ironic/latest/admin/boot-from-volume.html
285322.. _python-esiclient : https://github.com/CCI-MOC/python-esiclient
286323.. _python-esileapclient : https://github.com/CCI-MOC/python-esileapclient
324+ .. _Configuring Web or Serial Console : https://docs.openstack.org/ironic/latest/admin/console.html
0 commit comments