Quantcast
Channel: VMware Communities: Message List
Viewing all 230224 articles
Browse latest View live

newbie server deploy help please

$
0
0

Hello there

 

Apologies for this vague request. But I would like some advice on how to actually go about doing the following step by step; (Basically I am taking on a 3rd line Wintel role and not done these tasks before so going to learn the hard way on the job. But I would appreciate any help and advice. We have all started somewhere so please share you experience. I would be ever so grateful)

Requirements;

 

Using VMware vSphere to deploy new servers and engage with vendors to support applications installs and configurations

What are the key things to starting this? I mean what are common best practices to creating a new VM server via VSphere

Setup Server maintenance tasks and document procedures

What sort of typical tasks do we set up here exactly? how and where?

 

Refining monitoring systems

How do we refine monitoring systems?

 

 

VDI Skills (VMware Horizon) to configure and refine desktop images and GPO Policies

I am confused. Isnt SCCM used to deploy system OS? How does creating a VM VDI differ from creating an OS using SCCM? Is it a case of either deploy the OS via SCCM or VMware?


Trouble with host profiles (VMware devs out there?)

$
0
0

It appears that if a host is assigned membership in at least one vDS via its host profile, then on stateless boot the host removes vmk0 and tries to re-create it. This appears to happen regardless of the configuration defined in the "Host port group" section of the host profile, and regardless of the specifics of any vDS configuration. Simply having a vDS membership defined seems to trigger it.

 

This behavior can be observed in the hostprofiletrace.log. Note that this host profile is completely empty except for the single default vSwitch0, a default vmk0, default netstack, and a simple default vDS with one uplink on a different vmnic than vSwitch0. Everything else in the host profile is disabled. The logs below are from ESXi 6.5, but I suspect the behavior would be the same on other verisons.

 

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^512^^^ Command: esxcli ['network', 'nic', 'list'], status: (0), output: "[{'Duplex': 'Full', 'Speed': 20000, 'Driver': 'nenic', 'MTU': 1500, 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Name': 'vmnic0', 'PCI Device': '0000:06:00.0', 'Description': 'Cisco Systems Inc Cisco VIC Ethernet NIC', 'Link': 'Up', 'Link Status': 'Up', 'Admin Status': 'Up'}, {'Duplex': 'Full', 'Speed': 20000, 'Driver': 'nenic', 'MTU': 1500, 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Name': 'vmnic1', 'PCI Device': '0000:07:00.0', 'Description': 'Cisco Syst

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^512^^^ Command: esxcli ['network', 'nic', 'list'], status: (0), output: "[{'Duplex': 'Full', 'Speed': 20000, 'Driver': 'nenic', 'MTU': 1500, 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Name': 'vmnic0', 'PCI Device': '0000:06:00.0', 'Description': 'Cisco Systems Inc Cisco VIC Ethernet NIC', 'Link': 'Up', 'Link Status': 'Up', 'Admin Status': 'Up'}, {'Duplex': 'Full', 'Speed': 20000, 'Driver': 'nenic', 'MTU': 1500, 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Name': 'vmnic1', 'PCI Device': '0000:07:00.0', 'Description': 'Cisco Syst

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^512^^^ Command: esxcli ['network', 'nic', 'list'], status: (0), output: "[{'Duplex': 'Full', 'Speed': 20000, 'Driver': 'nenic', 'MTU': 1500, 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Name': 'vmnic0', 'PCI Device': '0000:06:00.0', 'Description': 'Cisco Systems Inc Cisco VIC Ethernet NIC', 'Link': 'Up', 'Link Status': 'Up', 'Admin Status': 'Up'}, {'Duplex': 'Full', 'Speed': 20000, 'Driver': 'nenic', 'MTU': 1500, 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Name': 'vmnic1', 'PCI Device': '0000:07:00.0', 'Description': 'Cisco Syst

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^512^^^ Command: esxcli ['network', 'nic', 'list'], status: (0), output: "[{'Duplex': 'Full', 'Speed': 20000, 'Driver': 'nenic', 'MTU': 1500, 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Name': 'vmnic0', 'PCI Device': '0000:06:00.0', 'Description': 'Cisco Systems Inc Cisco VIC Ethernet NIC', 'Link': 'Up', 'Link Status': 'Up', 'Admin Status': 'Up'}, {'Duplex': 'Full', 'Speed': 20000, 'Driver': 'nenic', 'MTU': 1500, 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Name': 'vmnic1', 'PCI Device': '0000:07:00.0', 'Description': 'Cisco Syst

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Is Using IPv6': False, 'Network Server Port': 0, 'Host VNic': '', 'Network Server IP': '', 'Enabled': False}", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^146^^^ Command: esxcli ['network', 'vswitch', 'standard', 'add', '--vswitch-name', 'vSwitch0', '--ports', '128'], status: (0), output: "True", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^165^^^ Command: esxcli ['network', 'vswitch', 'standard', 'uplink', 'add', '--vswitch-name', 'vSwitch0', '--uplink-name', 'vmnic0'], status: (0), output: "True", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^145^^^ Command: esxcli ['network', 'vswitch', 'standard', 'set', '--vswitch-name', 'vSwitch0', '--mtu', '1500'], status: (0), output: "True", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^183^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'add', '--portgroup-name', 'Management Network', '--vswitch-name', 'vSwitch0'], status: (0), output: "True", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^216^^^ Command: esxcli ['network', 'vswitch', 'standard', 'policy', 'security', 'set', '--vswitch-name', 'vSwitch0', '--allow-forged-transmits', 'true', '--allow-mac-change', 'true'], status: (0), output: "True", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^270^^^ Command: esxcli ['network', 'vswitch', 'standard', 'policy', 'failover', 'set', '--vswitch-name', 'vSwitch0', '--load-balancing', 'portid', '--failure-detection', 'link', '--notify-switches', 'true', '--active-uplinks', 'vmnic0'], status: (0), output: "True", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^312^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'policy', 'failover', 'set', '--portgroup-name', 'Management Network', '--use-vswitch', '--load-balancing', 'portid', '--failure-detection', 'link', '--notify-switches', 'true', '--active-uplinks', 'vmnic0'], status: (0), output: "True", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^164^^^ Command: esxcli ['network', 'ip', 'netstack', 'list'], status: (0), output: "[{'State': 4660, 'Name': 'defaultTcpipStack', 'Key': 'defaultTcpipStack'}]", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^151^^^ Command: esxcli ['network', 'ip', 'netstack', 'set', '--netstack', 'defaultTcpipStack', '--ccalgo', 'newreno'], status: (0), output: "True", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^216^^^ Command: esxcli ['network', 'ip', 'interface', 'add', '--portgroup-name', 'Management Network', '--interface-name', 'vmk0', '--mtu', '1500', '--netstack', 'defaultTcpipStack'], status: (0), output: "True", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^473^^^ Command: esxcli ['network', 'ip', 'interface', 'list'], status: (0), output: "[{'Portgroup': 'Management Network', 'Netstack Instance': 'defaultTcpipStack', 'Opaque Network ID': 'N/A', 'Enabled': True, 'MTU': 1500, 'External ID': 'N/A', 'VDS Name': 'N/A', 'Name': 'vmk0', 'MAC Address': '00:50:56:68:70:dd', 'VDS Port': 'N/A', 'VDS Connection': -1, 'Port ID': 33554436, 'Opaque Network Type': 'N/A', 'TSO MSS': 65535, 'VDS UUID': 'N/A', 'Portset': 'vSwitch0'}]", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^170^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'set', '--interface-name', 'vmk0', '--type', 'dhcp', '--peer-dns', 'true'], status: (0), output: "True", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^158^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'set', '--interface-name', 'vmk0', '--enable-router-adv', '0'], status: (0), output: "True", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^130^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'set', '-i', 'vmk0', '-r', 'true'], status: (0), output: "True", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^263^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'IPv4 Broadcast': '0.0.0.0', 'IPv4 Netmask': '0.0.0.0', 'Gateway': '0.0.0.0', 'DHCP DNS': True, 'Name': 'vmk0', 'Address Type': 'DHCP', 'IPv4 Address': '0.0.0.0'}]", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-66575-20170713-185811-cli-commands.trc^^^289^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'IPv4 Broadcast': 'xxx.xxx.xxx.xxx', 'IPv4 Netmask': '255.255.255.224', 'Gateway': 'xxx.xxx.xxx.xxx', 'DHCP DNS': True, 'Name': 'vmk0', 'Address Type': 'DHCP', 'IPv4 Address': 'xxx.xxx.xxx.xxx'}]", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-67083-20170713-185851-cli-commands.trc^^^289^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'Name': 'vmk0', 'IPv4 Netmask': '255.255.255.224', 'IPv4 Address': 'xxx.xxx.xxx.xxx', 'Gateway': 'xxx.xxx.xxx.xxx', 'IPv4 Broadcast': 'xxx.xxx.xxx.xxx', 'DHCP DNS': True, 'Address Type': 'DHCP'}]", error: ""

