Cloud Cred is a professional peer-based ranking system that makes it easy to identify the most credible, up-to-date and follow-worthy experts on cloud computing. Participants earn points for activities that demonstrate cloud knowledge, which is expressed as a numerical Cloud Cred score and a level of mastery. Achieving a certain Cloud Cred score also unlocks various rewards and incentives.
Continue reading
Category Archives: Uncategorized
Join VMware for a special Announcement!!
On May 21, VMware executives Pat Gelsinger and Bill Fathers will unveil a new cloud service that will seamlessly extend your data center to the cloud.
Find more details here.
PowerCLI to see the windows guest IPv4 Network Details.
Its a tiny script to find the IP address, DNS and WINS server of a windows VM. Its an example for invoking guest scripts through PowerCLI.
[crayon lang=”powershell”]
Connect-VIServer vcenterserver1
get-vm -Name vmname | %{
$_.Name; $_ | Invoke-VMScript -GuestUser “test” -GuestPassword “test” -ScriptType Bat -ScriptText “netsh interface ipv4 show addresses” -HostUser “test1” -hostpassword “test1”
$_.Name; $_ | Invoke-VMScript -GuestUser “test” -GuestPassword “test” -ScriptType Bat -ScriptText “netsh interface ipv4 show dnsservers” -HostUser “test1” -hostpassword “test1”
$_.Name; $_ | Invoke-VMScript -GuestUser “test” -GuestPassword “test” -ScriptType Bat -ScriptText “netsh interface ipv4 show winsservers” -HostUser “test1” -hostpassword “test1”
}
[/crayon]
Save few seconds when you connect to the View desktop.
By adding few parameters to View Client shortcut we can save some time daily while connecting to the desktop. Follow the below mentioned steps if the domain login credential for View desktop and local machine are same.
1. Right click the View Client shortcut and select Properties.
2. If the View client installation is done at the default directory then the Target will be like this.
“C:\Program Files\VMware\VMware View\Client\bin\wswc.exe”
Append parameters -loginascurrentuser, -server, -desktopname and -interactive to Target.
Continue reading
PowerCLI one-liner to find the VM which has Raw access to a particular LUN
We had a requirement to find the VM with RDM which holds specific naa ID. The following one-liner made our task easy.
[crayon lang=”powershell”]
Get-VM | Get-HardDisk-DiskType”RawPhysical”,”RawVirtual” | where {$_.ScsiCanonicalName -eq “naa.60008ac00071254a”} |
Select-Object Parent, ScsiCanonicalName
[/crayon]
PowerCLI sccript for exporting VM details to HTML
Its a simple script for exporting VM details to HTML format. The HTML report created will be saved into the folder with the name of current month. It will help in generating a daily report with the help of Windows Task Scheduler. Refer this article for scheduling PowerCLI script.
Following details will be collected.
1. No of VMs in the vCenter.
2. No of Hosts connected in vCenter.
3. PowerState of VMs, IP address, Base ESX host, Cluster Name.
Continue reading
Listing allowed VLANs on uplinks (vmnic) of ESXi 5.1 hosts
ESXi 5.1 has the ability to show allowed VLANs on physical NICs (vmnic). By default this option is not enabled on NICs. We have to enable explicitly and gather the VLAN details. Please find the script below which will help you to enable the VLAN STATS on the NICs which have the LINK status UP.
Continue reading
PoweCLI script to find the VMs with and without RDMs.
Here is the script to generate the list of All VMS, VMs with RDMs and VMs without RDMs in a cluster.
Continue reading
Manually Injecting the Xsigo Host Drivers into the ESXi 5.0 Update 1 Bundle
Xsigo released the latest host driver ‘5.2.1-ESX’ http://www.xsigo.com/support/auth/_downloads/_files/docs/521-GA/Release_Notes_V521_ESXi-50_RevA_080312.pdf for ESXi 5 and ESXi 5 Update 1. Release notes for driver has details about the process for injecting the driver into ESXi image manually. There are few steps missing in it which will create problems for the first time VMware PowerCLI users. We’ve written a script to ease your task.
1. Download and install VMware PowerCLI 5.0 – https://my.vmware.com/group/vmware/details?downloadGroup=PCLI50&productId=229.
Upgrade to VMware vShield Endpoint1.0U3 using CLI
Gallery
In recent past, one of the hosts in Data-centre PSODed with the following Stack Trace. <snip> VMware ESX 4.1.0 [Releasebuild-502767 X86_64] #PF Exception 14 in world 4217:helperNN-N IP 0xnnnnnnnnnnnn addr 0xd8 …. 0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn][email protected]:nover+0x67 0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn][email protected]:nover+0x2b 0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn][email protected]:nover+0x53e </snip> As mentioned in the KB 2009452 … Continue reading