Latest Posts



Translate

Total Pageviews

Wednesday, 21 September 2016

Change root account Password of Multiple ESXi Hosts

Today i got this question from one of my client to reset the muliple esxi hosts root account password. There are multiple ways of doing this:-
1. Through Host Profile
2. Through Power CLI Script

Through Host Profile
1. Export the Host Profile from any esxi host.

2. Edit the Exported Host Profile
 3. Keep only password change option selected and deselect the remaining options.


4. Attach the Profile with ESXi hosts or Cluster




5. Check the Profile compliance on your esxi hosts as you can see the warning message because host is not compliant according the profile settings.


6. Enter the Hosts in the Maintenance Mode


7. Click on Remediate Option

Through Power CLI Script
1. Download this powercli script zip file from here
2. Extract the contents of zip file and paste both the files in c:\Scripts directory
3. Modify esxservers.txt and replace host1 and host 2 entries with your esxi host names like shown in this screenshot

4. Open Power CLI and execute Reset_esxi_root_password.ps1 script > then press "R" to run it once > Provide Old Password and New Password as it will be requested as input > Press Enter


Bingo!!!!! It's done now all the esxi hosts root account password is changed.

Saturday, 17 September 2016

Demystifying VCAP6-DCV Deploy Exam

If one has already VMware Datacenter Virtualization Professional Level Certification (Level 2) Certification and now they are looking for Advanced Certification (Level 3) then one of exam for this is VCAP6-DCV Deploy Exam. Let's start with the requirements for this exam for existing and new candidates and how one can prepare for this exam.
 Certification Path:
As per my observation i believe these exam codes are based on these levels like 1V0, 2V0, 3V0, 4V0

Requirements for the New Candidate:
Remember for VCAP-DCV Deploy exam no training is mandatory although recommeneded training is VMware vSphere: Design and Deploy Fast Track [V6]. This training provides exposure to the design as well as deploy labs.


Requirements for the Existing Candidate:
Remember for VCAP-DCV Deploy exam no training is mandatory although recommeneded training is VMware vSphere: Design and Deploy Fast Track [V6]. This training provides exposure to the design as well as deploy labs.

Exam Details:-
Number of Questions in the Exam, Time Limit, Exam Cost and either exam is Proctored or Non-Proctored or lab based, these questions are always there in the mind. Here is answer of all these questions related to VCAP6-DCV Deploy Exam.
Note:- Exam Price and Time Limit can vary country to country. 

Exam Objectives:


+ Section 1 - Create and Deploy vSphere 6.x Infrastructure Components
+ Objective 1.1 - Perform Advanced ESXi Host Configuration
+ Objective 1.2 - Deploy and Configure Core Management Infrastructure Components
+ Objective 1.3 - Deploy and Configure Update Manager Components
+ Objective 1.4 - Perform Advanced Virtual Machine Configurations
+ Section 2 - Deploy and Manage a vSphere 6.x Storage Infrastructure
+ Objective 2.1 - Implement Complex Storage Solutions
+ Objective 2.2 - Manage Complex Storage Solutions
+ Objective 2.3 - Troubleshoot Complex Storage Solutions
+ Section 3 - Deploy and Manage a vSphere 6.x Network Infrastructure
+ Objective 3.1 - Implement and Manage vSphere Standard Switch (vSS) Networks
+ Objective 3.2 - Implement and Manage vSphere 6.x Distributed Switch (vDS) Networks
+ Objective 3.3 - Scale a vSphere 6.x Network Implementation
+ Objective 3.4 - Troubleshoot a vSphere 6.x Network Implementation
+ Section 4 - Configure a vSphere Deployment for Availability and Scalability
+ Objective 4.1 - Implement and Maintain Complex vSphere Availability Solutions
+ Objective 4.2 - Implement and Manage Complex DRS solutions
+ Objective 4.3 - Troubleshoot vSphere clusters
+ Section 5 - Configure a vSphere Deployment for Manageability
+ Objective 5.1 - Execute VMware Cmdlets and Customize Scripts Using PowerCLI
+ Objective 5.2 - Implement and Maintain Host Profiles
+ Objective 5.3 - Manage and analyze vSphere log files
+ Objective 5.4 - Configure and manage Content Library
+ Section 6 - Configure a vSphere Deployment for Performance
+ Objective 6.1 - Utilize Advanced vSphere Performance Monitoring Tools
+ Objective 6.2 - Optimize Virtual Machine resources
+ Section 7 - Configure a vSphere 6.x Environment for Recoverability
+ Objective 7.1- Deploy and manage vSphere Replication
+ Objective 7.2 - Deploy and Manage vSphere Data Protection
+ Objective 7.3 - Backup and Recover vSphere Configurations
+ Section 8 - Configure a vSphere 6.x Environment for Security
+ Objective 8.1 - Manage authentication and end-user security
+ Objective 8.2 - Manage SSL certificates
+ Objective 8.3 - Harden a vSphere 6.x Deployment

Test Drive to vSphere Environment for the Exam Preparation
https://my.vmware.com/en/web/vmware/evalcenter?p=vsphere-hol&ui=www_cert

I will try to add more details on each objective in future blog posts.
For more information and latest certification updates refer:-
http://mylearn.vmware.com/portals/certification/

VMworld 2016 Session: vVOLs and Containers - Architecture Discussion


Learn Architecture Level details about vVOLs and Containers and their use cases. How this will change in future version of vSphere, Supported and Unsupported configurations with vVOLs. 
Source:-
https://www.youtube.com/watch?v=BoovdDVJuFM

