Balrog

Enabling serial port in ESXi for a VM

Recommended Posts

A little help for everyone who struggles a little bit with enabling the serial console in ESXi. This manual works 1:1:

https://www.juniper.net/documentation/en_US/vmx15.1f4/topics/task/configuration/vmx-vm-connecting-vmware.html

 

in short:

 

# at ESXi:
open Firewall for serial Console

 

# at VM:
add Serial Port 1
- Use Network
- Connect at Power
- Direction: Server
- Port URI: telnet://:8601

 

In PuTTY the connection will be made as:

Type: Telnet

Hostname: IP-of-your-ESXi-Host

Port: The-port-you-entered-in-the-config-of-the-VM (e.g. 8601)

 

With this you have at every time contact to the Xpenology-VM-Console even a driver wont be load with a upgrade (like in Loader 1.02a). :-)

  • Like 1
  • Thanks 2

Share this post


Link to post
Share on other sites

I know this was required before, but what's the benefit of adding the serial port?

Just debugging information and being able to do low-level stuff if SSH is down/disabled?

Share this post


Link to post
Share on other sites

As I wrote: You are able with this to access a direct console at every time. Like an insurance if things go bad. Even without loaded nic-drivers in the VM or disabled SSH.
In the past this was the access via iLO for me as DSM was installed bare-metal on a HP Microserver Gen8.

Share this post


Link to post
Share on other sites
As I wrote: You are able with this to access a direct console at every time. Like an insurance if things go bad. Even without loaded nic-drivers in the VM or disabled SSH.
In the past this was the access via iLO for me as DSM was installed bare-metal on a HP Microserver Gen8.
Is this still possible on esxi 6.5 free edition for you?
For me a license issue is shown in the vmware.log of the virtual machine :(

Is there maybe another way?

Gesendet von meinem ONE A2003 mit Tapatalk

Share this post


Link to post
Share on other sites

It is possible that the serial port function is only available with a licensed esxi-host but I am not sure about this.

Sent from my SM-T810 using Tapatalk

Share this post


Link to post
Share on other sites

bumping this old thread, what user do I use if it is the first setup of the diskstation?

 

Regards

Share this post


Link to post
Share on other sites
bumping this old thread, what user do I use if it is the first setup of the diskstation?
 
Regards
If you just booted from the usb-stick and not have installed DSM via the assistant than you can't login to the system. :-)

If DSM is installed you can login as "root" if you wish or with "admin" and change to root afterwards (the same way you use if you login via ssh).

Share this post


Link to post
Share on other sites
On ‎11‎/‎16‎/‎2017 at 1:16 PM, Balrog said:

It is possible that the serial port function is only available with a licensed esxi-host but I am not sure about this.

Sent from my SM-T810 using Tapatalk
 

 

Reviving an old thread - the free ESXi license does not allow redirection of a virtual serial port to a network daemon.   Virtual serial ports are in fact supported, however.

 

If you happen to have a motherboard with a BMC (baseboard management controller) that supports SOL (serial over LAN), it is trivial to set up the ESXi virtual serial port to be serviced by the system physical serial port, which is then redirected via SOL to a BMC-based terminal application.

 

The other option is to run ESXi in demo mode and renew the demo license every 60 days.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.