Search

Dienstag, 16. April 2019

Change VM VLAN ID int acli (before 5.10.X)

In pre-5.10.x versions, you cannot change the vlan id of an existing vm nic in Prism. For that, you can use following command from any of the cvms

1. Please shutdown the VM
2. Connect to any of the cvm
3. Update the nic: acli vm.nic_update VMNAME 50:6b:8d:1e:40:50 network=VLAN_150

Prism Central Registration failed

We got problems by registrating PE at PC

Please verify that if you configured a proxy server, that you whitelist the PC-IP-Adress at PE Site and the PE-IP-Adress from PC Site. Otherwise Prism tries to connect by using the proxy.

Dienstag, 9. April 2019

Configuring VMware vSwitches by vSphere CLI (using hostssh for nutanix cluster)

Configuring VMware vSwitches by vSphere CLI (using hostssh for nutanix cluster)

you can set the following commands in a nutanix CVM. If you are not using nutanix - you can remove the "hostssh" parameter in front of the command.

1. Set active uplink ports in vSwitch0

hostssh esxcli network vswitch standard policy failover set -a vmnic2,vmnic3 -v vSwitch0

2. Remove unused ports in vSwitch0

hostssh esxcli network vswitch standard uplink remove --uplink-name=vmnic0 --vswitch-name=vSwitch0

3. Create VM portgroup in vSwitch 0

hostssh esxcli network vswitch standard portgroup add -p <VM NETWORK> -v vSwitch0

4. Set vlan ID for the newly created portgroup

hostssh esxcli network vswitch standard portgroup set -p <VM NETWORK> --vlan-id 55