ESX(i) installation

OpenVMS virtualization: OpenVMS on VirtualBox, VMWare, Hyper-V, KVM, and more.
Post Reply

Topic author
divit
Newbie
Posts: 3
Joined: Tue Oct 13, 2020 7:40 am
Reputation: 1
Status: Offline

ESX(i) installation

Post by divit » Thu Jun 08, 2023 5:23 am

Hi,
having trouble installing 9.2 on ESX (not sure what version).
Everything works out fine till I need to telnet to the serial port to see the 9 steps menu

Configured the OpenVMS with (example) 10.10.10.10 port 2023
BUT WHERE do I start Telent to this ip-adres+port

Also tried the named pipe but colleague told me that does not work on the ESX we use.

I got 9.2 working on MacOS (iMac) using Virtualbox without any problems :-)

Bart


sodjan
Active Contributor
Posts: 40
Joined: Mon Apr 24, 2023 3:51 am
Reputation: 0
Status: Offline

Re: ESX(i) installation

Post by sodjan » Thu Jun 08, 2023 8:47 am

You start a telnet client from anywhere outside of the ESX that has access to that IP address.
Where did you start it in the VirtualBox case? It should not be different in the ESX case, as far as I understand.

User avatar

m_detommaso
Valued Contributor
Posts: 67
Joined: Thu Jun 06, 2019 6:57 am
Reputation: 0
Location: Brindisi (Italy)
Status: Offline
Contact:

Re: ESX(i) installation

Post by m_detommaso » Thu Jun 08, 2023 9:49 am


Premise: I assume that your ESXi VM configuration for VMS is correct.

The access to the VM serial console may be blocked; in this case you need to check the ESXi firewall configuration.

First of all, check if the firewall is active :

> esxcli network firewall get

if the firewall is active, then check the existing firewall rules regarding remote serial ports :

> esxcli network firewall ruleset rule list -r remoteSerialPort

Code: Select all

Ruleset          Direction Protocol Port Type Port Begin Port End
---------------- --------- -------- --------- ---------- --------
remoteSerialPort Outbound  TCP      Dst          0       65535
remoteSerialPort Inbound   TCP      Dst         23          23
remoteSerialPort Inbound   TCP      Dst       1024       65535 <--!!! 
Note: The line of interest is the last one, controlling Inbound serial port connections

This rule, while already being defined, might not be enabled :

> esxcli network firewall ruleset list -r remoteSerialPort

Code: Select all

Name             Enabled
---------------- -------
remoteSerialPort false
if the remoteSerialPort rule is not yet activated :

> esxcli network firewall ruleset set -r remoteSerialPort -e true

Also make sure you have defined the following ESXi VM variables (modifying or creating variables is performed within a VM’s “Edit” window at the Tab “VM Options”, entry “Advanced”) :

efi.serialconsole.enabled = "TRUE"
efi.shell.activeByDefault = "TRUE"
efi.quickBoot.enabled = "FALSE"


/Maurizio
Last edited by m_detommaso on Thu Jun 08, 2023 10:02 am, edited 1 time in total.


Topic author
divit
Newbie
Posts: 3
Joined: Tue Oct 13, 2020 7:40 am
Reputation: 1
Status: Offline

Re: ESX(i) installation

Post by divit » Fri Jun 09, 2023 5:54 am

sodjan wrote:
Thu Jun 08, 2023 8:47 am
You start a telnet client from anywhere outside of the ESX that has access to that IP address.
Where did you start it in the VirtualBox case? It should not be different in the ESX case, as far as I understand.
On my iMac things are simple :-) (configure a VM with the settings required and start Telnet to the ip-adres port)

VM0099 - Can start the VM with the ISO on it and everything works untill the boot command
VM0099 is configured with an ip-address and port on the server side (serial port)

We took VM0001 and configured it on the same network with the same ip-address and port on the client side (serial port)

But unfortunately I am unable to connect to the VM0099 console.

Must be a firewall thing
Thanks for answering

Added in 2 hours 30 minutes 50 seconds:
m_detommaso wrote:
Thu Jun 08, 2023 9:49 am

Premise: I assume that your ESXi VM configuration for VMS is correct.

The access to the VM serial console may be blocked; in this case you need to check the ESXi firewall configuration.

First of all, check if the firewall is active :

> esxcli network firewall get

if the firewall is active, then check the existing firewall rules regarding remote serial ports :

> esxcli network firewall ruleset rule list -r remoteSerialPort

Code: Select all

Ruleset          Direction Protocol Port Type Port Begin Port End
---------------- --------- -------- --------- ---------- --------
remoteSerialPort Outbound  TCP      Dst          0       65535
remoteSerialPort Inbound   TCP      Dst         23          23
remoteSerialPort Inbound   TCP      Dst       1024       65535 <--!!! 
Note: The line of interest is the last one, controlling Inbound serial port connections

This rule, while already being defined, might not be enabled :

> esxcli network firewall ruleset list -r remoteSerialPort

Code: Select all

Name             Enabled
---------------- -------
remoteSerialPort false
if the remoteSerialPort rule is not yet activated :

> esxcli network firewall ruleset set -r remoteSerialPort -e true

Also make sure you have defined the following ESXi VM variables (modifying or creating variables is performed within a VM’s “Edit” window at the Tab “VM Options”, entry “Advanced”) :

efi.serialconsole.enabled = "TRUE"
efi.shell.activeByDefault = "TRUE"
efi.quickBoot.enabled = "FALSE"


/Maurizio
Maurizio
the information is more then welcome

but
I am not an ESXi wizard nor am I a user with admin rights
The only thing I can do is access my VMS through a web address

A colleague with more rights installed a VM for me
We coupled the ISO en we are able to start the Boot from the BOOTMGR
But now we need to access this VM using a serial port

So we configured an idle VM with the client side ip-address and port (10.10.10.10 2023)
and the VM we want 9.2 to be installed on with the server side ip-adress and port (10.10.10.10 2023)

Now if I want to check the firewall I need to get to a place where I can type in these command you give. I have no idea where?

Maybe the easiest question:
My VM99 is without an ip adres but has a serial port on tcp:\10.2.225.143 2023 (or tcp:/10.2.225.143:2023 I forgot)

So if I have prompt access to another VM with let's say OpenVMS 8.4 on in, HOW DO I ACCESS the serial port on VM99
$ telnet 10.2.225.143 2023 does not work

telnetting to other OpenVMS hosts does work

I am unable to describe my problem in more detail I'm afraid.

and I am probably doing things wrong or am misunderstandig the documentation. But I am stupid enough to get things working op MacOs, Virtualbox :-)

Post Reply