2017-07-13T18:59:05Z hostprofiletrace: ^^^hostProfiles-67083-20170713-185851-cli-commands.trc^^^228^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'address', 'list'], status: (0), output: "[{'Netmask': 64, 'Status': 'PREFERRED', 'Address': 'fe80::250:56ff:fe68:70dd', 'Type': 'STATIC', 'Interface': 'vmk0'}]", error: ""

2017-07-13T18:59:44Z hostprofiletrace: ^^^hostProfiles-68580-20170713-185944-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T18:59:50Z hostprofiletrace: ^^^hostProfiles-68580-20170713-185944-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Network Server Port': 0, 'Enabled': False, 'Network Server IP': '', 'Is Using IPv6': False, 'Host VNic': ''}", error: ""

2017-07-13T18:59:51Z hostprofiletrace: ^^^hostProfiles-68580-20170713-185944-cli-commands.trc^^^289^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'Gateway': 'xxx.xxx.xxx.xxx', 'IPv4 Address': 'xxx.xxx.xxx.xxx', 'Name': 'vmk0', 'IPv4 Broadcast': 'xxx.xxx.xxx.xxx', 'DHCP DNS': True, 'IPv4 Netmask': '255.255.255.224', 'Address Type': 'DHCP'}]", error: ""

2017-07-13T18:59:51Z hostprofiletrace: ^^^hostProfiles-68580-20170713-185944-cli-commands.trc^^^228^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'address', 'list'], status: (0), output: "[{'Address': 'fe80::250:56ff:fe68:70dd', 'Netmask': 64, 'Interface': 'vmk0', 'Type': 'STATIC', 'Status': 'PREFERRED'}]", error: ""

2017-07-13T18:59:52Z hostprofiletrace: ^^^hostProfiles-68580-20170713-185944-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T19:02:20Z hostprofiletrace: ^^^hostProfiles-69736-20170713-190220-cli-commands.trc^^^366^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Interface': 'vmk0', 'Netmask': '0.0.0.0', 'Source': 'DHCP', 'Network': 'default', 'Gateway': 'xxx.xxx.xxx.xxx'}, {'Interface': 'vmk0', 'Netmask': '255.255.255.224', 'Source': 'MANUAL', 'Network': 'xxx.xxx.xxx.xxx', 'Gateway': '0.0.0.0'}]", error: ""

2017-07-13T19:02:20Z hostprofiletrace: ^^^hostProfiles-69736-20170713-190220-cli-commands.trc^^^366^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Interface': 'vmk0', 'Netmask': '0.0.0.0', 'Source': 'DHCP', 'Network': 'default', 'Gateway': 'xxx.xxx.xxx.xxx'}, {'Interface': 'vmk0', 'Netmask': '255.255.255.224', 'Source': 'MANUAL', 'Network': 'xxx.xxx.xxx.xxx', 'Gateway': '0.0.0.0'}]", error: ""

2017-07-13T19:02:20Z hostprofiletrace: ^^^hostProfiles-69736-20170713-190220-cli-commands.trc^^^366^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Interface': 'vmk0', 'Netmask': '0.0.0.0', 'Source': 'DHCP', 'Network': 'default', 'Gateway': 'xxx.xxx.xxx.xxx'}, {'Interface': 'vmk0', 'Netmask': '255.255.255.224', 'Source': 'MANUAL', 'Network': 'xxx.xxx.xxx.xxx', 'Gateway': '0.0.0.0'}]", error: ""

2017-07-13T19:02:20Z hostprofiletrace: ^^^hostProfiles-69736-20170713-190220-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Host VNic': '', 'Network Server IP': '', 'Is Using IPv6': False, 'Enabled': False, 'Network Server Port': 0}", error: ""

2017-07-13T19:02:24Z hostprofiletrace: ^^^hostProfiles-69768-20170713-190224-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T19:02:32Z hostprofiletrace: ^^^hostProfiles-69768-20170713-190224-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Host VNic': '', 'Is Using IPv6': False, 'Network Server IP': '', 'Network Server Port': 0, 'Enabled': False}", error: ""

2017-07-13T19:02:33Z hostprofiletrace: ^^^hostProfiles-69768-20170713-190224-cli-commands.trc^^^289^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'IPv4 Netmask': '255.255.255.224', 'Gateway': 'xxx.xxx.xxx.xxx', 'IPv4 Address': 'xxx.xxx.xxx.xxx', 'DHCP DNS': True, 'IPv4 Broadcast': 'xxx.xxx.xxx.xxx', 'Name': 'vmk0', 'Address Type': 'DHCP'}]", error: ""

2017-07-13T19:02:33Z hostprofiletrace: ^^^hostProfiles-69768-20170713-190224-cli-commands.trc^^^228^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'address', 'list'], status: (0), output: "[{'Status': 'PREFERRED', 'Interface': 'vmk0', 'Address': 'fe80::250:56ff:fe68:70dd', 'Netmask': 64, 'Type': 'STATIC'}]", error: ""

2017-07-13T19:02:44Z hostprofiletrace: ^^^hostProfiles-69822-20170713-190244-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Host VNic': '', 'Enabled': False, 'Network Server Port': 0, 'Network Server IP': '', 'Is Using IPv6': False}", error: ""

2017-07-13T19:02:45Z hostprofiletrace: ^^^hostProfiles-69822-20170713-190244-cli-commands.trc^^^289^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'DHCP DNS': True, 'IPv4 Address': 'xxx.xxx.xxx.xxx', 'Address Type': 'DHCP', 'Name': 'vmk0', 'IPv4 Broadcast': 'xxx.xxx.xxx.xxx', 'Gateway': 'xxx.xxx.xxx.xxx', 'IPv4 Netmask': '255.255.255.224'}]", error: ""

2017-07-13T19:02:45Z hostprofiletrace: ^^^hostProfiles-69822-20170713-190244-cli-commands.trc^^^228^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'address', 'list'], status: (0), output: "[{'Interface': 'vmk0', 'Status': 'PREFERRED', 'Type': 'STATIC', 'Netmask': 64, 'Address': 'fe80::250:56ff:fe68:70dd'}]", error: ""

2017-07-13T19:02:52Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Network Server Port': 0, 'Enabled': False, 'Host VNic': '', 'Is Using IPv6': False, 'Network Server IP': ''}", error: ""

2017-07-13T19:02:53Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^125^^^ Command: esxcli ['network', 'ip', 'interface', 'remove', '--interface-name', 'vmk0'], status: (0), output: "True", error: ""

2017-07-13T19:02:53Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^186^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'remove', '--portgroup-name', 'Management Network', '--vswitch-name', 'vSwitch0'], status: (0), output: "True", error: ""

2017-07-13T19:02:53Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^183^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'add', '--portgroup-name', 'Management Network', '--vswitch-name', 'vSwitch0'], status: (0), output: "True", error: ""

2017-07-13T19:02:54Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^164^^^ Command: esxcli ['network', 'ip', 'netstack', 'list'], status: (0), output: "[{'Key': 'defaultTcpipStack', 'Name': 'defaultTcpipStack', 'State': 4660}]", error: ""

2017-07-13T19:02:54Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^151^^^ Command: esxcli ['network', 'ip', 'netstack', 'set', '--netstack', 'defaultTcpipStack', '--ccalgo', 'newreno'], status: (0), output: "True", error: ""

2017-07-13T19:02:54Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^216^^^ Command: esxcli ['network', 'ip', 'interface', 'add', '--portgroup-name', 'Management Network', '--interface-name', 'vmk0', '--mtu', '1500', '--netstack', 'defaultTcpipStack'], status: (0), output: "True", error: ""

2017-07-13T19:02:54Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^473^^^ Command: esxcli ['network', 'ip', 'interface', 'list'], status: (0), output: "[{'Opaque Network Type': 'N/A', 'Port ID': 33554437, 'Opaque Network ID': 'N/A', 'MTU': 1500, 'Portgroup': 'Management Network', 'Portset': 'vSwitch0', 'VDS Name': 'N/A', 'VDS UUID': 'N/A', 'Name': 'vmk0', 'Netstack Instance': 'defaultTcpipStack', 'External ID': 'N/A', 'TSO MSS': 65535, 'VDS Connection': -1, 'MAC Address': '00:50:56:66:b0:97', 'Enabled': True, 'VDS Port': 'N/A'}]", error: ""

