Posts Tagged VMware
Tintri came through again on a scholarship for the VMware ICM class- Install, Configure and Manage. This is important because you have to take this class to pass the VCP test, which can really change your career. In Dallas Fort-Worth, several of the local community colleges offer the class at a much cheaper rate than commercial training centers. Francis Dogbey is the latest VMUG member I found a scholarship, here is the gracious thank-you note he sent:
I have started the VCP training at Collin Community College last week. I am so excited about the opportunity and value that this class offers and I am very grateful and thankful to Tintri for sponsoring me for this course. I surely intend to take the VCAP right after and then hopefully proceed to VCDX. Throughout my career, this is by far the best training class I have ever been in, not even my 3 separate tracks of CCIE (Routing & Switching, Service Provider and Security) bootcamps offered such in depth training with job aids and grants being provided by Collin College to us the students. The networking among us in the class is also great as almost the entire class members are working professionals and each class someone’s boss is looking to employ a VCP offering job opportunity to the class.
My thanks goes to Tintri and to Brad my hero, who made this happen, empowering professionals like me to get our career on track and in the right direction.
If you can’t afford the class, or your boss won’t send you because he’s afraid you’ll leave once you pass the VCP, tell me about it at the DFW VMUG meeting.
- IT Business Management Suite 8
- vCloud Suite 5
- Horizon 6
- vCenter Log Insight 2
- vCenter Operations Manager 5 for View
- vCenter Site Recovery Manager
- vCenter Operations Suite 5.6
- vCenter Server 5
- Virtual SAN 5.5
- Stateful firewall
- Auto VPN™ self-configuring site-to-site VPN
- Active Directory integration
- Identity-based policies
- Client VPN (IPsec)
- 3G / 4G failover via USB modem
- Layer 7 application visibility and traffic shaping
- Application prioritization
- It even has MDM! Manage your kids iPads!
- 8 port gigabit Ethernet
- 2 × SFP for 1G uplink, non-shared
- MS220-8P includes 124 W PoE / PoE+
- Wireless access point
- 802.11 a/b/g/n
- Consumer grade switching, for added ports.
I was recently lucky enough to get ahold of a Tintri VMstore T540 (here are the specifications) to use in my test lab, so I thought some unboxing and setup pics would be appreciated. The plan is to beat on the T540 a while and get a good idea of how long it takes to setup and how many IOPS it can deliver. I’ll be using Horizon View and vCAC on it over the coming weeks and see how it handles noisy neighbors. Hat tip to Justin Hakimi over at Tintri for setting this up.
I was originally going to use this in my home lab, but it was too loud, so I worked with Brett Wish @vrazorback to get it setup in our Austin office.
It took longer to grab the pics and do this write up than it took to set the unit up. If you’re not doing anything fancy like link aggregation, its a half hour, tops.
Yes, it was heavy.
Top view of one of the two controller blades.
Here is the motherboard model number, X8DTS-F. This is an older demo unit, however, so your milage may vary.
The fans are LOUD. My wife got pretty pissed.
The unit comes with 8 x 300 GB (MLC) RAID6 hot-plug 3.5” carriers and 8 x 3 TB RAID6 hot-plug 3.5” carriers for 13.5TB usable. The promised IO from flash is > 99%, i’ll be putting this to the test in the next few posts.
Rack and stack complete.
Pardon the glare. Here is the Tintri unit mounted in the fishbowl at our Austin office. One of the beauties of working for a VAR/Integrator is that we are truly hardware neutral (we get to play with all the nice toys).
The setup is pretty straight-forward. Use the KVM dongle that is provided and connect to the blade on the right (from the rear). There is a short console session required to give the appliance a management IP address and the usual other network details- there is an idiot-proof set of instructions for this part. Open a browser and hit the address you entered.
The main page comes up with a Getting Started window. This makes it simple to see the NFS mount info you need for vSphere.
The array was previously configured, so we’ll need to change the IP address for the NFS ports. We are waiting some new Arista 10G switches, so we will be leaving Jumbo Frames off and use a 1GB switch and see how it performs (it was instantly obvious that the network was the bottleneck)
Here is the main console before we messed it up with a bunch of VMs.
Connect to vCenter
I’ll list the steps, but this is really easy.
We have some security options, I’ll use to keep VDI hosts separate from server stuff.
We don’t have a replication license or a second array to use for a replication partner. We’d love to detail a SRM deployment on Tintri. Justin, do you have another one of these laying around? Just kidding. Well, kinda.
The alerts section is a little different. You can set the types of email alerts that are sent by moving a slider bar. There are three settings:
- Get Alerts Only
- Alerts & All Notices
Add the usual To/From email addresses and an internal relay server. Optionally, click on “more” to configure mail server login and SSL settings.
The array can also send SNMP traps and do Syslog forwarding.
Autosupport is no longer optional- they’re virtually expected these days. Enabling it is as simple click to a check box. I think we’ll leave this unchecked during stress testing.
Configure DNS and then check out the LACP options. We’ll be playing with these at both 1GB and 10GB.
Add the Tintri Datastore to vCenter
Add a Network File System and click Next.
Enter the server address, the folder name and a meaningful datastore name.
As you can see, it’s dead easy to add a pretty significant amount of fast storage to your virtualized datacenter. I’ll be doing some follow up posts on stress testing this puppy and how it interacts with Horizon View and vCloud Automation Center. We’ll also compare and contrast with some other storage platforms out there.
I passed the VCP-IAAS test today. I wasn’t that bad of a test, as long as you have plenty of lab time. Make sure you really got your head wrapped around the networking of vCloud Director if you want to pass this exam.
The part I was weak on was the Chargeback stuff. It’s more expensive to license Chargeback, so I haven’t played with it much.
Quite a mouthful, eh? If you have a chance to add some SSDs to your blades, though, I think you will be happy with the results. See the VMware vSphere 5.1 Documentation Center for details on how ESX uses write back cache for virtual machine swap files.
First, get some SSDs and put them in your B2XX series blades and configure a local disk policy. I was lucky enough to get two drives per blades, so I set the local disk policy to RAID1.
You could go with RAID0, but I plan on using the local disks for A/V offload with vShield End-Point protection, so i wanted a bit more surety.
When the blade boots, you will be dismayed to see your new disks listed as “remote” during the ESX install. This is expected, see Scott Lowe’s post on it for an explanation. It isn’t a problem unless you are trying to use your disks for the ESX scratch disk- we are going to be using the disk for VM swapping, not the ESX Host, so we have one less step to do- see here for a vreference.
Finish your install and either drag the ESX box into vCenter or connect with the tools directly to the host. Create a new datastore from the local disks as you usually would. I recommend using a meaningful name, like _Local_SSD. If you use Host Profiles, you will want to uncheck the relevant checkboxes under Storage before pushing the Profile down to other hosts.
With your host selected, go to the “Configuration” tab and look under “Software”. You see a new link called “Host Cache Configuration”. Click it, and you will not see the disks you added.
Oh joy, we get to play with Putty. Connect to your host with Putty (don’t forget to turn on SSH in your security settings) and get ready to paste some commands. Leave your VMware tools showing “Storage”, you will want to refer back here for the super long naa numbers.
At this point, I could point out the numerous ways you could use PowerCLI, scripts or the vMA to do the same thing, but I think it better to learn how to do it from the command line first. Let’s get an understanding of the big list of values we are trying to manipulate first. We need to add a new value to the list of possible “Storage Array Type Plugins (SATPs)”. Refer to this great post by Stephen Foskett for more on SATPs and the PSA.
Type in “esxcli storage nmp satp rule list” into your putty session and hit enter to see all the SATPs your host knows about:
~ # esxcli storage nmp satp rule list
|VMW_SATP_ALUA_CX||DGC||CLARiiON array in ALUA mode|
|VMW_SATP_ALUA||NETAPP||NetApp arrays with ALUA support|
|VMW_SATP_ALUA||IBM||2810XIV||IBM 2810XIV arrays with ALUA support|
|VMW_SATP_ALUA||Any array with ALUA support|
|VMW_SATP_MSA||MSA1000 VOLUME||MSA 1000/1500 [Legacy product, Not supported in this release]|
|VMW_SATP_DEFAULT_AP||HSVX700||active/passive HP StorageWorks SVSP|
|VMW_SATP_DEFAULT_AP||HSV100||active/passive EVA 3000 GL [Legacy product, Not supported in this release]|
|VMW_SATP_DEFAULT_AP||HSV110||active/passive EVA 5000 GL [Legacy product, Not supported in this release]|
|VMW_SATP_EQL||EQLOGIC||All EqualLogic Arrays|
|VMW_SATP_EVA||HSV200||active/active EVA 4000/6000 XL|
|VMW_SATP_EVA||HSV210||active/active EVA 8000/8100 XL|
|VMW_SATP_EVA||HSVX740||active/active HP StorageWorks SVSP|
|VMW_SATP_EVA||HSV101||active/active EVA 3000 GL [Legacy product, Not supported in this release]|
|VMW_SATP_EVA||HSV111||active/active EVA 5000 GL [Legacy product, Not supported in this release]|
|VMW_SATP_EVA||HSV300||active/active EVA 4400|
|VMW_SATP_EVA||HSV400||active/active EVA 6400|
|VMW_SATP_EVA||HSV450||active/active EVA 8400|
|VMW_SATP_CX||DGC||All non-ALUA Clariion Arrays|
|VMW_SATP_LSI||SUN||STK6580_6780||Sun StorageTek 6580/6780|
|VMW_SATP_LSI||SGI||IS500||SGI InfiniteStorage 4000/4100|
|VMW_SATP_LSI||SGI||IS600||SGI InfiniteStorage 4600|
|VMW_SATP_LSI||SUN||SUN_6180||Sun Storage 6180|
|VMW_SATP_DEFAULT_AA||IBM||2810XIV||IBM 2810XIV arrays without ALUA support|
|VMW_SATP_DEFAULT_AA||Fibre Channel Devices|
|VMW_SATP_DEFAULT_AA||IBM||SAS SES-2 DEVICE||IBM SAS SES-2|
|VMW_SATP_DEFAULT_AA||IBM||1820N00||IBM BCS RSSM|
|VMW_SATP_LOCAL||RAID Block Devices|
|VMW_SATP_LOCAL||Parallel SCSI Devices|
|VMW_SATP_LOCAL||Serial Attached SCSI Devices|
|VMW_SATP_LOCAL||Serial ATA Devices|
We need to add a line to end of this list, so that your SSD disk (which ESX is seeing as a SAS disk on the SAN) can use the “VMW_SATP_LOCAL” SATP. First, we need to get the naa of your drive. Look in the VMware tools at your disk, click on “Manage Paths” and you will see the naa number. In this case, mine is “naa.600508e0000000006c793530aa10e80e”. You can get this in Putty, but I like to check in the GUI, because Putty can be hard to read. Don’t bother typing it out, enter:
~ # esxcli storage nmp device list
~ # esxcli storage core device list -d naa.600508e0000000006c793530aa10e80e
The “Is SSD: false” is what we need to change. We want to add a new rule for the VMW_SATP_LOCAL SATP, one that has option=enable_ssd
~ # esxcli storage nmp satp rule add -s VMW_SATP_LOCAL --device naa.600508e0000000006c793530aa10e80e --option=enable_ssd
If you up arrow a few times and enter “esxcli storage nmp satp rule list”, you’ll see a new line at the bottom.
VMW_SATP_LOCAL naa.600508e000000000bd5fc37cdb32b60d enable_ssd user
Now unclaim the device
~ # esxcli storage core claiming unclaim --type device --device naa.600508e0000000006c793530aa10e80e
and finally reload and run the claim rules
~ # esxcli storage core claimrule load
~ # esxcli storage core claimrule run
Now lets see if it worked
~ # esxcli storage core device list -d naa.600508e0000000006c793530aa10e80e
Now add some VMs and browse the datastore to see your new swap files, and make sure to show the SAN guys on your team how you’re saving precious SAN resources.
See New Live, Online Training Helps SMBs Running VMware Overcome Limited Time and Budget for Training for details. They left out the most important thing- does this qualify you to take the VCP exam?
Its the younger administrators in SMBs that need the VCP more than anyone else. I hope they are making it easier for people to qualify- please keep the test hard though!
I passed the VCAP-DCD exam on Tuesday! That test was beating- 4 hours is a long time for an exam. The test is covered by an NDA, so I can’t go into much detail about it, but if you are planning on taking it, be sure to check out the APAC vBrownbag sessions.
Here is the perm-link for resources on passing it.
Update: Make sure to enter some text into the spreadsheet to make the fields populate.
This is a spreadsheet that automates almost all aspects of a VMware View deployment using Powershell and Concatenate. I built it mainly out of a desire to avoid using the Flash GUI that comes with View. It is slow and it makes me want to scream when I’m halfway through a 20-click wizard and I realize I need to look something up.
Be sure to keep this after using it- it doubles as your documentation. It is also everything you need to rebuild in a DR situation after restoring your templates and View servers.
It assumes you have deployed the View Infrastructure, have built some templates and taken snap shots. Look at each workbook left to right. Fill out the variables for you environment in the yellow fields, and use the grey fields to make scripts. A further refinement would making a mail merge to spit all this into batch files for you. Copying and pasting into PowerGUI suffices for me.
For each pool name entered, this will nest a Global AD Group into a Domain Local Group, add a space separated list of users to the Global Group, create an OU under a defined VDI OU, create a Resource Pool in vCenter, compose a Pool and then entitle the Global Group to the Pool. This is set to create Floating Linked-Clone Automated Pools. If you wish to change this, feel free to edit this:
=IF(ISBLANK(‘Pool Sizing’!B9),””,CONCATENATE(“get-composerdomain | Add-AutomaticLinkedClonePool -pool_id “””, ‘Pool Sizing’!B9,””” –displayName “””,’Pool Sizing’!C9, “”” -namePrefix “””,’Pool Sizing’!G9,””” -resourcePoolPath “”/”,Datacenter,”/host/”,Cluster,”/Resources/”,’View Object Names’!C9,””” -parentVMPath “”/”,Datacenter,”/vm/”,BaseImages,”/”,’View Object Names’!D9,””” -parentSnapshotPath “”/”,’Pool Sizing’!F9,””” -datastorespecs “”[Moderate,replica]/”,Datacenter,”/host/”,Cluster,”/”,B9,”;[Moderate,OS,data]/”,Datacenter,”/host/”,Cluster,”/”,C9,””” -persistence “”Nonpersistent”””,” -organizationalUnit “”ou=”,’View Object Names’!E9,”,”,DesktopBaseOu,””” -minimumcount “””,’Pool Sizing’!H9,””” -maximumcount “””,’Pool Sizing’!I9,””” -headroomCount “””,’Pool Sizing’!J9,””” -refreshpolicytype “”Never”””,” -deletepolicy “”RefreshOnUse”””,” -powerpolicy “”AlwaysOn”””,” -vmFolderPath “”/”,Datacenter,”/vm”””))
Just make the GPOs for each Pool and you are set. Don’t create more than a Pool or two at a time, this will crater your environment if run too much at once.
Download the spreadsheet: vHipsterViewDeploymentTemplate
N.B. You have to start entering values to make code appear.
Be sure to consult the documentation if you need to modify anything.