Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

connect serial ports between instances

hi all, I have been give a task to attempt to get a windbg debugger connection via serial port between openstack instances.
from what I read I guess I need to setup something called a named pipe or setup type='tcp' serial ports on the instances.

I would appreciate anyone's advice on how to proceed or just suggestions on what it is I should be looking to do. as you might be able to tell I'm not 100% sure how to work what I am looking for. I basically need to make virtually what used to be a null modem cable between physical servers.

can I use flavor or image metadata tags to have openstack add more serial ports to an instance? say a type='tcp' serial port.
are there settings in the nova configuration that can change the instances serial configuration?
when searching around for info on this topic I mostly seen info about accessing the serial console which i think is different than I need

this what our current openstack config generates for serial in the libvirt XML. -- thanks!

<serial type='file'>
  <source path='/var/lib/nova/instances/9718928f-7e7c-43d8-ad10-1d6bd48fe8ef/console.log'/>
  <target port='0'/>
  <alias name='serial0'/>
</serial>
<serial type='pty'>
  <source path='/dev/pts/0'/>
  <target port='1'/>
  <alias name='serial1'/>
</serial>
<console type='file'>
  <source path='/var/lib/nova/instances/9718928f-7e7c-43d8-ad10-1d6bd48fe8ef/console.log'/>
  <target type='serial' port='0'/>
  <alias name='serial0'/>
</console>

connect serial ports between instances

hi all, I have been give a task to attempt to get a windbg debugger connection via serial port between openstack instances.
from what I read I guess I need to setup something called a named pipe or setup type='tcp' serial ports on the instances.

I would appreciate anyone's advice on how to proceed or just suggestions on what it is I should be looking to do. as you might be able to tell I'm not 100% sure how to work word what I am looking for. I basically need to make virtually what used to be a null modem cable between physical servers.

can I use flavor or image metadata tags to have openstack add more serial ports to an instance? say a type='tcp' serial port.
are there settings in the nova configuration that can change the instances serial configuration?
when searching around for info on this topic I mostly seen info about accessing the serial console which i think is different than I need

this what our current openstack config generates for serial in the libvirt XML. -- thanks!

<serial type='file'>
  <source path='/var/lib/nova/instances/9718928f-7e7c-43d8-ad10-1d6bd48fe8ef/console.log'/>
  <target port='0'/>
  <alias name='serial0'/>
</serial>
<serial type='pty'>
  <source path='/dev/pts/0'/>
  <target port='1'/>
  <alias name='serial1'/>
</serial>
<console type='file'>
  <source path='/var/lib/nova/instances/9718928f-7e7c-43d8-ad10-1d6bd48fe8ef/console.log'/>
  <target type='serial' port='0'/>
  <alias name='serial0'/>
</console>

connect serial ports between instances

hi all, I have been give a task to attempt to get a windbg debugger connection via serial port between openstack instances.
from what I read I guess I need to setup something called a named pipe or setup type='tcp' serial ports on the instances.

I would appreciate anyone's advice on how to proceed or just suggestions on what it is I should be looking to do. as you might be able to tell I'm not 100% sure how to word what I am looking for. I basically need to make virtually what used to be a null modem cable between physical servers.

can I use flavor or image metadata tags flavor/image extraspec to have openstack add more serial ports to an instance? say a type='tcp' serial port.
are there settings in the nova configuration that can change the instances instance's serial configuration?
when searching around for info on this topic I I've mostly seen info about accessing the serial console which i think is different than I need need.

this what our current openstack config generates for serial in the libvirt XML. -- thanks!

<serial type='file'>
  <source path='/var/lib/nova/instances/9718928f-7e7c-43d8-ad10-1d6bd48fe8ef/console.log'/>
  <target port='0'/>
  <alias name='serial0'/>
</serial>
<serial type='pty'>
  <source path='/dev/pts/0'/>
  <target port='1'/>
  <alias name='serial1'/>
</serial>
<console type='file'>
  <source path='/var/lib/nova/instances/9718928f-7e7c-43d8-ad10-1d6bd48fe8ef/console.log'/>
  <target type='serial' port='0'/>
  <alias name='serial0'/>
</console>