Balrog Posted August 24, 2017 #1 Posted August 24, 2017 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). 1 3 Quote
NeoID Posted August 24, 2017 #2 Posted August 24, 2017 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? Quote
Balrog Posted August 24, 2017 Author #3 Posted August 24, 2017 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. Quote
463nt0ran63 Posted November 14, 2017 #4 Posted November 14, 2017 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 Quote
Balrog Posted November 16, 2017 Author #5 Posted November 16, 2017 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 Quote
davioxx Posted January 4, 2019 #6 Posted January 4, 2019 bumping this old thread, what user do I use if it is the first setup of the diskstation? Regards Quote
Balrog Posted January 5, 2019 Author #7 Posted January 5, 2019 bumping this old thread, what user do I use if it is the first setup of the diskstation? RegardsIf 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). Quote
flyride Posted January 30, 2019 #8 Posted January 30, 2019 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. Quote
shax Posted April 3, 2019 #9 Posted April 3, 2019 On 8/24/2017 at 2:04 PM, Balrog said: 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). U sir are amazing maluch appreciated 1 Quote
DemoGeek Posted May 11, 2020 #10 Posted May 11, 2020 I am having this strange issue where Jun Loader 1.04(b) with DS918+ is not working with ESXi 6.7SU2. In order to troubleshoot, i turned on the serial interface as per instructions above and got the serial connection successfull but it does not show anything other than the initial screen of GNU Grub version 2.02 ==================================================================== GNU GRUB version 2.02 +----------------------------------------------------------------------------+ | DS918+ 6.2.1/6.2 Baremetal with Jun's Mod v1.04b | | DS918+ 6.2.1/6.2 Baremetal with Jun's Mod v1.04b Reinstall | |*DS918+ 6.2.1/6.2 VMWare/ESXI with Jun's Mod v1.04b | | | +----------------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, `e' to edit the commands . before booting or `c' for a command-line. ==================================================================== THIS IS THE ONLY SCREEN I SEE on the SERIAL CONSOLE What am I missing? Quote
Balrog Posted May 12, 2020 Author #11 Posted May 12, 2020 I am having this strange issue where Jun Loader 1.04(b) with DS918+ is not working with ESXi 6.7SU2. In order to troubleshoot, i turned on the serial interface as per instructions above and got the serial connection successfull but it does not show anything other than the initial screen of GNU Grub version 2.02 ==================================================================== GNU GRUB version 2.02 +----------------------------------------------------------------------------+ | DS918+ 6.2.1/6.2 Baremetal with Jun's Mod v1.04b | | DS918+ 6.2.1/6.2 Baremetal with Jun's Mod v1.04b Reinstall | |*DS918+ 6.2.1/6.2 VMWare/ESXI with Jun's Mod v1.04b | | | +----------------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, `e' to edit the commands . before booting or `c' for a command-line. ==================================================================== THIS IS THE ONLY SCREEN I SEE on the SERIAL CONSOLE What am I missing?"Port URI" is set to "telnet://:8601" at my installation and it's working since years.But you use the wrong network card type: should be "E1000e" and not "E1000". Quote
DemoGeek Posted May 12, 2020 #12 Posted May 12, 2020 Yes I tried every option out there , including E1000, E1000e, VXMNet3 ... but no luck... I figured out after some searching that my CPU is old one Xeon - SandyBridge on this particular test. Same server , no issues with the 3615 or 3617 install. I believe that might be the issue. Quote
Balrog Posted May 13, 2020 Author #13 Posted May 13, 2020 Yes I tried every option out there , including E1000, E1000e, VXMNet3 ... but no luck... I figured out after some searching that my CPU is old one Xeon - SandyBridge on this particular test. Same server , no issues with the 3615 or 3617 install. I believe that might be the issue. Yes that's exactly the issue: your cpu does not have the needed instructions for the newest DSM. But in my case the 3615xs-image is working stable and without issues for a long time. So either upgrade your cpu/motherboard or stay at 3615/3617. Quote
StanG Posted August 15, 2020 #14 Posted August 15, 2020 (edited) You can also connect two serial ports on 2 VM's together. So you configure serial port as named pipe "DSMserial1", near end: server, connect to virtual machine. On a another (management) VM configure serial port as named pipe "DSMserial1", near end: client, connect to virtual machine. Now on the management VM open putty (or other terminal software) with serial port COM1 and you will get the output of the serial port of the DSM VM. Like a virtual serial cable from one VM to the other. Edited August 15, 2020 by StanG 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.