2017-07-13T19:02:54Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^170^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'set', '--interface-name', 'vmk0', '--type', 'dhcp', '--peer-dns', 'true'], status: (0), output: "True", error: ""

2017-07-13T19:02:54Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^158^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'set', '--interface-name', 'vmk0', '--enable-router-adv', '0'], status: (0), output: "True", error: ""

2017-07-13T19:02:54Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T19:02:54Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^130^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'set', '-i', 'vmk0', '-r', 'true'], status: (0), output: "True", error: ""

2017-07-13T19:02:54Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^263^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'Gateway': '0.0.0.0', 'IPv4 Address': '0.0.0.0', 'Name': 'vmk0', 'IPv4 Broadcast': '0.0.0.0', 'DHCP DNS': True, 'IPv4 Netmask': '0.0.0.0', 'Address Type': 'DHCP'}]", error: ""

2017-07-13T19:02:59Z hostprofiletrace: ^^^hostProfiles-69920-20170713-190252-cli-commands.trc^^^289^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'Gateway': 'xxx.xxx.xxx.xxx', 'IPv4 Address': 'xxx.xxx.xxx.xxx', 'Name': 'vmk0', 'IPv4 Broadcast': 'xxx.xxx.xxx.xxx', 'DHCP DNS': True, 'IPv4 Netmask': '255.255.255.224', 'Address Type': 'DHCP'}]", error: ""

2017-07-13T19:03:06Z hostprofiletrace: ^^^hostProfiles-70047-20170713-190306-cli-commands.trc^^^366^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Gateway': 'xxx.xxx.xxx.xxx', 'Netmask': '0.0.0.0', 'Source': 'DHCP', 'Interface': 'vmk0', 'Network': 'default'}, {'Gateway': '0.0.0.0', 'Netmask': '255.255.255.224', 'Source': 'MANUAL', 'Interface': 'vmk0', 'Network': 'xxx.xxx.xxx.xxx'}]", error: ""

2017-07-13T19:03:06Z hostprofiletrace: ^^^hostProfiles-70047-20170713-190306-cli-commands.trc^^^366^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Gateway': 'xxx.xxx.xxx.xxx', 'Netmask': '0.0.0.0', 'Source': 'DHCP', 'Interface': 'vmk0', 'Network': 'default'}, {'Gateway': '0.0.0.0', 'Netmask': '255.255.255.224', 'Source': 'MANUAL', 'Interface': 'vmk0', 'Network': 'xxx.xxx.xxx.xxx'}]", error: ""

2017-07-13T19:03:06Z hostprofiletrace: ^^^hostProfiles-70047-20170713-190306-cli-commands.trc^^^366^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Gateway': 'xxx.xxx.xxx.xxx', 'Netmask': '0.0.0.0', 'Source': 'DHCP', 'Interface': 'vmk0', 'Network': 'default'}, {'Gateway': '0.0.0.0', 'Netmask': '255.255.255.224', 'Source': 'MANUAL', 'Interface': 'vmk0', 'Network': 'xxx.xxx.xxx.xxx'}]", error: ""

2017-07-13T19:03:06Z hostprofiletrace: ^^^hostProfiles-70047-20170713-190306-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Enabled': False, 'Network Server Port': 0, 'Network Server IP': '', 'Is Using IPv6': False, 'Host VNic': ''}", error: ""

2017-07-13T19:03:12Z hostprofiletrace: ^^^hostProfiles-70087-20170713-190312-cli-commands.trc^^^366^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Interface': 'vmk0', 'Network': 'default', 'Gateway': 'xxx.xxx.xxx.xxx', 'Source': 'DHCP', 'Netmask': '0.0.0.0'}, {'Interface': 'vmk0', 'Network': 'xxx.xxx.xxx.xxx', 'Gateway': '0.0.0.0', 'Source': 'MANUAL', 'Netmask': '255.255.255.224'}]", error: ""

2017-07-13T19:03:12Z hostprofiletrace: ^^^hostProfiles-70087-20170713-190312-cli-commands.trc^^^366^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Interface': 'vmk0', 'Network': 'default', 'Gateway': 'xxx.xxx.xxx.xxx', 'Source': 'DHCP', 'Netmask': '0.0.0.0'}, {'Interface': 'vmk0', 'Network': 'xxx.xxx.xxx.xxx', 'Gateway': '0.0.0.0', 'Source': 'MANUAL', 'Netmask': '255.255.255.224'}]", error: ""

2017-07-13T19:03:12Z hostprofiletrace: ^^^hostProfiles-70087-20170713-190312-cli-commands.trc^^^366^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Interface': 'vmk0', 'Network': 'default', 'Gateway': 'xxx.xxx.xxx.xxx', 'Source': 'DHCP', 'Netmask': '0.0.0.0'}, {'Interface': 'vmk0', 'Network': 'xxx.xxx.xxx.xxx', 'Gateway': '0.0.0.0', 'Source': 'MANUAL', 'Netmask': '255.255.255.224'}]", error: ""

2017-07-13T19:03:12Z hostprofiletrace: ^^^hostProfiles-70087-20170713-190312-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Host VNic': '', 'Network Server Port': 0, 'Enabled': False, 'Is Using IPv6': False, 'Network Server IP': ''}", error: ""

 

