vCloud Director – retain IP/Mac

I found myself in need of changing a network setting on a bunch of vCD vApps.  The setting in question (“Retain IP/MAC Resources” in the GUI, “RetainNetInfoAcrossDeployments” from the API) causes the vApp to retain it’s assigned IP (apparently by retaining the VCNS components), even after stopping and expiring the vApp. (it releases the IP when it is removed from “Expired Items”)

I first checked Set-CIVAppNetwork but the option was not listed.  I found it using (get-civapp <name>|get-civappnetwork).extensiondata.configuration

BackwardCompatibilityMode :
IpScope :
IpScopes : VMware.VimAutomation.Cloud.Views.IpScopes
ParentNetwork : VMware.VimAutomation.Cloud.Views.Reference
FenceMode : natRouted
RetainNetInfoAcrossDeployments : True
Features : {, VMware.VimAutomation.Cloud.Views.FirewallService, VMware.VimAutomation.Cloud.Views.NatService, VMware.VimAutomation.Cloud.Views.StaticRoutingService}
SyslogServerSettings : VMware.VimAutomation.Cloud.Views.SyslogServerSettings

But could not see a way to change it until my GoogleFu turned up a VMware Communities post where pwmiller demonstrates using .UpdateServerData() along with GetNetworkConfigSection(), both of which are Methods for extensiondata.

However, when I tried the script it would not work without a tweak, either a typo from 11/2013 or a change in PowerCLI:

$vapp = get-civapp 
$networkconfigsection = $vapp.ExtensionData.GetNetworkConfigSection()
$vappnetwork = $networkconfigsection.networkconfig | Where-Object {$_.networkName -match }
$vappnetwork.configuration.RetainNetInfoAcrossDeployments = $false
$networkconfigsection.UpdateServerData()

The bold is my fix to get the code working. Now I’ll have to investigate those additional methods a little more…

Posted in Cloud, Computing, PowerShell, Scripting, Virtualization, VMware | Tagged , , , | Leave a comment

VCAP6 Design Exam tips and tricks

The CloudJAR has a new post up with a great overview of the Design exams and some tips/tricks and new features.

Update: CloudJAR has a new post on Design exam scoring!

Posted in Certification, Virtualization, VMware | Leave a comment

VCAP6 Deploy exam tips and tricks

Dave over at Virtualizestuff has a new post with more tips on the new VCAP deploy exams including videos show interface components and methods you should familiarize yourself with before taking one of the new exams.

Note especially the one on getting text from the manual into the kit without typing!

Posted in Certification, VMware | Leave a comment

VCAP6-DTM Desktop and Mobility Deployment Exam Launch

The successor to the DTA510 exam went into public release today.
More info at the VMware pages

Key changes from the DTA510:
Hands-on-Labs interface with HTML5 console access instead of RDP-via-ActiveX
Available at many more sites
Network Performance test available if poor performance is reported
paste-into-kit available to scrape from the manual
can see manual (scenarios) and console at the same time
Can resize/relocate manual to fix candidate preference
Access to the consoles of all VMs – however function keys are disabled so you can’t log into most of them at this time.

Key points:
still $400
39 questions
3 hours 20 minutes and no time extensions
– Note that unlike previous versions living in a non-English-Speaking country won’t get you a 30 minute extention

Kit components:
Win2k12 for jumpbox
Win2k12 for DC/NFS/etc
vCenter appliance 6.0.0
five ESXi hosts (6.0.0)
iSCSI appliance
vRealize Operations (6.1.0)
Log Insight (3.3.0)

three Connection servers (6.2.2)
Identity manager (2.4.1)
Mirage (5.6.0)
App Volume Manager (2.10.0)

Docs available (along with links to the html documentation and kb.vmware.com)
DTM docs
DTM desktop
Tips and tricks:
Read the interface guide
Run through HandsOnLabs especially HOL-MBL-1651 and HOL-MBL-1654 and set your screen to 1024×768 to practice optimizing the environment.

Note that right-click, Control, Alt, Function and backspace keys are blocked in the exam so get used to menu options and other workarounds.
Use the Windows On-Screen Keyboard to get around these limitations:
onscreen

Don’t skip around in the exam until you’ve attempted all of the questions. Note that skipping around is *far* easier with the new interface.
That said, skip the items you need the PDFs or html doc links until you’ve done the ones you know.

Good luck!!

Posted in Uncategorized | Leave a comment

Current VCIX6-NV/VCIX-NV exam environment

By request, out of fashion but still available, the VCIX-NV exam environment.

