One of my colleagues at Atos has started a blog - check it out!
Field notes and ramblings from Jim Griffiths, an IT engineer and architect currently specialising in VMware's Cloud products (vCD, vCAC/vRA, vCO/vRO). Jim has over 15 years of IT experience.
Friday, 4 November 2022
Monday, 31 October 2022
VMware for Dummies guides in PDF format
Came across this repository of VMware <Product> for Dummies guides in PDF format and wanted to share :D
Tuesday, 11 January 2022
Fedora 35 Live ISO wont install or crashes?
I just had a problem where my new Fedora 35 Live ISO download was crashing as a Virtualbox VM. This was the initial boot so I could install the OS. It would start to boot and load the GUI but all I'd see was a black screen or a Centos Live User login prompt.
The solution that worked for me was as simple as to change the RAM I had given the VM from 1024MB to 2048MB :D
Thursday, 20 August 2020
VCF in Nested Lab
I am still working at Atos and thought I might try and
re-apply for vExpert this/next year, so I am writing a blog post on my current
fun project – trying to get VCF and Cloud Builder working in a Nested VMWare
Workstation Lab!
For this I am using my LabTop™ which is an IBM *cough* sorry
– LENOVO P70 with 40GB RAM (2x16GB and 2x4GB), but I can upgrade it to 64GB by
swapping out the 2x4GB dimms and replacing with another 2x16GB.
For storage I have a 512GB nvme drive for the Host OS
(Windows) and a 1TB SSD in the 2.5” drive bay configured as D: to the host. I
will keep most (if not all) of my VMDKs on the D: as I have run some pretty big
labs (one was using about 34GB of RAM over 8 VMs) on this setup before and I
never noticed the VMDKs struggling.
Standby for more posts as I figure out how to do this, but I’ll
be starting of with this post from my ex-colleague;
https://blog.bertello.org/2019/08/building-nested-vcf-using-vcf-lab-constructor-vlc/
I *may* then tear down the product and try to set up
manually if I have learnt enough :D
Thursday, 21 February 2019
Changing VM networks in bulk
Anyway, a colleague today asked me how to change the vNetwork of hundreds of VMs automagically, so I cannibalized a previous post and came up with this;
The VMs can be on.
Put a list of the VM names into a CSV.
Change PATH-TO-CSV in the below script appropriately i.e. c:\vm_names.csv
Change NETWORK-NAME-HERE in the below script appropriately
Save the below as a .ps1 file and run
Let me know if it doesn't work on your Infrastructure!
Thursday, 15 February 2018
Moving into IT Architecture
I am considering moving into straight Architecture for my next role, so I had a look on youtube for an overview of the IT Architecture role and desired skills to make sure I can do a good job, and I thought I'd share the video I most enjoyed watching;
https://www.youtube.com/watch?v=khWcn5wkDdU
Check it out if you are interested in moving into Architecture, or you want to know what skills make a good Architect :D
Friday, 2 February 2018
Free Scrum Master Training
I thought I'd share the sets I'm creating - I find they work best for me using the Match game :)
https://quizlet.com/bn632189/folders/scrum-master/sets
See if you can beat my times :D:D
Thursday, 1 February 2018
Great starter's guide to DRS
A colleague from another department today asked me to help provide a starter's guide to DRS. DRS is such a relatively simple concept, with very little configuration/tuning to do under normal circumstances, that I realised this FOUR YEAR OLD video from VMware's youTube channel, VMwareTV, is actually still perfectly good :o
My actual first VMUG :D
Was very nice to some familiar faces there from current and previous roles, and was also nice to meet new people :)
Had some very interesting technical presentations from Bitdefender and Tegile, and also some excellent presentations from members.
Maybe I'll see you at the London VMUG soon?
Tuesday, 28 March 2017
My first VMUG event (edit: no it wasn't)
Maybe you'd like to join your local group?
https://www.vmug.com/
Wednesday, 3 August 2016
Learn the vSphere 6 ROBO standard vs advanced features
https://quizlet.com/145613257/scatter
Once I played it about 10 times I was ready for the multiple choice test;
https://quizlet.com/145613257/test?mult_choice=on&prompt-with=1&limit=18
The raw dataset is here;
https://quizlet.com/145613257/
Tuesday, 2 August 2016
vSphere Essential/Essentials Plus test
This time it's the vSphere 6 Essentials and Essentials Plus features and the lowest version those features are in (i.e. Hypervisor is in both Ess. and Ess.+, but in the quiz "Essentials" is the right answer)
Here it is, I recommend you untick the 'written' question type;
https://quizlet.com/145566412/test
Theres a pretty cool scatter test too;
https://quizlet.com/145566412/scatter
Friday, 29 July 2016
Getting F11 for ESXi Hypervisor Install to work on a Mac
The way I got around it was to temporarily unassign F11 from "show desktop" in OSX.
To do this I went to;
System Prefs>Keyboard>Shortcuts tab
I then un-ticked "show desktop" which was assigned to F11, and this did the trick :)
Wednesday, 27 July 2016
vSphere Features by Edition Quiz
VCP 6 DCV Foundation Exam Study
Having let my VCP 5 expire at the end of last year due to not having time to re-certify in the 2 year window, I needed one of the £1000+ VMware courses to qualify me for VCP-status, as well as passing the exam of course!
Luckily work have foot all these bills, and I am now looking at sitting the VCP Foundation Exam at the end of this week (they have also given me some study leave!!).
So, to the meat of my post;
I have been using these #vBrownBag videos to help me prepare, and I cannot rate them highly enough!!
They also have VCP DCV (i.e non foundation) videos.
http://professionalvmware.com/vbrownbag-technology-series/vbrownbag-vmware-certified-professional-6-data-center-virtualization-vcp6-dcv-track/
I am hoping to make some flash cards to help me remember PSC RAM\CPU\Disk sizes etc, if I get round to that I'll post a link to them on this blog.
Good luck to me and anyone else taking these exams!!
Thursday, 4 February 2016
Great VRA7 test lab post
http://adventuresinclouds.com/2016/01/17/installing-minimal-vra-7-part-1-which-version-for-the-lab/
Tuesday, 2 February 2016
My CloudCred Widget
Sunday, 1 November 2015
Querying vRO Workflows with the REST API and Multiple Conditions
Querying vRO Workflows with the REST API and Multiple Conditions
Monday, 26 October 2015
VCP Cloud thoughts
1 I *will* have to brush up on vSphere ESXi and vCenter facts including upgrades etc - so why would I want to do this at the vSphere 5.5 level when its on its way out.
2 Similarly, the vCAC and vCO versions covered in the VCPC550 are presumably not the latest versions
3 VCPC550 includes vCloud Director which isn't really current technology any more!
OK, so what would happen if I went for the VCPC610 current exam instead?
1 ESX/vCenter studying would be worth it as it would be at version 6.x
2 vCAC/vCO would be at vRA/vRO levels i.e. 6.x
3 There is no need to learn vCD which is not in the blueprint
(VCPC610 Blueprint is here https://mylearn.vmware.com/mgrReg/plan.cfm?plan=54066&ui=www_cert)
So what are the bad points?
One big one unfortunately;
The VCPC610 exam is being retired in only 5 weeks!!
It is being replaced with the VCP6 CMA exam (Cloud Management and Automation) - https://mylearn.vmware.com/mgrReg/plan.cfm?plan=64298&ui=www_cert - which seems to have a bigger remit, therefore more to learn, quite possibly some of it outside of my useful knowledge area (as in some of the knowledge I would be forced to learn might never be useful to me).
Decisions Decisions! I shall probably go for the CMA, as one of two projects is ramping up next\this week so I'll no doubt be super busy again, and therefore unlikely to be able to do the VCPC6 exam in the next month :s
Sunday, 25 October 2015
VCP DCV 5 Expiry thoughts
For those who don't know, VMware introduced a policy a few years ago to ensure VMware certification holders keep up to date - the rule is that the highest exam passed needs to (within two years) be ;
A Re-newed (i.e. VCP5 DCV to VCP 6 DCV)
OR
B Another exam of the same level is passed (i.e. VCP5 DCV to VCP Cloud 5 or 6)
OR
C A higher exam (i.e. VCA is lower than VCP which is lower than a VCAP) is passed (i.e. VCP <anything> surpassed by a VCAP <anything>
The date on the newest certificate is what counts, not the date the exam was taken.
Firstly I was lucky in that I passed my exam in Nov 2013, but didn't do something (can't remember what) that 'completed' the certification until March 2014, so instead of having a matter of weeks before my VCP expires, I actually have 4 months :D
Secondly, I am lucky at present as there appears to be an 'easy' upgrade for me - I am not a massive fan of exams that need multiple weeks studying, as my complicated life (special needs daughter\volunteering and playing in bands taking up evenings etc) means that I find it very hard to retain the large amounts of pedantic knowledge required (i.e. needing to know exact numbers for maximum configs!) - this 'easy' upgrade appears to be the relatively light VCPC550 i.e. VCP Cloud
The reason I say it is relatively easy for me, is that I've pretty much been working with all the tech, and reading about and implementing all the topics of the VCP Cloud blueprint, during my roles for the last two years.
Colleagues who have taken the exam with similar skills and experience as me have all said that it should be relatively simple :D
This, therefore, is my planned exam to get another 2 years on the VMware exam countdown-to-expiry clock ;)
To see the exam blueprint, study guide & practice exam, instruction videos and more, click on the below link :D
http://mylearn.vmware.com/mgrReg/plan.cfm?ui=www_cert&plan=32558
Friday, 26 June 2015
Using OVFTool to upload an ISO to vCloud Director
I found the easiest thing to do was to use ISO Creator (the Windows 7 version ran fine on 8.1) to create an iso file (changing the default BR type to CD) from the folder creating the files, then upload to the vCD Catalog and attach to the VM.
I got ISO Creator from here;
http://isorecorder.alexfeinman.com/W7.htm
I hit problems trying to use the (at time of writing) latest versions of Chrome and IE on Windows 8.1 64 bit, and instead used OVFTool to do it. Here is the syntax I used;
"c:\Program Files\VMware\VMware OVF Tool\ovftool.exe" --sourceType="ISO" --vCloudTemplate="false" "D:\downloads\files.iso" "vcloud://jgriffiths:MyPassword@myVCDportal.mydomain.com?vdc=Org_vDC&org=MyAwesomeORG&media=MyFiles&catalog=MyCatalog"
Replace the things in bold as appropriate.
Monday, 18 May 2015
Quick Tip: Just created a Resource Pool in vSphere and can't see it in vRA/vCAC Reservation form?
This is because vRA's vSphere Data Collection doesn't run continually;
For Inventory look ups, it runs daily.
For State look ups, it runs every 15 minutes.
For Performance look ups, it runs daily.
To force it to run so that it can see your newly create vSphere Resource Pool;
Log in as a Fabric Administrator, then go to the Infrastructure tab.
Navigate to Compute Resources, and click Compute Resources once more.
Hover over your Computer Resource so the actions menu appears, then click Data Collection.
In the Inventory section, click Request Now.
Wait a few minutes.
You should now be able to go back and create your Reservation, this time you will see your newly created vSphere Resource Pool in the Resource Pool list.
Error "HTTP/1.1 401 Unauthorized" with workflow "Add an IAAS host"
They require the ability to run custom workflows during machine provision (via vRA blueprints, not 'ASD' workflows), so I have therefore installed the vRA plugin (auto-installed on the in-built version of vRO that comes in the vRA appliace).
I was following the guide on Page 11 of VMware's Machine Extensibility doc (here), (which seems to be slightly different to the last time I did this on vRO 5.5 and vCAC 6.1), and got the below error in the vRO log;
com.vmware.o11n.plugin.dynamicops.ServiceException: HTTP/1.1 401 Unauthorized : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/><title>401 - Unauthorized: Access is denied due to invalid credentials.</title><style type="text/css"><!--body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}fieldset{padding:0 15px 10px 15px;} h1{font-size:2.4em;margin:0;color:#FFF;}h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;background-color:#555555;}#content{margin:0 0 0 2%;position:relative;}.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}--></style></head><body><div id="header"><h1>Server Error</h1></div><div id="content"> <div class="content-container"><fieldset> <h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2> <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3> </fieldset></div></div></body></html> (Workflow:Add an IaaS host / Add a VCAC host (item0)#54020)
This was very strange, as I had already gone to https://<IAAS Server Hostname> and correctly authenticated when prompted (using the username administrator@domain.local and the corresponding password).
The solution?
In the vRO workflow presentation form - do NOT type the "Authentication User Name" on Page 2a as <user>@<domain> like I did - leave out the domain name;
i.e.
"administrator@domain.local" = BAD
"domain\administrator" = BAD
"administrator" = GOOD
The "Domain for NTLM authentication" field on Page 2B would be the correct place to type the user accounts domain - i.e. in this case "domain.local".
Although I worked this out in much less time than it has taken to write this post, I thought that it would be helpful to others, as it is not very well documented in the VMware Machine Extensibility PDF or the workflow form (surely the use of REGEX filtering would have cleared this up?).
Wednesday, 6 May 2015
SQL Error 18456 when adding SQL DB to vCO/vRO vRealize Orchestrator inventory
Are you getting Event 18456 in the Application log of the SQL server?
It might look like this;
Login failed for user 'administrator'. Reason: An attempt to login using SQL authentication failed. Server is configured for Windows authentication only. [CLIENT: 192.168.157.1]
This will most likely be because you need to add ";domain=<AD domain name, or SQL server hostname if using a local account>" to the of your JDBC connection URL
i.e.
Adding a SQL 2012 R2 Database to the vRealize Orchestrator Inventory with the SQL Plug In
Wednesday, 22 April 2015
libbuild.xml error installing IAAS for vRA 6.2 - also Java 1.7 64bit link
"Exited with code -1 (2101591)".
Looking into the log, the first error I could see was;
Done Building Project "C:\Program Files (x86)\VMware\vCAC\Server\Database\Liquibase.xml" (RunLiquibase target(s)) -- FAILED.
Turns out, I should have had Java 1.7 installed - not 1.8 :*)
This was documented in this KB article;
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2101591
After this, I found it quite hard to find the correct download, so I thought I'd post the below links;
Main Page: https://www.java.com/en/download/manual_java7.jsp
Actual 1.7 Update 79 64bit download: http://javadl.sun.com/webapps/download/AutoDL?BundleId=106369
Edit: Don't forget to update your JAVA_HOME environment variable as necessary!
Tuesday, 21 April 2015
vRealize Automation (vRA) error when configuring SSO - "Trying to access remote SSO on host and port 7444, but the returned host is and port 7444."
More history;
Fix information;
Linux Fix;
Wednesday, 25 March 2015
VDP 6 error (and possibly early versions) “VDP: Failed to attach disk” after changing SSO\vSphere password
Friday, 13 February 2015
I made vExpert 2015 :D
Thursday, 5 February 2015
VDP 5.5 Resetting the root password
I followed the procedure in the below article - many thanks to Vladan Seget for writing it!
It's a very simple 5 minute job once the VDP server is shut down (this method DOES need shutting down - if you don't have OS rights you can do an OS shutdown via the vCenter\vCD tools).
If writing a CRQ for this, bear in mind that the server will take a while to boot up and start its services as usual, and don't forget to test!
http://www.vladan.fr/how-to-reset-root-password-in-vdp/
Monday, 26 January 2015
First day with a Hipstreet W7
For those of you who don't know these, they have great pros and great cons!
Pros (for me)
- PRICE!! Only £49 at time if writing from Carphone Warehouse in the UK with no contracts or anything involving further payment. You can even use the stock checker on their website to see if your local branch has one in stock
- Portability - fits in every coat and jacket I have, my suit trouser pockets, and just about my jeans front pocket! Its not really that much bigger than my wife's iPhone 6 plus
- "Full" Windows so can run all of the VMware Management apps\browser plug-ins, as well as VMware University\My Learn Flash courses
- Relatively decent Atom processor - a Quad Core Intel Atom Z3735G
- Bluetooth on-board so you can add a keyboard and mouse wirelessly
- HDMI out (think its mini rather than micro) so you can plug in a monitor
- USB-to-go cable IN THE BOX :) This is so you can plug in USB devices (NOTE as far as I know you cannot use USB devices and charge it at the same time, as the only usb slot is also the charging socket. Maybe a special\hacked cable would allow this?)
- Micro SD card slot to expand storage (I have heard a max of 32GB is supported)
- Office 365 personal 1 year subscription (worth more than the £49 purchase price, especially as I have heard that Office 365 subscription will soon be eligible for unlimited Onedrive storage - and this will apparently not be down graded or cancelled when the 1 year Office Subscription expires)
- Screen protector applied "out of the box"
- Only 1GB RAM - a pretty big deal for your average user, but as a seasoned professional used to tuning the RAM of VMs for Enterprises, I think I can work within this limitation
- Only 16GB internal storage - this is another fairly large issue, especially as the C: drive is only 9GB with about 5GB free (the missing 7GB is used by the recovery partition, which can me moved onto a cheap USB drive)
- Screen - Size - I have excellent eyesight and of course a bigger screen would mean less portability, so I can tolerate this. The real world issue is that it is hard to touch the right point on the screen 100% of the time, especially in Desktop mode, but you could of course make things bigger (i.e. raising the DPI) and the Modern UI Apps are much less of a problem due to them being designed for touch screen devices.
- Screen - Quality - I have saved the worst until last! This is probably the biggest thing I have struggled with. The graphics are not pin sharp at all and are actually slightly fuzzy. I have taken the first layer off the screen protector (the one labelled "Step 2, peel off this layer"), and am considering peeling off layer 1 somehow but the graphics aberrations actually look like a different issue that I am going to investigate and report back on
Thursday, 18 December 2014
Removing the vRA\vCAC Guest Agent
This blog post gives you the simple steps to quickly uninstall the vRealize Automation (aka vRA aka vCloud Automation Center aka vCAC) Agent
Longwinded Intro
Whilst studying for my VTSP Management Automation exam, I began to prepare a VM template to use for vRealize Application Services aka vRAS formerly known as vCloud Application Director aka vCAD (wow confusing!).
This involves preparing an OS for use as a vRAS template by installing the Bootstrap Agent files.
According to Abhilash HB's excellent blog article here, I made noob error no 1 - I used a template that already had the vCAC/vRA agent installed.
NB These instructions will work with vRA\vCAC 6.1, folder\service names may be different for different versions
Instructions
Here are the steps to uninstall it;
From a command prompt on the machine which has the agent installed, type;
net stop vcacguestagentservice
then
sc delete vcacguestagentservice
If you do not want to install the vRAS\vCAD agent after this, then you can use the below command to remove the folder;
rmdir c:\vrmguestagent /s /q
Thats it!
Tuesday, 2 December 2014
vSphere 5.5 Web Client with Oracle Enterprise Linux 7
I have decided the try the web client through Chrome, which I have tried to install before and found it to be a major headache (getting it installed), but this time round I found an EXCELLENT how-to which got Chrome installed for me in minutes (yes the article is for OEL 6.2, but it worked fine for me on OEL 7).
http://www.redstonecontentsolutions.com/technical-blog/install-google-chrome-on-oracle-enterprise-linux62
I'll report back if I have any issues! Plan B and C are probably using the VCMA, or maybe even trying the C+ client under WINE?
Friday, 21 November 2014
Installing VCD 5.5 in a VMware Workstation 10 lab Part 2
It is NOT intended to be a complete step by step guide, so it's mainly for experienced professionals, BUT if you are starting out with this stuff, I feel you would learn more by following this guide and searching for, or working out yourself, the bits you don't know (rather than following a prescriptive step by step guide that a 12 year could follow)
No offence 12 year olds!
So in Part 1 (http://itsgettingcloudy.blogspot.co.uk/2014/11/installing-vcd-55-in-vmware-workstation.html) I set up a VMWare Workstation 10 lab, installed a Windows Domain Controller\DNS server, and deployed the vCenter Server Appliance.
Now on with the show!
ESXi SERVER SETUP
I created a new Workstation VM with 18GB RAM, a 6GB disk, and the OS type ESXi Server.
After the VM was created, I edited the settings to add a second disk of 200GB (thin deployed), and connected the NIC to vmNet8.
As part of the OS setup, I used the hostname esx01.domain.local, IP 192.168.89.11, subnet mask 255.255.255.0, DNS Server 192.168.89.20, and a default gateway of 192.168.89.2
Instructions on the above can be found here;
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2034803
ESXi SERVER CONFIG
Once the server was deployed, it was necessary to do each of these things;
Log in to the vCenter Server web client at https://192.168.89.10:9443
Create a Datacenter
Create a new Cluster called Cluster01.
Enable DRS, and accept all defaults.
Add esxi01 to the Cluster.
Configure esxi01 to use the same NTP server as your appliance (I used 0.uk.pool.ntp.org)
Add a datastore using the 200GB disk and VMFS5
Unlike in the 'old' days, ESXi will automatically create a usable virtual networking config for you 'out of the box'
If you don't know how to do any of the above, working out how will definitely teach you something about ESXi\vSphere\vCenter Server!!
Now you can deploy the vCD appliance;
VCD APPLIANCE DEPLOYMENT
To deploy the VCD appliance, it was necessary to do each of these things;
Log in to the vCenter Server web client at https://192.168.89.10:9443
Select host esxi01
From "Actions", choose "Deploy OVF Template"
Browse to the "vCloud Director VA OP" OVF (I found it necessary to change the file type from OVF to OVA or All Files)
Accept the EULA
Change the VM name from "vCloud Director" to "vcd01"
Select my datacenter
Select my 200GB datastore (changing disk type to thin provisioned)
Set root and guest passwords
Expand the networking settings and enter;
Default Gateway 192.168.89.2
DNS Server 192.168.89.20
Network 1 IP 192.168.89.40
Network 1 subnet mask 255.255.255.0
Network 2 IP 192.168.89.41
Network 2 subnet mask 255.255.255.0
Tick Power on after deployment
Click Finish.
While the OVF was deploying, I kicked off deploying the vShield appliance;
VSHIELD APPLIANCE DEPLOYMENT
To deploy the vShield appliance, it was necessary to do each of these things;
Open the "full fat" Windows vSphere client (I was getting validation errors when trying to deploy from the web client using chrome)
Select host esxi01
From "Actions", choose "Deploy OVF Template"
Browse to the "vShield Manager" OVF (I found it necessary to change the file type from OVF to OVA or All Files)
Accept the EULA
Change the VM name from "vShield Manager" to "vshield01"
Select my datacenter
Select my 200GB datastore (changing disk type to thin provisioned)
Set CLI admin and privilege mode passwords
Tick Power on after deployment
Click Finish.
Whilst that was deploying, I moved on to configuring vCD;
CONFIGURING VCD PART1
To configure VCD, it was necessary to do these steps;
Open a browser and go https:<IP you used for the VCD VM's network 1 i.e. 192.168.89.40>
Go through the wizard;
License Agreement - accept this
License Key - you should have got a trial license key from vmware.com when downloading the software
Admin user and contact info - make a note of the administrator username and password you set use here
System name and ID - I used the hostname (vcd01) and default ID
Click Finish
Before running through the next part of the VCD config, we need VCNS\vShield working with vCenter so lets do that next
CONFIGURING VCNS
To configure VCNS, it was necessary to do these steps;
Change the IP from DHCP assigned, to the IP you created a DNS record for (vshield01) in part 1.
To do this, follow my quick guide here: http://itsgettingcloudy.blogspot.co.uk/2014/11/re-ip-vcns-aka-vshield-manager.html
Open a browser and go https:<IP you used for the vShield01 VM i.e. 192.168.89.45>
Username will be admin password will be default
You will be at the "Settings & Reports - Configuration" page
Click EDIT on the vCenter Server line.
Enter the vCenter Server IP and credentials then OK
Click EDIT on the NTP Server line
Enter the same NTP server as you used on your vCenter appliance (I used 0.uk.pool.ntp.org)
Reboot the VCNS manager from the vSphere client by choosing Restart Guest
CONFIGURING VCD PART2
Open a browser and go https:<IP you used for the VCD VM's network 1 i.e. 192.168.89.40>
Next, attach a vCenter by doing the below;
Go to https://192.168.89.40/cloud and log in with the administrator username and password you have set up
Click "Attach a vCenter"
Enter the relevant details then go on to the next tab
Enter the VCNS server details, note that the admin password is not the one you type into the OVF deployment wizard, but is still 'default' unless you have changed it in the vShield web console
Click Finish
Congratulations, you now have a functioning vCloud Director lab, further config will be necessary depending on what you want to use it for.
Watch out for more guides to follow, helping you set up the lab for various purposes.
Re-ip VCNS aka vShield Manager
To change this, perform the below simple steps;
- Connect to the VM's console with the vSphere client.
- Login as admin and default (or the password for the admin CLI account that you entered when deploying the OVF)
- Type "enable" and press return.
- Re-enter the password.
- Type "setup" and press return.
- Follow the prompts entering the new info.
Saturday, 8 November 2014
Installing VCD 5.5 in a VMware Workstation 10 lab Part 1
It is NOT intended to be a step by step guide, so it's mainly for experienced professionals, BUT if you are starting out with this stuff, I feel you would learn more by following this guide and searching for, or working out yourself, the bits you don't know, rather than following a prescriptive step by step guide that a 12 year could follow (no offence 12 year olds!).
LAB SETUP
Things I have in my one-machine lab - you might be able to get away with less;
32GB RAM
500GB free space
VMWare Workstation (I have 10 but 9 or better should be ok)
One custom network (see NETWORK SETUP below)
SOFTWARE REQUIRED
As well as VMWare Workstation 10, you will need the following software - ALL of it is available in free trial form from the microsoft.com or vmware.com;
Windows Server 2008\2012
VMWare ESXi 5.1\5.5 (comes with the vSphere Trial)
VMWare vCenter Server 5.1\5.5 (comes with the vSphere Trial)
VMware vCloud Director 5.5 (comes with the vCloud Director Trial)
VMware vShield Manager 5.5 (comes with the vCloud Director Trial)
NETWORK SETUP
The Workstation VMs are all joined to a custom network, vmNet8, which I have set to use NAT (for connecting out to the real world - this is important to provide centralised time for your VMs via NTP), as well as DHCP.
My subnet IP is 192.168.89.0 with a mask of 255.255.255.0, it may make things easier for you if you use these values.
VMWARE WORKSTATION SETUP
Running in VMWare Workstation I have the following VMs;
One ESX 5.5i server with 18GB RAM, a 6GB install disk and a 200GB datastore disk
One vCenter Server 5.1 Appliance (4GB RAM default)
One Windows 2003 Server domain controller (512MB RAM)
DOMAIN CONTROLLER SETUP
I created a VM with 512MB RAM, 30GB disk space (suggest 768MB RAM with 40gb disk space (thin provisioned) for Windows 2008 and 2012) and 1 vCPU, connected to vmNet8
After a normal install of Windows Server, I set the server's IP as 192.168.89.20 (mask 255.255.255.0), Primary DNS as 192.168.89.20, and the gateway as 192.168.89.2 (the VMware workstation NAT router for this subnet).
I renamed the server to dc01, rebooted, then ran DCPROMO, using the domain name "domain.local", and all the defaults.
After another reboot, I ran dnsmgmt.msc and created host records for;
vcs01(.domain.local) at 192.168.89.10
esxi01(.domain.local) at 192.168.89.11
vcd01(.domain.local) at 192.168.89.40
vcd01cp(.domain.local) at 192.168.89.41
vshield01(.domain.local) at 192.168.89.45
Finally I installed VMWare tools.
VCENTER SERVER APPLIANCE SETUP
I deployed the appliance into VMWare Workstation, using a thin provisioned disk.
Once it was deployed, I edited the VM's setting to use network VMNET8, then powered it on and connected to it's "console" to see the DHCP IP it had picked up.
I then went to https://192.168.89.<DHCP-assigned-IP>:5480 from my laptop's browser and set up the installation. Further details on that part can be found here;
https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.install.doc%2FGUID-25FCBA87-5D2F-4CB6-85D7-88899B4AC174.html
I used the hostname vcs01(.domain.local), and IP 192.168.89.10 (mask 255.255.255.0, gateway 192.168.89.2). I also used (important!) NTP Time Server of 0.uk.pool.ntp.org as I am in the UK.
In the next part of these instructions, I shall continue by installing and configuring ESXi Server.
Wednesday, 8 October 2014
I made vExpert 2014!!
The future of Reporting As A Service for Virtual Data Centers?
If its the kind of thing you would be interested in apply now for our Beta programme!
Some marketing blurb;
SONAR enables you to easily generate a rapid infrastructure analysis "Health Check" with actionable results on-demand, but without the traditional overhead of purchasing, implementing and maintaining complex on-premise tools.
Fast: Rapid time to value with typical report turnaround in under 30 minutes, ensuring that your virtual infrastructure is always in good shape.
Simple: The benefits of Reporting-as-a-Service (RaaS) mean that there is no heavy infrastructure to manage and maintain, just a lightweight agent to download.
Targeted: With just a few clicks SONAR shows you where operational hazards truly exist and provides clear recommendations on how to address them.
Click here for more info :)
http://xvirt.it/37jg
Monday, 16 June 2014
Undelete VCO workflows
Restore Deleted Workflows
You can restore workflows that have been deleted from the workflow library.
Procedure
1 From the drop-down menu in the Orchestrator client, select Run or Design.
2 Click the Workflows view.
3 Navigate to the workflow folder in which you want to restore deleted workflows.
4 Right-click the folder and select Restore deleted workflows.
5 Select the workflow or workflows that you want to restore and click Restore.
The restored workflows appear in the selected folder.
That's all you need to do :)
Wednesday, 28 May 2014
Getting this in VCO? TypeError: Cannot call method "push" of null
Today whilst working on some VCO workflows I kept getting the below error despite setting up the inputs correctly and binding them;
TypeError: Cannot call method "push" of null
This was happening when I had an input atttibute (lets say it was "jimsarray") defined as an array/string, and was using the javscript code;
jimsarray.push("ArrayEntry1")
The attribute was correctly bound in the data binder, but it appears that due to the order in which I created things, the starting value for "jimsarray" was "Not Set" i.e. Null - hence the error
The trick was to go into visual binding, and double click on any array/string in “IN attribute”. Then click on the value “not set”, then click Accept then OK. You will now see the value is "Array", and the error will be gone!
Monday, 17 March 2014
Using Hyper-V on Server 2012 R2 under VMWare Workstation 9
Monday, 3 March 2014
Quick VM report - IPs and (vcloud vapp or VM folder)
Today I needed to get a list of all VMs in a VDC (which translates to vsphere as a resource group).
The resource group name is hard-coded below as CHANGME, so you need to update this ;)
ipreport.ps1 begins;
#Connect to vcenter
connect-viserver
#create a report shell
$table = @()
#GetVM Name and IP address
get-resourcepool CHANGME | get-vm | foreach {
#Create row
$vminfo = "" | select-object Name,IPAddress,vapp
#Populate row's column with VM name
$vminfo.name = $_.name
#Populate row's column with IP address
$vminfo.IPAddress = $_.guest.extensiondata.IPAddress
#Populate row's column with vapp name
$vminfo.vapp = $_.folder
#Commit row to the report
$table += $vminfo
}
#Pipe report through a sort command, and output to HTML for easy reading
$table | sort-object -property IPaddress | convertto-html -title "IPs for VMs" > C:\scripts\ips.html
Wednesday, 25 September 2013
Simple vCloud Director healthtest with Powershell
Feel free to amend to your own requirements - and don't forget to change the hostnames ;)
Friday, 13 September 2013
Passed my VCA Cloud exam today
http://mylearn.vmware.com/mgrReg/plan.cfm?plan=41165&ui=www_cert
Thursday, 5 September 2013
Increase your free dropbox from 2GB to 5GB :>
Enable photo syncing on the iphone dropbox app, and as you upload your photos and breach your 2GB limit, you are given a new permanent limit, free of charge, of 2.5GB. Keep going all the way up to 5GB, then if you want to, stop using it and delete the photos!
I already use the icloud control panel to sync my photostream with my windows PC, so I don't need this dropbox feature.
If you want to force the limit more quickly, apparently you can create and sync a video instead.
One caveat - make sure you have the space free on your phone first - filling it up can be a pain!
Monday, 8 July 2013
Getting around firewalls with SSH tunnels
Rather than wait until the weekend, or put the VMs into another subnet temporarily, I chose to use an SSH tunnel to a linux server in one of our other vCloud subnets (one which I knew had access to the KMS server on port 1688).
These are the instructions I wrote quickly so that I could palm off the work (after testing it of course!) - IPs and hostname changed to <value>;
Tuesday, 2 July 2013
Laptops that will take 32GB of RAM
The below is a list of laptops that have 4 memory slots, and in most cases, Quad Core CPUs (some are Core 2, most are i7 - I believe only the i7s support 8GB per channel. I've left the Core 2s in as they are a lot older therefore cheaper and 16GB could suit some people).
I'll try to keep it up to date, at least until I finally purchase one - I haven't found a list as comprehensive as this one.
**Good tip for finding number of slots**
Google one of the below;
i7 "4 sockets" site:memorystock.com
i7 "slots: 4" site:crucial.com
----------------------LIST BEGINS--------------
**NOTE BEST**
- Some of these laptops are available with different CPU types - to take 32GB of RAM it HAS to be a QUAD CORE i7 (ONLY the i7 was\IS available as a quad core, BUT SOME i7 chips are DUAL core - even if a dual core laptop has 4 slots, only two will work and i7s can only take 8GB per channel. Quad core i7s usually have QM in the name).
- I am not responsible for any mistakes on the list below. This is intended as a research guide only, you should confirm with another source before purchasing anything.
Lenovo Thinkpad W510 - 1st gen i7. 15"
Lenovo Thinkpad W520 - 2nd gen i7. 15"
Lenovo Thinkpad W530 - 3rd gen i7. 15"
Lenovo Thinkpad W701 - 1st gen i7. 17"!
Lenovo Thinkpad W701ds - 1st gen i7. 17"!
Dell Precision M4600
Dell Precision M4700
Dell Precision M6500
Dell Precision M6600
Dell Precision M6700
Dell XPS 17 L701x
Alienware M17x
Alienware M18x
Asus G73SW (not JW) apparently takes 8GB per slot and has 4 slots.....
Asus G74SX
Asus G75VW
Asus G75VX
MSI GT60
MSI GT70
HP Elitebook
8540w and 8540p (i7 v1)
8560w (and 8560p?)
8570w (and 8570p?)
8760w(and 8760p?)
Acer Aspire 8943G (18.4 inch screen!!!!)
Tuesday, 25 June 2013
Fixing SSL Error 61 with Linux ICA Client
Thursday, 23 May 2013
Duplicate SIDs with deployed images \ Sysprep error
- Change this registry key’s value to 7;
- Start -> Run : msdtc -uninstall (wait few seconds)
- Start -> Run : msdtc -install (wait few seconds)
- Restart the machine
Here’s my first post titled ‘Why Google Cloud? Part 1: Security’ where I discuss the features of Google Cloud that make me choose security as one of the reasons why I choose Google Cloud.
As you might guess by the title, I’ll be publishing more ‘Why Google Cloud?’ blogs in the near future!
Feel free to like, share and comment on my posts! If you enjoy what you read, subscribe and I will keep you updated with new posts as they arrive!