And here the log from the exact same host profile, just with the vDS section disabled. Note the absence of the removal of vmk0 and its upstream dependencies.

 

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^512^^^ Command: esxcli ['network', 'nic', 'list'], status: (0), output: "[{'Name': 'vmnic0', 'Link': 'Up', 'Speed': 20000, 'Driver': 'nenic', 'Admin Status': 'Up', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Link Status': 'Up', 'PCI Device': '0000:06:00.0', 'MTU': 1500, 'Duplex': 'Full', 'Description': 'Cisco Systems Inc Cisco VIC Ethernet NIC'}, {'Name': 'vmnic1', 'Link': 'Up', 'Speed': 20000, 'Driver': 'nenic', 'Admin Status': 'Up', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Link Status': 'Up', 'PCI Device': '0000:07:00.0',

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^512^^^ Command: esxcli ['network', 'nic', 'list'], status: (0), output: "[{'Name': 'vmnic0', 'Link': 'Up', 'Speed': 20000, 'Driver': 'nenic', 'Admin Status': 'Up', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Link Status': 'Up', 'PCI Device': '0000:06:00.0', 'MTU': 1500, 'Duplex': 'Full', 'Description': 'Cisco Systems Inc Cisco VIC Ethernet NIC'}, {'Name': 'vmnic1', 'Link': 'Up', 'Speed': 20000, 'Driver': 'nenic', 'Admin Status': 'Up', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Link Status': 'Up', 'PCI Device': '0000:07:00.0',

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^512^^^ Command: esxcli ['network', 'nic', 'list'], status: (0), output: "[{'Name': 'vmnic0', 'Link': 'Up', 'Speed': 20000, 'Driver': 'nenic', 'Admin Status': 'Up', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Link Status': 'Up', 'PCI Device': '0000:06:00.0', 'MTU': 1500, 'Duplex': 'Full', 'Description': 'Cisco Systems Inc Cisco VIC Ethernet NIC'}, {'Name': 'vmnic1', 'Link': 'Up', 'Speed': 20000, 'Driver': 'nenic', 'Admin Status': 'Up', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'Link Status': 'Up', 'PCI Device': '0000:07:00.0',

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Host VNic': '', 'Enabled': False, 'Network Server Port': 0, 'Network Server IP': '', 'Is Using IPv6': False}", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^146^^^ Command: esxcli ['network', 'vswitch', 'standard', 'add', '--vswitch-name', 'vSwitch0', '--ports', '128'], status: (0), output: "True", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^165^^^ Command: esxcli ['network', 'vswitch', 'standard', 'uplink', 'add', '--vswitch-name', 'vSwitch0', '--uplink-name', 'vmnic0'], status: (0), output: "True", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^145^^^ Command: esxcli ['network', 'vswitch', 'standard', 'set', '--vswitch-name', 'vSwitch0', '--mtu', '1500'], status: (0), output: "True", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^183^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'add', '--portgroup-name', 'Management Network', '--vswitch-name', 'vSwitch0'], status: (0), output: "True", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^216^^^ Command: esxcli ['network', 'vswitch', 'standard', 'policy', 'security', 'set', '--vswitch-name', 'vSwitch0', '--allow-forged-transmits', 'true', '--allow-mac-change', 'true'], status: (0), output: "True", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^270^^^ Command: esxcli ['network', 'vswitch', 'standard', 'policy', 'failover', 'set', '--vswitch-name', 'vSwitch0', '--load-balancing', 'portid', '--failure-detection', 'link', '--notify-switches', 'true', '--active-uplinks', 'vmnic0'], status: (0), output: "True", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^312^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'policy', 'failover', 'set', '--portgroup-name', 'Management Network', '--use-vswitch', '--load-balancing', 'portid', '--failure-detection', 'link', '--notify-switches', 'true', '--active-uplinks', 'vmnic0'], status: (0), output: "True", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^164^^^ Command: esxcli ['network', 'ip', 'netstack', 'list'], status: (0), output: "[{'State': 4660, 'Key': 'defaultTcpipStack', 'Name': 'defaultTcpipStack'}]", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^151^^^ Command: esxcli ['network', 'ip', 'netstack', 'set', '--netstack', 'defaultTcpipStack', '--ccalgo', 'newreno'], status: (0), output: "True", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^216^^^ Command: esxcli ['network', 'ip', 'interface', 'add', '--portgroup-name', 'Management Network', '--interface-name', 'vmk0', '--mtu', '1500', '--netstack', 'defaultTcpipStack'], status: (0), output: "True", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^473^^^ Command: esxcli ['network', 'ip', 'interface', 'list'], status: (0), output: "[{'Portset': 'vSwitch0', 'Name': 'vmk0', 'MAC Address': '00:50:56:63:aa:4f', 'Netstack Instance': 'defaultTcpipStack', 'Opaque Network Type': 'N/A', 'VDS Port': 'N/A', 'VDS Name': 'N/A', 'Enabled': True, 'VDS Connection': -1, 'MTU': 1500, 'External ID': 'N/A', 'Portgroup': 'Management Network', 'VDS UUID': 'N/A', 'Opaque Network ID': 'N/A', 'TSO MSS': 65535, 'Port ID': 33554436}]", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^170^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'set', '--interface-name', 'vmk0', '--type', 'dhcp', '--peer-dns', 'true'], status: (0), output: "True", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^158^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'set', '--interface-name', 'vmk0', '--enable-router-adv', '0'], status: (0), output: "True", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^130^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'set', '-i', 'vmk0', '-r', 'true'], status: (0), output: "True", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^263^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'DHCP DNS': True, 'IPv4 Address': '0.0.0.0', 'Address Type': 'DHCP', 'Name': 'vmk0', 'IPv4 Broadcast': '0.0.0.0', 'Gateway': '0.0.0.0', 'IPv4 Netmask': '0.0.0.0'}]", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-66579-20170713-194242-cli-commands.trc^^^289^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'DHCP DNS': True, 'IPv4 Address': 'xxx.xxx.xxx.xxx', 'Address Type': 'DHCP', 'Name': 'vmk0', 'IPv4 Broadcast': 'xxx.xxx.xxx.xxx', 'Gateway': 'xxx.xxx.xxx.xxx', 'IPv4 Netmask': '255.255.255.224'}]", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-67089-20170713-194324-cli-commands.trc^^^289^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'Address Type': 'DHCP', 'IPv4 Netmask': '255.255.255.224', 'IPv4 Broadcast': 'xxx.xxx.xxx.xxx', 'DHCP DNS': True, 'IPv4 Address': 'xxx.xxx.xxx.xxx', 'Gateway': 'xxx.xxx.xxx.xxx', 'Name': 'vmk0'}]", error: ""

2017-07-13T19:43:39Z hostprofiletrace: ^^^hostProfiles-67089-20170713-194324-cli-commands.trc^^^228^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'address', 'list'], status: (0), output: "[{'Interface': 'vmk0', 'Status': 'PREFERRED', 'Type': 'STATIC', 'Netmask': 64, 'Address': 'xxx'}]", error: ""

2017-07-13T19:44:18Z hostprofiletrace: ^^^hostProfiles-68584-20170713-194418-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T19:44:24Z hostprofiletrace: ^^^hostProfiles-68584-20170713-194418-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Is Using IPv6': False, 'Network Server IP': '', 'Host VNic': '', 'Network Server Port': 0, 'Enabled': False}", error: ""

2017-07-13T19:44:25Z hostprofiletrace: ^^^hostProfiles-68584-20170713-194418-cli-commands.trc^^^289^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'Address Type': 'DHCP', 'Name': 'vmk0', 'IPv4 Netmask': '255.255.255.224', 'IPv4 Broadcast': 'xxx.xxx.xxx.xxx', 'DHCP DNS': True, 'Gateway': 'xxx.xxx.xxx.xxx', 'IPv4 Address': 'xxx.xxx.xxx.xxx'}]", error: ""

2017-07-13T19:44:25Z hostprofiletrace: ^^^hostProfiles-68584-20170713-194418-cli-commands.trc^^^228^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'address', 'list'], status: (0), output: "[{'Interface': 'vmk0', 'Netmask': 64, 'Status': 'PREFERRED', 'Address': 'xxx', 'Type': 'STATIC'}]", error: ""

2017-07-13T19:44:26Z hostprofiletrace: ^^^hostProfiles-68584-20170713-194418-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T19:46:57Z hostprofiletrace: ^^^hostProfiles-69195-20170713-194657-cli-commands.trc^^^366^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Gateway': 'xxx.xxx.xxx.xxx', 'Source': 'DHCP', 'Network': 'default', 'Interface': 'vmk0', 'Netmask': '0.0.0.0'}, {'Gateway': '0.0.0.0', 'Source': 'MANUAL', 'Network': 'xxx.xxx.xxx.xxx', 'Interface': 'vmk0', 'Netmask': '255.255.255.224'}]", error: ""

2017-07-13T19:46:57Z hostprofiletrace: ^^^hostProfiles-69195-20170713-194657-cli-commands.trc^^^366^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Gateway': 'xxx.xxx.xxx.xxx', 'Source': 'DHCP', 'Network': 'default', 'Interface': 'vmk0', 'Netmask': '0.0.0.0'}, {'Gateway': '0.0.0.0', 'Source': 'MANUAL', 'Network': 'xxx.xxx.xxx.xxx', 'Interface': 'vmk0', 'Netmask': '255.255.255.224'}]", error: ""

2017-07-13T19:46:57Z hostprofiletrace: ^^^hostProfiles-69195-20170713-194657-cli-commands.trc^^^366^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Gateway': 'xxx.xxx.xxx.xxx', 'Source': 'DHCP', 'Network': 'default', 'Interface': 'vmk0', 'Netmask': '0.0.0.0'}, {'Gateway': '0.0.0.0', 'Source': 'MANUAL', 'Network': 'xxx.xxx.xxx.xxx', 'Interface': 'vmk0', 'Netmask': '255.255.255.224'}]", error: ""

2017-07-13T19:46:57Z hostprofiletrace: ^^^hostProfiles-69195-20170713-194657-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Network Server Port': 0, 'Enabled': False, 'Network Server IP': '', 'Is Using IPv6': False, 'Host VNic': ''}", error: ""

 

