Virtual Serial Port (vSPC) on VM Servers
- 18 Apr 2023
- 1 Minute to read
-
Print
-
DarkLight
-
PDF
Virtual Serial Port (vSPC) on VM Servers
- Updated on 18 Apr 2023
- 1 Minute to read
-
Print
-
DarkLight
-
PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
To redirect the VMware VM vSPC data to the Nodegrid Platform, the VM serial port needs to be configured.
Configure vSPC on VM Server
Ensure the VM is turned off.
- Open the ESXi configuration (vSphere).
- Select the VM and click Edit Virtual Machine Settings.
- Click Add (displays dialog).
- Click Serial Manager Device.
- On the pop-up dialog, click Next.
- Click Connect Via Network, then click Next.
- Select Client (VM initiates the connection).
- (optional) For Port URI, enter <group_id> (identifier used during Auto Discovery to relate servers of the same group).
- On vSPC URI, type telnet://<IP or Nodegrid Manager hostname>:9977.
- Click Finish.
- On the ESXi firewall, ensure the vSPC port is enabled. To confirm, go to ESXi Configuration, select Security Profile and click on Properties.
- On the Remote Access page, review the box related to VM serial port connected to vSPC.
Outgoing Ports should have a TCP port range starting from 1024 or higher. The port range must include the TCP port used on the vSPC URI field (default 9977).
Modify Outgoing Port Range
- Connect to the ESXi command line.
- Execute the following command:Text
# vi /etc/vmware/firewall/service.xml
- Edit the port section:Text
<!—Remote serial port with vSPC: all remote serial port traffic is initiated <service id="0030"> <id>vSPC</id> <rule id='0000'> <direction>outbound</direction> <protocol>tcp</protocol> <porttype>dst</porttype> <port> <begin>1024</begin> <end>65535</end> </port> </rule> <enabled>false</enabled> <required>false</required> </service>
- Save the changes and then restart the firewall service.
# esxcli network firewall refresh
For further information on VMware firewall, please refer to the VMware Knowledge Base.
Was this article helpful?