cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1039
Views
50
Helpful
0
Comments
chuangzl
Cisco Employee
Cisco Employee

Configure:

1. starting VNC service on esxi

enable VNC service on Firewall in each ESXI Host.

like this:

~ # cd /etc/vmware/firewall

/etc/vmware/firewall # vi vnc.xml

<!--Config for VNC-->

<ConfigRoot>

<service>

<id>VNC</id>

<rule id='0000'>

<direction>inbound</direction>

<protocol>tcp</protocol>

<porttype>dst</porttype>

<port>

<begin>5901</begin>

<end>5999</end>

</port>

</rule>

<rule id='0001'>

<direction>outbound</direction>

<protocol>tcp</protocol>

<porttype>dst</porttype>

<port>

<begin>0</begin>

<end>65535</end>

</port>

</rule>

<enabled>true</enabled>

<required>false</required>

</service>

</ConfigRoot>

/etc/vmware/firewall # cd

~ # esxcli network firewall refresh

~ # esxcli network firewall ruleset list|grep VNC

VNC                          true

~ #

2.     adding config vnc Task into workflow after creating a VM.


Programming:

1. using fenced:userAPIGetVNCURL api to get novnc's visiting url.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links

Review Cisco Networking for a $25 gift card