Where this becomes a severe problem is when any additional vmknics are defined in the host profile on different networks, for example adding a vmknic for vMotion. In this scenario, the vmk0 adapter is removed, but doesn't get re-created, apparently because the other vmknics aren't cleaned up, leaving the host in a crippled and invalid state for the process to continue. What I find strange is that there doesn't appear to be a logged esxcli attempt to re-create vmk0 and instead the final error looks like it's from a SOAP call.

 

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^512^^^ Command: esxcli ['network', 'nic', 'list'], status: (0), output: "[{'Duplex': 'Full', 'MTU': 1500, 'Driver': 'nenic', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'PCI Device': '0000:06:00.0', 'Speed': 20000, 'Name': 'vmnic0', 'Admin Status': 'Up', 'Link Status': 'Up', 'Link': 'Up', 'Description': 'Cisco Systems Inc Cisco VIC Ethernet NIC'}, {'Duplex': 'Full', 'MTU': 1500, 'Driver': 'nenic', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'PCI Device': '0000:07:00.0', 'Speed': 20000, 'Name': 'vmnic1', 'Admin Status': 'Up', 'Lin

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^512^^^ Command: esxcli ['network', 'nic', 'list'], status: (0), output: "[{'Duplex': 'Full', 'MTU': 1500, 'Driver': 'nenic', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'PCI Device': '0000:06:00.0', 'Speed': 20000, 'Name': 'vmnic0', 'Admin Status': 'Up', 'Link Status': 'Up', 'Link': 'Up', 'Description': 'Cisco Systems Inc Cisco VIC Ethernet NIC'}, {'Duplex': 'Full', 'MTU': 1500, 'Driver': 'nenic', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'PCI Device': '0000:07:00.0', 'Speed': 20000, 'Name': 'vmnic1', 'Admin Status': 'Up', 'Lin

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^512^^^ Command: esxcli ['network', 'nic', 'list'], status: (0), output: "[{'Duplex': 'Full', 'MTU': 1500, 'Driver': 'nenic', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'PCI Device': '0000:06:00.0', 'Speed': 20000, 'Name': 'vmnic0', 'Admin Status': 'Up', 'Link Status': 'Up', 'Link': 'Up', 'Description': 'Cisco Systems Inc Cisco VIC Ethernet NIC'}, {'Duplex': 'Full', 'MTU': 1500, 'Driver': 'nenic', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'PCI Device': '0000:07:00.0', 'Speed': 20000, 'Name': 'vmnic1', 'Admin Status': 'Up', 'Lin

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^512^^^ Command: esxcli ['network', 'nic', 'list'], status: (0), output: "[{'Duplex': 'Full', 'MTU': 1500, 'Driver': 'nenic', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'PCI Device': '0000:06:00.0', 'Speed': 20000, 'Name': 'vmnic0', 'Admin Status': 'Up', 'Link Status': 'Up', 'Link': 'Up', 'Description': 'Cisco Systems Inc Cisco VIC Ethernet NIC'}, {'Duplex': 'Full', 'MTU': 1500, 'Driver': 'nenic', 'MAC Address': 'xx:xx:xx:xx:xx:xx', 'PCI Device': '0000:07:00.0', 'Speed': 20000, 'Name': 'vmnic1', 'Admin Status': 'Up', 'Lin

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Host VNic': '', 'Network Server IP': '', 'Is Using IPv6': False, 'Enabled': False, 'Network Server Port': 0}", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^146^^^ Command: esxcli ['network', 'vswitch', 'standard', 'add', '--vswitch-name', 'vSwitch0', '--ports', '128'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^165^^^ Command: esxcli ['network', 'vswitch', 'standard', 'uplink', 'add', '--vswitch-name', 'vSwitch0', '--uplink-name', 'vmnic0'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^145^^^ Command: esxcli ['network', 'vswitch', 'standard', 'set', '--vswitch-name', 'vSwitch0', '--mtu', '1500'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^183^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'add', '--portgroup-name', 'Management Network', '--vswitch-name', 'vSwitch0'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^216^^^ Command: esxcli ['network', 'vswitch', 'standard', 'policy', 'security', 'set', '--vswitch-name', 'vSwitch0', '--allow-forged-transmits', 'true', '--allow-mac-change', 'true'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^270^^^ Command: esxcli ['network', 'vswitch', 'standard', 'policy', 'failover', 'set', '--vswitch-name', 'vSwitch0', '--load-balancing', 'portid', '--failure-detection', 'link', '--notify-switches', 'true', '--active-uplinks', 'vmnic0'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^312^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'policy', 'failover', 'set', '--portgroup-name', 'Management Network', '--use-vswitch', '--load-balancing', 'portid', '--failure-detection', 'link', '--notify-switches', 'true', '--active-uplinks', 'vmnic0'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^164^^^ Command: esxcli ['network', 'ip', 'netstack', 'list'], status: (0), output: "[{'State': 4660, 'Key': 'defaultTcpipStack', 'Name': 'defaultTcpipStack'}]", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^151^^^ Command: esxcli ['network', 'ip', 'netstack', 'set', '--netstack', 'defaultTcpipStack', '--ccalgo', 'newreno'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^216^^^ Command: esxcli ['network', 'ip', 'interface', 'add', '--portgroup-name', 'Management Network', '--interface-name', 'vmk0', '--mtu', '1500', '--netstack', 'defaultTcpipStack'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^473^^^ Command: esxcli ['network', 'ip', 'interface', 'list'], status: (0), output: "[{'VDS Connection': -1, 'Portgroup': 'Management Network', 'Opaque Network Type': 'N/A', 'Enabled': True, 'External ID': 'N/A', 'VDS Port': 'N/A', 'MAC Address': '00:50:56:6f:0d:e7', 'Name': 'vmk0', 'Netstack Instance': 'defaultTcpipStack', 'Port ID': 33554436, 'TSO MSS': 65535, 'MTU': 1500, 'Opaque Network ID': 'N/A', 'VDS UUID': 'N/A', 'VDS Name': 'N/A', 'Portset': 'vSwitch0'}]", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^170^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'set', '--interface-name', 'vmk0', '--type', 'dhcp', '--peer-dns', 'true'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^158^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'set', '--interface-name', 'vmk0', '--enable-router-adv', '0'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^130^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'set', '-i', 'vmk0', '-r', 'true'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^129^^^ Command: esxcli ['network', 'vswitch', 'standard', 'add', '--vswitch-name', 'M-testdvs'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^146^^^ Command: esxcli ['network', 'vswitch', 'standard', 'set', '--vswitch-name', 'M-testdvs', '--mtu', '1500'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^166^^^ Command: esxcli ['network', 'vswitch', 'standard', 'uplink', 'add', '--vswitch-name', 'M-testdvs', '--uplink-name', 'vmnic2'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^178^^^ Command: esxcli ['network', 'vswitch', 'standard', 'policy', 'failover', 'set', '--vswitch-name', 'M-testdvs', '--load-balancing', 'mac'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^179^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'add', '--portgroup-name', 'P-testpg1-0-0', '--vswitch-name', 'M-testdvs'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^222^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'policy', 'failover', 'set', '--active-uplinks', '', '--standby-uplinks', '', '-p', 'P-testpg1-0-0', '--use-vswitch'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^244^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'policy', 'failover', 'set', '--portgroup-name', 'P-testpg1-0-0', '--use-vswitch', '--load-balancing', 'mac', '--active-uplinks', 'vmnic2'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^211^^^ Command: esxcli ['network', 'ip', 'interface', 'add', '--portgroup-name', 'P-testpg1-0-0', '--interface-name', 'vmk1', '--mtu', '1500', '--netstack', 'defaultTcpipStack'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^512^^^ Command: esxcli ['network', 'ip', 'interface', 'list'], status: (0), output: "[{'VDS Connection': -1, 'Portgroup': 'Management Network', 'Opaque Network Type': 'N/A', 'Enabled': True, 'External ID': 'N/A', 'VDS Port': 'N/A', 'MAC Address': '00:50:56:6f:0d:e7', 'Name': 'vmk0', 'Netstack Instance': 'defaultTcpipStack', 'Port ID': 33554436, 'TSO MSS': 65535, 'MTU': 1500, 'Opaque Network ID': 'N/A', 'VDS UUID': 'N/A', 'VDS Name': 'N/A', 'Portset': 'vSwitch0'}, {'VDS Connection': -1, 'Portgroup': 'P-testpg1-0-0'

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^148^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'set', '--interface-name', 'vmk1', '--type', 'dhcp'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^158^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'set', '--interface-name', 'vmk1', '--enable-router-adv', '0'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^130^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'set', '-i', 'vmk1', '-r', 'true'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^130^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'set', '-i', 'vmk1', '-d', 'true'], status: (0), output: "True", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^429^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'IPv4 Broadcast': '0.0.0.0', 'DHCP DNS': True, 'Gateway': '0.0.0.0', 'IPv4 Netmask': '0.0.0.0', 'Name': 'vmk0', 'IPv4 Address': '0.0.0.0', 'Address Type': 'DHCP'}, {'IPv4 Broadcast': '0.0.0.0', 'DHCP DNS': False, 'Gateway': '0.0.0.0', 'IPv4 Netmask': '0.0.0.0', 'Name': 'vmk1', 'IPv4 Address': '0.0.0.0', 'Address Type': 'DHCP'}]", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-66575-20170713-183710-cli-commands.trc^^^455^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'IPv4 Broadcast': 'xxx.xxx.xxx.xxx', 'DHCP DNS': True, 'Gateway': 'xxx.xxx.xxx.xxx', 'IPv4 Netmask': '255.255.255.224', 'Name': 'vmk0', 'IPv4 Address': 'xxx.xxx.xxx.xxx', 'Address Type': 'DHCP'}, {'IPv4 Broadcast': '0.0.0.0', 'DHCP DNS': False, 'Gateway': '0.0.0.0', 'IPv4 Netmask': '0.0.0.0', 'Name': 'vmk1', 'IPv4 Address': '0.0.0.0', 'Address Type': 'DHCP'}]", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-67093-20170713-183750-cli-commands.trc^^^455^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'IPv4 Address': 'xxx.xxx.xxx.xxx', 'Name': 'vmk0', 'IPv4 Broadcast': 'xxx.xxx.xxx.xxx', 'Gateway': 'xxx.xxx.xxx.xxx', 'IPv4 Netmask': '255.255.255.224', 'Address Type': 'DHCP', 'DHCP DNS': True}, {'IPv4 Address': '0.0.0.0', 'Name': 'vmk1', 'IPv4 Broadcast': '0.0.0.0', 'Gateway': '0.0.0.0', 'IPv4 Netmask': '0.0.0.0', 'Address Type': 'DHCP', 'DHCP DNS': False}]", error: ""