Wednesday, 14 September 2016

VCP7-CMA Beta Exam Exam - Limited Time Offer

 
Anyone who is interested in achieving VCP7-CMA certification. They can go for this exam as beta version of this exam is avaiable now. This exam is available for the limited time, in India this exam is available for USD 50 (Exam Prices are subject to vary country to country).
Exam Blueprint Link
https://mylearn.vmware.com/lcms/web/portals/certification/exam_prep_guides/Exam_Prep_Guide_2V0-731_v1.2.pdf?q=%23newinthezone&src=typd&mid=4554&eid=CVMW2000018428362

Disable DRS but Save Resource Pool Hierarchy

Sometimes while troubleshooting vSphere Environment i need to disable the DRS and Enable it back, but my DRS has resource pool hierarchy with some VMs. As Resource Pools in Host Cluster can only be present if DRS is enabled, it i will DRS it will delete all the resource pools from the cluster. I don't want to document this hierarchy and  also i don't want to create all the resource pools again after enabling the DRS. VMware Introduced this feature with vSphere 5.1 web client, where you can take the snapshot of resource pool tree in the form of a file and restore it back whenever DRS is enabled again. Let's check the same with this step by step:-

To Backup Resource Pool Hierarchy
1. When you will uncheck DRS option and click on OK, you will be immediately prompted for this resource pool snapshot. Click on Yes.


2. Then you will prompted for the location for keeping this snapshot. Give any name and click on save.



To Restore Resource Pool Hierarchy 
1. Turn On the DRS.


 2. Right Click on Cluster and Click on Restore Resource Pool Tree

3. Select Resource Pool Snapshot file and click on OK.

You will get all the resource pools back in cluster as well as it will place VM's automatically in to the appropriate resource pool where these VMs were before disabling the DRS.

Note:- This procedure changes the MOID of the Resouce Pool.

For Complete vCenter Inventory backup have a look at this post written by me earlier http://virtualization24x7.blogspot.in/2014/08/cool-tool-vcenter-inventory-snapshot.html

Check this KB for more info

Tuesday, 13 September 2016

Storage DRS Integration with Storage Policy in vCenter Server 6.x

As everyone knows storage policy concept is not new in vCenter Server version 6, it is available in the previous versions of vSphere. In vCenter version 6.0b and above, storage DRS can be configured to enforce the storage policies. This integration can be done with storage DRS cluster advanced option "EnforceStorageProfiles". This advance option can be configured with one of these integer values:-
0 (Default) = This means no storage policy enforcement on the SDRS Cluster.
1 (Soft) = This means storage policy soft enforcement on SDRS Cluster. It's similar like DRS Soft rules. SDRS comply with storage policy in the optimum level. If required, SDRS will violate the storage policy compliant.
2 (Hard) = This means storage policy soft enforcement on SDRS Cluster. It's similar like DRS Hard rules. SDRS will not violate the storage policy compliant.

Reference KB

How to Configure it from vSphere Web Client?


How to Configure it from vSphere Client?

Monday, 12 September 2016

Recommended vCenter 6.x Deployment Topologies

With vCenter 6.0 , vCenter Installation is Simplified and now it has only two components those provides all the services in virtual datacenter.
vCenter Depolyment Modes:-
Now we have two deployment modes:-
1. vCenter with Embedded PSC = Where vCenter and PSC runs on the same machine.
2. vCenter with External PSC = Where vCenter and PSC runs on two different machines.

Recommended Deployment Topologies for vCenter 6.x:- 
Topology 1:-
Topology 2:-


Topology 3:-

Topology 4:-
 
Topology 5:-
Topology 6:-
Reference KB 

Thursday, 8 September 2016

Use PowervRA to Manage the VMware vRA 7.x

PowervRA is a PowerShell module built on top of the services exposed by the vRealize Automation 7 REST API.

Note: this module is not in any way developed or supported by anyone officially affiliated with VMware


Compatibility
vRA: version 6.2.4, 7.0 and 7.0.1 - Note: support for 6.2.4 is limited given API restrictions. Functions which don't support 6.2.4 will exit early and cleanly.
PowerShell: version 4 is required. We haven't tested yet with version 5, although we wouldn't expect significant issues.

Download
Access this website and download PowervRA


PowerShell v5 users: You grab the latest version of the module from the PowerShell Gallery by running the following command:

Install-Module -Name PowervRA

PowerShell v4 users: Try this handy one liner to download and install the module:

(new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/jakkulabs/PowervRA/master/Get-PowervRA.ps1") | iex

Copy Software in Power Shell Module Directory
c:\Program files\WindowsPowershell\Modules
Then Access Power Shell and Set the Execution Policy and Paste the handy one liner mentioned above as i was PowerShell v4 User:-
Set-executionpolicy unrestricted

(new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/jakkulabs/PowervRA/master/Get-PowervRA.ps1") | iex

Press A and then press r for each vRA Power Shell Cmdlet Import


Then Use PowervRA cmdlets to execute the required operation:-
1. First connect with vRA Server

 
2. For example i want to reset the Configurationadmin@vsphere.local account password in vRA

Set-vRAUserPrincipal -Id configurationadmin@vsphere.local -Password abcxyz123!


 If you want to check that the cmdlets available for managing the vRA then you can check it from Functions folder this folder will be available in PowervRA Folder.

Thanks for reading this post.