Win2k8 jumpbox/DC/NFS/etc
nine ESXi 5.5.0 hosts
one VCSA 5.5.0 appliance
– three compute clusters
– one management cluster
one iSCSI appliance
one NSX manager appliance 6.0.2

Networks:
lots and lots (its complicated)

Tips:
switch to the console and log into the web client as root/VMware1! before you start reading the first question as the initial login takes a little time.

Work the items in order. NSX has more items that tie together than the other exams and order is important.

Don’t wait for deployments. Make a note to check later and work on.

Make sure you are using the right IP and netmask. No, seriously.
Pro Tip: Using the same IP address as a host management VMkernel or NSX component is not a good idea.

Don’t do anything you are not asked to do or that isn’t required for the task.

Troubleshooting the environment:
If something doesn’t look or work properly in the browser, close all browser instances and try again.
If the browsers starts working slowly, close all browser instances and try again.
If you get errors from NSX Manager (like “internal error”) and the browser reset doesn’t fix it reboot the manager then the controllers.

Good luck!

Posted in Certification, Network, Virtualization, VMware | 4 Comments

VCAP6-NV Deploy public beta launched

[Update 6/16 with desktop screenshot]

The successor to the popular NSX610 exam went into public beta last week with with a staggered roll out starting in the US.
More info at the VMware pages

Key changes from the current VCIX6-NV:
Hands-on-Labs interface with HTML5 console access instead of RDP-via-ActiveX
Available at many more sites
Network Performance test available if poor performance is reported
paste-into-kit available to scrape from the manual
can see manual (scenarios) and console at the same time
Can resize/relocate manual to fix candidate preference
Access to the consoles of all VMs – however function keys are disabled so you can’t log into most of them at this time.

Key points:
$100
25 questions
4 hours no time extensions

Kit components:
Win2k12 for DC/NFS/etc
Win2k12 for jumpbox
two NSX Manager appliances (6.2.1)
one Log Insight 2.6.2 appliance
ten ESXi hosts (6.0.0)
one Platform Services Controller appliance (6.0.0)
two VCSA (6.0.0)
one iSCSI appliance

lots of networks

nvdesktop

Docs available (along with links to the html documentation and kb.vmware.com)
nsx620docs

Tips and tricks:
Read the interface guide
Run through HandsOnLabs especially HOL-SDC-1603 and set your screen to 1024×768 to practice optimizing the environment.

Note that right-click, Control, Alt and Function keys are blocked in the exam so get used to menu options and other workarounds.
Use the Windows On-Screen Keyboard to get around these limitations:
onscreen

Don’t skip around in the exam until you’ve attempted all of the questions. Note that skipping around is *far* easier with the new interface.
That said, skip the items you need the PDFs or html doc links until you’ve done the ones you know.

Good luck!!

Posted in Certification, Computing, Network, Virtualization, VMware | 4 Comments

VCAP6-DCV Deploy public beta launched

[Update 6/16 with desktop screenshot]

The successor to the popular DCA550 exam went into public beta last week with with a staggered roll out starting in the US.
More info at the VMware pages

Key changes from the current VCAP5-DCA:
Hands-on-Labs interface with HTML5 console access instead of RDP-via-ActiveX
Available at many more sites
Network Performance test available if poor performance is reported
paste-into-kit available to scrape from the manual
can see manual (scenarios) and console at the same time
Can resize/relocate manual to fix candidate preference
Access to the consoles of all VMs – however function keys are disabled so you can’t log into most of them at this time.

Key points:
$100
27 questions
4 hours no time extensions

Kit components:
Win2k12 for jumpbox/DC/NFS/etc
Win 2k12 for VUM
seven ESXi hosts (6.0.0)
two VCSA (6.0.0)
one iSCSI appliance
vVol appliance

Four networks
172.20.10.x management/primary
172.20.11.x “production a”
172.20.12.x vMotion
172.20.111.x “production b”

dcvdesktop

Tips and tricks:
Read the interface guide
Run through HandsOnLabs especially HOL-CHG-1695 and set your screen to 1024×768 to practice optimizing the environment.

Note that right-click, Control, Alt and Function keys are blocked in the exam so get used to menu options and other workarounds.
Use the Windows On-Screen Keyboard to get around these limitations:
onscreen

Don’t skip around in the exam until you’ve attempted all of the questions. Note that skipping around is *far* easier with the new interface.
That said, skip the items you need the PDFs or html doc links until you’ve done the ones you know.

Good luck!!

Posted in Certification, Virtualization, VMware | 9 Comments