2017-07-13T18:38:04Z hostprofiletrace: ^^^hostProfiles-67093-20170713-183750-cli-commands.trc^^^345^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'address', 'list'], status: (0), output: "[{'Address': 'fe80::250:56ff:fe6f:de7', 'Type': 'STATIC', 'Status': 'PREFERRED', 'Interface': 'vmk0', 'Netmask': 64}, {'Address': 'fe80::250:56ff:fe63:da2c', 'Type': 'STATIC', 'Status': 'PREFERRED', 'Interface': 'vmk1', 'Netmask': 64}]", error: ""

2017-07-13T18:38:40Z hostprofiletrace: ^^^hostProfiles-68586-20170713-183840-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T18:38:40Z hostprofiletrace: ^^^hostProfiles-68586-20170713-183840-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T18:38:47Z hostprofiletrace: ^^^hostProfiles-68586-20170713-183840-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Network Server Port': 0, 'Enabled': False, 'Network Server IP': '', 'Is Using IPv6': False, 'Host VNic': ''}", error: ""

2017-07-13T18:38:48Z hostprofiletrace: ^^^hostProfiles-68586-20170713-183840-cli-commands.trc^^^455^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'Address Type': 'DHCP', 'IPv4 Address': 'xxx.xxx.xxx.xxx', 'IPv4 Netmask': '255.255.255.224', 'Gateway': 'xxx.xxx.xxx.xxx', 'DHCP DNS': True, 'Name': 'vmk0', 'IPv4 Broadcast': 'xxx.xxx.xxx.xxx'}, {'Address Type': 'DHCP', 'IPv4 Address': '0.0.0.0', 'IPv4 Netmask': '0.0.0.0', 'Gateway': '0.0.0.0', 'DHCP DNS': False, 'Name': 'vmk1', 'IPv4 Broadcast': '0.0.0.0'}]", error: ""

2017-07-13T18:38:48Z hostprofiletrace: ^^^hostProfiles-68586-20170713-183840-cli-commands.trc^^^345^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'address', 'list'], status: (0), output: "[{'Type': 'STATIC', 'Address': 'fe80::250:56ff:fe6f:de7', 'Interface': 'vmk0', 'Status': 'PREFERRED', 'Netmask': 64}, {'Type': 'STATIC', 'Address': 'fe80::250:56ff:fe63:da2c', 'Interface': 'vmk1', 'Status': 'PREFERRED', 'Netmask': 64}]", error: ""

2017-07-13T18:38:49Z hostprofiletrace: ^^^hostProfiles-68586-20170713-183840-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T18:41:10Z hostprofiletrace: ^^^hostProfiles-69218-20170713-184110-cli-commands.trc^^^483^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Interface': 'vmk0', 'Netmask': '0.0.0.0', 'Network': 'default', 'Source': 'DHCP', 'Gateway': 'xxx.xxx.xxx.xxx'}, {'Interface': 'vmk1', 'Netmask': '255.255.0.0', 'Network': '169.254.0.0', 'Source': 'MANUAL', 'Gateway': '0.0.0.0'}, {'Interface': 'vmk0', 'Netmask': '255.255.255.224', 'Network': 'xxx.xxx.xxx.xxx', 'Source': 'MANUAL', 'Gateway': '0.0.0.0'}]", error: ""

2017-07-13T18:41:10Z hostprofiletrace: ^^^hostProfiles-69218-20170713-184110-cli-commands.trc^^^483^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Interface': 'vmk0', 'Netmask': '0.0.0.0', 'Network': 'default', 'Source': 'DHCP', 'Gateway': 'xxx.xxx.xxx.xxx'}, {'Interface': 'vmk1', 'Netmask': '255.255.0.0', 'Network': '169.254.0.0', 'Source': 'MANUAL', 'Gateway': '0.0.0.0'}, {'Interface': 'vmk0', 'Netmask': '255.255.255.224', 'Network': 'xxx.xxx.xxx.xxx', 'Source': 'MANUAL', 'Gateway': '0.0.0.0'}]", error: ""

2017-07-13T18:41:10Z hostprofiletrace: ^^^hostProfiles-69218-20170713-184110-cli-commands.trc^^^483^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Interface': 'vmk0', 'Netmask': '0.0.0.0', 'Network': 'default', 'Source': 'DHCP', 'Gateway': 'xxx.xxx.xxx.xxx'}, {'Interface': 'vmk1', 'Netmask': '255.255.0.0', 'Network': '169.254.0.0', 'Source': 'MANUAL', 'Gateway': '0.0.0.0'}, {'Interface': 'vmk0', 'Netmask': '255.255.255.224', 'Network': 'xxx.xxx.xxx.xxx', 'Source': 'MANUAL', 'Gateway': '0.0.0.0'}]", error: ""

2017-07-13T18:41:10Z hostprofiletrace: ^^^hostProfiles-69218-20170713-184110-cli-commands.trc^^^483^^^ Command: esxcli ['network', 'ip', 'route', 'ipv4', 'list', '--netstack', 'defaultTcpipStack'], status: (0), output: "[{'Interface': 'vmk0', 'Netmask': '0.0.0.0', 'Network': 'default', 'Source': 'DHCP', 'Gateway': 'xxx.xxx.xxx.xxx'}, {'Interface': 'vmk1', 'Netmask': '255.255.0.0', 'Network': '169.254.0.0', 'Source': 'MANUAL', 'Gateway': '0.0.0.0'}, {'Interface': 'vmk0', 'Netmask': '255.255.255.224', 'Network': 'xxx.xxx.xxx.xxx', 'Source': 'MANUAL', 'Gateway': '0.0.0.0'}]", error: ""

2017-07-13T18:41:10Z hostprofiletrace: ^^^hostProfiles-69218-20170713-184110-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Network Server IP': '', 'Host VNic': '', 'Is Using IPv6': False, 'Network Server Port': 0, 'Enabled': False}", error: ""

2017-07-13T18:41:15Z hostprofiletrace: ^^^hostProfiles-69347-20170713-184115-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T18:41:15Z hostprofiletrace: ^^^hostProfiles-69347-20170713-184115-cli-commands.trc^^^99^^^ Command: esxcli ['network', 'ip', 'get'], status: (0), output: "{'IPv6 Enabled': True}", error: ""

2017-07-13T18:41:23Z hostprofiletrace: ^^^hostProfiles-69347-20170713-184115-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Host VNic': '', 'Is Using IPv6': False, 'Enabled': False, 'Network Server Port': 0, 'Network Server IP': ''}", error: ""

2017-07-13T18:41:23Z hostprofiletrace: ^^^hostProfiles-69347-20170713-184115-cli-commands.trc^^^474^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'IPv4 Broadcast': 'xxx.xxx.xxx.xxx', 'IPv4 Address': 'xxx.xxx.xxx.xxx', 'IPv4 Netmask': '255.255.255.224', 'Address Type': 'DHCP', 'DHCP DNS': True, 'Gateway': 'xxx.xxx.xxx.xxx', 'Name': 'vmk0'}, {'IPv4 Broadcast': '169.254.255.255', 'IPv4 Address': '169.254.124.77', 'IPv4 Netmask': '255.255.0.0', 'Address Type': 'DHCP', 'DHCP DNS': False, 'Gateway': '0.0.0.0', 'Name': 'vmk1'}]", error: ""

