Creating Serial Console Access in VMware ESXi v5.5

Creating Serial Console Access in VMware ESXi v5.5

1. Power off the VM.
2. Right-click the VM and configure the virtual serial port settings.
2.1 Choose Edit Settings > Add.
2.2 Choose Device Type > Serial port, and Next.
2.3 In “Serial Port Output”, select “Connect via Network”, and Next.
3. Select the Server (VM listens for connection) option.
3.1 Enter the Port URI: telnet://:[portnumber]
3.2 Select “Connect at power on”
3.3 Under I/O mode, select”Yield CPU on poll”, and Next.
4.Configure the security settings for the virtual serial port.
4.1 Select the ESXi host.
4.2 Click the Configuration tab and click Security Profile in Software section.
4.3 To the right of Firewall section, click Properties
4.4 Scroll down and Select “VM serial port connected over Network”, check it and OK.
5. Power on the VM.
6. telnet ESXi_host_IP [portnumber] to access VM serial console.

# VM Enable serial console, Ubuntu 14.04
1. configure grub
1.1 edit /etc/default/grub and add the following lines
GRUB_CMDLINE_LINUX=’console=tty0 console=ttyS0,115200n8′
GRUB_SERIAL_COMMAND=”serial –unit=0 –speed=115200 –word=8 –parity=no –stop=1″

1.2 update grub
sudo update-grub

2. ttyS0.conf
2.1 Add /etc/init/ttyS0.conf
# ttyS0 – getty
# This service maintains a getty on ttyS0 from the point the system is
# started until it is shut down again.

start on stopped rc or RUNLEVEL=[12345]
stop on runlevel [!12345]

exec /sbin/getty -L 115200 ttyS0 vt102

2.1 start getty
sudo start ttyS0
# CSR1000v enable serial console
Router> enable
Router# configure terminal
Router(config)# platform console serial
Router(config)# end
Router# copy system:running-config nvram:startup-config
Router# reload

This entry was posted in Internet, Linux, Routing and Switching, VMware. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s