This is my first post, out of what I hope is many, on vRealize Automation. We have our testing environment online and I think we almost have what I will call the “Configuration Chart” completed.
This is the diagram that we created in order to keep track of all of the different items in vRA and which items rely on other items. As the product gets used more often I think the need for this diagram will go away.
If any other new vRA beginner’s find it useful, enjoy! More updates to come as we start configuring the environment and making out-of-the-box changes.
Hoping to be back on this blog soon and post more. I have a lot of exciting things I’m working on from vRealize Automation, to updating our VMware Environment, to general IT automation projects.
Hoping to share what I can soon and also use this as a reference to find things quickly when I need them.
I just want to wish the Interwebz a Merry Christmas! More posts will be coming soon, many revolving around vRealize Automation Center 7.2!!
One of the annoyances that you generally don’t have with Production is…. Creating People!
You have this nice new test environment that has absolutely nobody in it and you want to fix that.
If you go over to http://www.fakenamegenerator.com/ you can submit a job to get most of the information you are going to need. Get a CSV file from the “Order in Bulk” tab. For my purposes I created 10,000 users. In the future I may generate another 10,000 or so and database the names so I can generate my own.
From here I cleaned up the CSV and did an import into PowerShell and ran each one through a ForEach loop and created my users in the proper location. I’ve attached the script below.
# Create User Accounts
$Users = Import-CSV C:\Users\en_scripting_adm\Desktop\FakeNames.csv
ForEach ($user in $Users)
$givenName = $user.GivenName
$mi = $user.MI
$surname = $user.Surname
$streetAddy = $user.StreetAddress
$city = $user.City
$email = $user.EmailAddress
$username = $user.Username
$pass = ConvertTo-SecureString “Temp1234” -AsPlainText -Force
$upn = $username + “@domain.suffix”
$displayN = $givenName + ” ” + $surname
$var = $username.substring(5,1)
$firstOU = “OU=Users ” + $var
$path = “$firstOU,OU=Users,OU=Staging,OU=_Delegated,DC=domain,DC=suffix”
Write-Host “Creating User $username”
New-ADUser -Name $username -GivenName $givenName -Enabled $true -Surname $surname -StreetAddress $streetAddy -city $city -EmailAddress $email -UserPrincipalName $upn -AccountPassword $pass -DisplayName $displayN -path $path
I have two HP DL 380 G6 servers in my home lab for VMware. I have had zero issues with these servers from ESX5 -> ESX5.5 -> ESX6.0.
However, trying to install ESXi 6.5 on these servers I have run into nothing but problems. The USB flash drives that I was using to run my install were not detected by the ESXi 6.5 installer. It also failed to install to a local hard drive installed on the system.
However, as a long shot I went out and bought SanDisk 8GB SD Cards for the hosts and ESXi 6.5 was able to install on to those and I received a notice that the processors may not be supported in the next version (sad face).
Also, I was fighting the ILO’s on these things but version 2.29 did help a little bit.. still trying to get the right version of java loaded to make these things happy.
If you are looking to create an exact duplicate copy of data with Windows Robocopy and want to use the same command to copy delta changes (including deletes from the source).
robocopy C:\Source D:\Destination /TEE /LOG+:c:\temp\robolog.txt /MIR /copyall /zb /w:1 /r:2 /xo
This command will copy the source folder specified to the destination and create the folder if it doesn’t exist. This command will also copy all permissions from the source to the destination.
After the command is done running you can simply run the same command again and it will copy any files that it missed because they were open or any new files that were added since the last run.
Any files that were deleted off the source from the last run will also be deleted at the new destination when the command is executed again.
If you are using a version of robocopy that supports multi-threading you can throw /MT on the end of the command. By default it will use 8 threads.
With the recent release of vSphere 6.5 going GA I decided to upgrade my home lab to 6.5 and play around with many of the new features including Update Manager being a part of vCenter now and of course the nice new HTML5 web interface.
On install however, I ran into an issue with the installer. In my home lab I’m running the PSC as a separate entity and the VMware documentation says you need to upgrade your PSC before your vCenter.
However, trying to upgrade the PSC was not possible since VMware didn’t detect the PSC properly and thought I was trying to upgrade vCenter.
VirtualVCP has a very nice walkthrough with screenshots located here: http://www.virtualvcp.com/vcenter-server/224-vsphere-6-5-external-psc-upgrade-issue
After replacing the DNS name with the IP I was able to proceed. Call the bug department because we just found a big one.
My old tech blog was having problems and being the geek that I am it was much easier to deploy a new WordPress site than it was to try and fix the old neglected one. I’m currently excited about a few things in technology more specific to VMware. We are currently working on a pilot project for VMware Horizon and I’m excited to get some experience with VDI.
Outside of the VDI project we are also working on configuration and deployment of vRealize Automation Center for VMware. I already have a lot of scripts written to automate the deployment of VMs but this software suite provides much more functionality than my poor PowerShell scripts.