2017-07-13T18:41:23Z hostprofiletrace: ^^^hostProfiles-69347-20170713-184115-cli-commands.trc^^^345^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'address', 'list'], status: (0), output: "[{'Interface': 'vmk0', 'Status': 'PREFERRED', 'Type': 'STATIC', 'Netmask': 64, 'Address': 'fe80::250:56ff:fe6f:de7'}, {'Interface': 'vmk1', 'Status': 'PREFERRED', 'Type': 'STATIC', 'Netmask': 64, 'Address': 'fe80::250:56ff:fe63:da2c'}]", error: ""

2017-07-13T18:41:35Z hostprofiletrace: ^^^hostProfiles-69402-20170713-184135-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Network Server Port': 0, 'Enabled': False, 'Host VNic': '', 'Is Using IPv6': False, 'Network Server IP': ''}", error: ""

2017-07-13T18:41:37Z hostprofiletrace: ^^^hostProfiles-69402-20170713-184135-cli-commands.trc^^^474^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'Address Type': 'DHCP', 'DHCP DNS': True, 'IPv4 Broadcast': 'xxx.xxx.xxx.xxx', 'Gateway': 'xxx.xxx.xxx.xxx', 'IPv4 Address': 'xxx.xxx.xxx.xxx', 'Name': 'vmk0', 'IPv4 Netmask': '255.255.255.224'}, {'Address Type': 'DHCP', 'DHCP DNS': False, 'IPv4 Broadcast': '169.254.255.255', 'Gateway': '0.0.0.0', 'IPv4 Address': '169.254.124.77', 'Name': 'vmk1', 'IPv4 Netmask': '255.255.0.0'}]", error: ""

2017-07-13T18:41:37Z hostprofiletrace: ^^^hostProfiles-69402-20170713-184135-cli-commands.trc^^^345^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv6', 'address', 'list'], status: (0), output: "[{'Address': 'fe80::250:56ff:fe6f:de7', 'Interface': 'vmk0', 'Type': 'STATIC', 'Netmask': 64, 'Status': 'PREFERRED'}, {'Address': 'fe80::250:56ff:fe63:da2c', 'Interface': 'vmk1', 'Type': 'STATIC', 'Netmask': 64, 'Status': 'PREFERRED'}]", error: ""

2017-07-13T18:41:44Z hostprofiletrace: ^^^hostProfiles-69502-20170713-184144-cli-commands.trc^^^203^^^ Command: esxcli ['system', 'coredump', 'network', 'get'], status: (0), output: "{'Network Server IP': '', 'Is Using IPv6': False, 'Enabled': False, 'Network Server Port': 0, 'Host VNic': ''}", error: ""

2017-07-13T18:41:45Z hostprofiletrace: ^^^hostProfiles-69502-20170713-184144-cli-commands.trc^^^125^^^ Command: esxcli ['network', 'ip', 'interface', 'remove', '--interface-name', 'vmk0'], status: (0), output: "True", error: ""

2017-07-13T18:41:50Z hostprofiletrace: ^^^hostProfiles-69502-20170713-184144-cli-commands.trc^^^182^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'remove', '--portgroup-name', 'P-testpg1-0-0', '--vswitch-name', 'M-testdvs'], status: (0), output: "True", error: ""

2017-07-13T18:41:50Z hostprofiletrace: ^^^hostProfiles-69502-20170713-184144-cli-commands.trc^^^186^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'remove', '--portgroup-name', 'Management Network', '--vswitch-name', 'vSwitch0'], status: (0), output: "True", error: ""

2017-07-13T18:41:50Z hostprofiletrace: ^^^hostProfiles-69502-20170713-184144-cli-commands.trc^^^132^^^ Command: esxcli ['network', 'vswitch', 'standard', 'remove', '--vswitch-name', 'M-testdvs'], status: (0), output: "True", error: ""

2017-07-13T18:41:51Z hostprofiletrace: ^^^hostProfiles-69502-20170713-184144-cli-commands.trc^^^183^^^ Command: esxcli ['network', 'vswitch', 'standard', 'portgroup', 'add', '--portgroup-name', 'Management Network', '--vswitch-name', 'vSwitch0'], status: (0), output: "True", error: ""

2017-07-13T18:41:51Z hostprofiletrace: ^^^hostProfiles-69502-20170713-184144-cli-commands.trc^^^164^^^ Command: esxcli ['network', 'ip', 'netstack', 'list'], status: (0), output: "[{'Key': 'defaultTcpipStack', 'Name': 'defaultTcpipStack', 'State': 4660}]", error: ""

2017-07-13T18:41:51Z hostprofiletrace: ^^^hostProfiles-69502-20170713-184144-cli-commands.trc^^^151^^^ Command: esxcli ['network', 'ip', 'netstack', 'set', '--netstack', 'defaultTcpipStack', '--ccalgo', 'newreno'], status: (0), output: "True", error: ""

2017-07-13T18:41:51Z hostprofiletrace: ^^^hostProfiles-69502-20170713-184144-cli-commands.trc^^^264^^^ Command: esxcli ['network', 'ip', 'interface', 'ipv4', 'get'], status: (0), output: "[{'Name': 'vmk1', 'IPv4 Netmask': '0.0.0.0', 'Address Type': 'DHCP', 'DHCP DNS': False, 'IPv4 Broadcast': '0.0.0.0', 'IPv4 Address': '0.0.0.0', 'Gateway': '0.0.0.0'}]", error: ""

2017-07-13T18:41:51Z hostprofiletrace: ^^^hostProfiles-69502-20170713-184143-ApplyHostConfigs-error.trc^^^512^^^ b'<object xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:vim25" xsi:type="LocalizedMethodFault"><fault xsi:type="InvalidArgument"><faultMessage xsi:type="LocalizableMessage"><key>com.vmware.vim.profile.engine.UnexpectedError</key><arg><key>error</key><value xsi:type="xsd:string">A specified parameter was not correct: DnsConfig.VirtualNicDevice</value></arg><arg><key>context</key><value xsi:type="xsd:string">Exception while applying host config</va'

2017-07-13T18:41:51Z hostprofiletrace: ^^^hostProfiles-69502-20170713-184143-ApplyHostConfigs-error.trc^^^195^^^ b'lue></arg><message>Error: A specified parameter was not correct: DnsConfig.VirtualNicDevice.</message></faultMessage><invalidProperty>DnsConfig.VirtualNicDevice</invalidProperty></fault></object>'

The above examples were using DHCP for vmk0 and vmk1, with vmk1's network not having a valid scope. I just left it as DHCP for simplicity's sake. Different error text is logged when assigning static IPs, but the overall behavior is the same. It won't re-create vmk0 because the logic improperly handles the existence of vmk1. With static IPs, it throws errors about the gateway from the default netstack or host port group not being on the same network as the leftover vmk1 interface.

 

I think this behavior may be driven by /lib64/python3.5/site-packages/hostprofiles/pyEngine/applyConfigSpec.pyc. There are no uncompiled representatations of scripts in this directory left in the ESXi install, so I ran them through a decompiler. This one seems to have the most logic in it, but I'm not Python literate enough to discern something as simple as an 'if dvs re-create vmk0' type code block. The decompiler did have trouble specifically with the NetEsxCli function, but I suspect it is related more to the syntax of running the esxcli command rather than logic direction.

 

Has anyone successfully worked around this behavior without making design compromises or shifting configuration away from host profiles?

 

Are there any VMware developers out there who can explain this behavior and provide an ETA on a fix?

Re: RunOnceScript not working anymore after updating horizon agent from 7.1 to 7.2

$
0
0

Hello Chao,

 

yes your 2 first assumptions are correct.

 

1. Did you change you host name after you install agent.

-    no

2. Was your temple a clone machine which agent build had been installed in it.

- no, I upgraded the view agent to 7.2 on the same template that work with 7.1 (just did a snapshot before upgrading the agent)

3. Could your script be access when agent inited. I mean if your script was put in NFS, network was ready at that time?

- the script is local: /opt/join_domain.sh in 777 chmod.

 

 

normally I should not have to uninstall the agent prior to the upgrade right?

 

Eric

Upgrade vCenter Server from 5.5 to 6.5

$
0
0

Good afternoon,

At this time I am running vCenter Server 5.5 as an appliance which is running SUSE Linux.    After spending time looking at the downloads I am looking for insight as to which update file to get for the update.

 

I see a myriad of choices.

 

Thanks,

-Adam

Re: Upgrade vCenter Server from 5.5 to 6.5

$
0
0

Welcome to the Community,

 

the VCSA 6.5 installation image contains everything what's needed for a new installation, as well as for an upgrade. Simply start the installation, and you will be presented with a choice of either installing or upgrading. As a side note, don't forget to install the required Client Integration Plugin (also included in the Installation image), prior to starting the upgrade.


André

Re: User Environment feature not work

Alerts to vROps are not associated with correct object

$
0
0

Versions involved are vRLI 4.5 and vROps 6.6. The vRLI agent is installed on a VM which is being monitored by vROps. Integrations are configured between the two products. One can view the logs of the VM from within vROps successfully. The logs sent by the vRLI agent to vRLI have the correct vROps ID embedded. But when configuring an alert based on a query for this VM that goes to vROps, it never associates the alert inside vROps with the correct object, always with the fallback object. The query was tested with both the "hostname" field or "vmw_vr_ops_id" field, and neither was successful. The alert is configured to fire when less than X events received in Y time. What are some troubleshooting steps to follow in these cases?

 

Edited to show fields involved in query and alert.

Re: ESXI 5.5 - Cannot ping gateway and some hosts on same network

$
0
0

I think it is clear that the physical switches are not configured correctly. The vSphere load balancing policy is providing uneven connectivity across physical NICs, some of which are attached to correctly configured ports and some of which are attached to incorrectly configured ports. Bummer you used vDS, makes the problem much harder to find.

 

There are a variety of ways to diagnose this, but the simplest follows:

  1. Place host into maintenance mode
  2. Set route "Route based on port ID" as load balancing
  3. Rotate through the physical NICS (Uplinks) on the affected vSwitch/Host setting only one NIC at a time as active
  4. When you reach the NIC that is not connected, trace it back to the physical port it is connected to, and there is your problem!

 

When I do this as a diagnostic for customers, I create a vmkernel (vmk) on the affected vSwitch/VLAN/network for each host. This vmkernel is not for any of the usual services, it is just to generate a ping. Then I run the command:

vmkping -c 999 -I vmkX -d -s 1472 10.0.0.1

Where:

  • -c is count
  • -I (that's eye not ell or one)
  • -d is do not fragment
  • -s is size (usually 1472 or 8972)
  • IP address of gateway or other valid host on network

 

As I rotate through each of the uplinks for the vmkernel (only one at a time active), I will inevitably find one or more members of a team have incorrect physical configurations!

 

More often than not, I find problems on Cisco-connected vSphere installations where the network engineer insisted on configuring the ESXi as the destination host, rather than what it actually is: just another hop on the network (with the VM being the destination host!)


Re: vCloud Director 5.5 PowerCLI issue with vApp and VM names with +, & and #

Build query/alert help: No logs received from given hosts/agents

$
0
0

I'm struggling to figure out a way to build this as a query and subsequently as an alert. My previous post is involved in this issue. The problem I'm trying to address here is when a host or hosts stop sending logs to Log Insight for one reason or another. The reasons could be various including failure of the agent or syslog daemon, firewall definitions change and block communication, etc. For certain critical infrastructure pieces where log data is the only stateful data that needs to be preserved, having logs are immensely important. For other systems, having logs are similarly important when it comes to troubleshooting and postmortem analysis. The goal here is to build a query/alert that detects when one or multiple hosts stop sending logs to vRLI and then to pass that alert over to vROps associating it with the object which has stopped logging. This could be an ESXi host, vCenter, switch, or VM that has the vRLI agent installed. Creating a 1:1 mapping between host and alert is a simple thing, however this does not scale well and is a maintenance nightmare. Logically, I'd like to create a user-defined tag with a certain value, apply that key-value pair to an agent definition, and build a query/alert that understands for any system that contains that tag to alert when it does not see any logs for a given time period. So far, I'm not finding a way to make this happen other than to create an alert for each and every system that should be "watched". I welcome any thoughts or ideas on how to accomplish this goal.

Re: VMware 6 and iSCSI with LACP

$
0
0

Hi,

Can you verify with LLDP or CDP protocol if your uplink are up on the good port as you want.

 

Thank you,

Unable to send Ctrl + Alt + Ins or Guest > Send Ctrl + Alt + Del (Workaround)

$
0
0

This is more of a blog post than a discussion. We had an issue where we couldn't send ctrl  + alt + ins to a box and it was removed from the domain so you couldnt RDP either *gasp*.

 

Vmotion, power off/on , reboot, safe mode.. nothing worked.. so..

 

 

Step 1. Open MMC > Add Remove Snap in > Services *Add IP / Name of host unable to log into

Step 2. Locate "Remote Registry Service" ... Start

Step 3. Regedit > File > Connect Network Registry (Enter IP of machine you need to console into)> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System , DisableCAD set to 1 (Control Alt Delete)

---Important part you either need to disonnect to save or it doesnt save (least didnt first time for me)

Step 4. Reboot and Breath a sigh of relief.

 

Simple, yet big problem solved. You're welcome.

 

 

This is the VMWare KB

Virtual machine console does not respond to Ctrl-Alt-Ins or Ctrl-Alt-Del (1009869) | VMware KB

... power off .. power on...

Re: VMware 6 and iSCSI with LACP

Re: Third Party Ethernet to Serial driver keeps gets into unresponsive state

$
0
0

Hello,

 

Is there any logging that provides information why the redirect shuts down? If you are running this on systems without issue in other environments that have also been patched, it seems to not be the patches, though does not completely rule them out.

 

Without more information of why it is failing I do not have anything to try.

 

Matt

Re: Cant create a stratch partition using hpe dual 8gb micro sd


Re: List all VMs in a DataCenter with a particular tag in a category even if tag is missing.

$
0
0

Try something like this

 

$dcName='MyDC'

$category='ApplicationOwner'

 

$tCat=Get-TagCategory-Name$category

 

Get-Datacenter-Name$dcName|Get-VM|

SelectName,

    @{N='Category';E={$category}},

    @{N='Tag';E={(Get-TagAssignment-Entity$_-Category$tCat).Tag}}

 

Can vRA SNOW Plugin be Configured Without ADFS?

$
0
0

I am doing a demo of this plugin and our instance does not have ADFS and after reading the documents I did not see where I could configure the plugin without ADFS.

Re: Unable to send Ctrl + Alt + Ins or Guest > Send Ctrl + Alt + Del (Workaround)

Re: List all VMs in a DataCenter with a particular tag in a category even if tag is missing.

$
0
0

This is perfect!  I will export to CSV but will take it from here.  Thank you.  I'll mark you answer as correct.

Re: Entitle Users to Desktops or Applicaitons with PowerCli 6.5

$
0
0

I encountered the same situation during the development of a small application for my team. With a bit of struggle, I was able to figure out a way to add new user entitlement to the automated desktop pool Below is the code.

 

############ Retrieve the Desktop Pool ID ############

$queryservice = New-Object VMware.Hv.QueryServiceService

$querydesktopid_def = New-Object VMware.Hv.QueryDefinition

$querydesktopid_def.QueryEntityType = 'DesktopSummaryView'

$querydesktopid_def.filter = New-Object VMware.Hv.QueryFilterEquals -property @{'memberName'='desktopSummaryData.name'; 'value' = $poolname}

$querydesktopid_results = ($queryservice.QueryService_Query($hvserver.ExtensionData,$querydesktopid_def)).Results

$desktopId = $querydesktopid_results.Id

 

############ Retrieve the user information from AD and find out the Entity ID ############

$queryuserid_def = New-Object VMWare.Hv.QueryDefinition

$queryuserid_def.QueryEntityType = 'ADUserOrGroupSummaryView'

$queryuserid_def.Filter = New-Object VMware.Hv.QueryFilterEquals -property @{'memberName'='base.loginName'; 'value' = $user}

$queryuserid_results = $queryservice.QueryService_Query($hvserver.ExtensionData,$queryuserid_def).Results

$userid = $queryuserid_results.Id

 

############ Create User entitlement############

$userentitlement_base = New-Object VMware.Hv.UserEntitlementBase -Property @{'Resource'=$desktopId; 'UserOrGroup' = $userid}

$hvserver.ExtensionData.UserEntitlement.UserEntitlement_Create($userentitlement_base)

 

The second part to retrieve the $userid information from AD and find out Entity ID seems to be time consuming one. Since this would query the whole AD and would slowdown the overall script execution time. Not sure if this is an optimal way to do it OR a better way exists.

Viewing all 230224 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>