Ivy_Yang's Posts

Author : mimartin URL : http:////docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.avail.doc/GUID-B9ACCE9B-A14D-4B2F-87EF-4B0A67ABDF58.html Topic Name : Master and Subordinate Hosts P... See more...
Author : mimartin URL : http:////docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.avail.doc/GUID-B9ACCE9B-A14D-4B2F-87EF-4B0A67ABDF58.html Topic Name : Master and Subordinate Hosts Publication Name : vSphere Availability Product/Version : VMware vSphere/6.5 Question : how can know which ESXi host is the master host in a vSphere cluster?
:smileysilly:it works!!hiahai  thanks! 
actually I tried "UpdateScsiLunDisplayName" but does not work PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> $esxName = “vh0034msg01.active.tan” PowerCLI C:\Progr... See more...
actually I tried "UpdateScsiLunDisplayName" but does not work PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> $esxName = “vh0034msg01.active.tan” PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> $esx = Get-VMHost $esxName | Get-View PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> $storSys = Get-View $esx.ConfigManager.StorageSystem PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-ScsiLun -VMHost $esxName -LUNType disk -CanonicalName "naa.6006016061902e0062f2319d68e5e111" |foreach {$_.RuntimeName,$_.Extensiondata.DisplayName} vmhba1:C0:T0:L10 DGC Fibre Channel Disk (naa.6006016061902e0062f2319d68e5e111) PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-ScsiLun -VMHost $esxName -LUNType disk -CanonicalName "naa.6006016061902e0062f2319d68e5e111" | %{ $storSys.UpdateScsiLunDisplayName($_.DisplayName + " test") } Cannot find an overload for "UpdateScsiLunDisplayName" and the argument count:"1". At line:1 char:136 + Get-ScsiLun -VMHost $esxName -LUNType disk -CanonicalName "naa.6006016061902e 0062f2319d68e5e111" | %{ $storSys.UpdateScsiLunDisplayName <<<< ($_.DisplayName + " test") }     + CategoryInfo          : NotSpecified: (:) [], MethodException     + FullyQualifiedErrorId : MethodCountCouldNotFindBest
Hi, guys, I have a question: Vcenter----->home---->inventory--->host and Clusters, I select an ESX host and ------->configuration----->storage adapter, we can see many LUNs from storage. W... See more...
Hi, guys, I have a question: Vcenter----->home---->inventory--->host and Clusters, I select an ESX host and ------->configuration----->storage adapter, we can see many LUNs from storage. We usually right click the "Name" to change the name to match with what we see in stroage side. file:///E:/1.jpg now we present 90 LUNs to this ESX cluster. I am wondering if there is any command we can change the device name? I tried get-ScsiLun.....and I can get the HLU, but there is no "Name" in the outpur......... would you help please point the right command? many thanks in advance!
I have a new questio: Vcenter----->home---->inventory--->host and Clusters, I select an ESX host and ------->configuration----->storage adapter,  we can see many LUNs from storage. We usually r... See more...
I have a new questio: Vcenter----->home---->inventory--->host and Clusters, I select an ESX host and ------->configuration----->storage adapter,  we can see many LUNs from storage. We usually right click the "Name" to change the name to match with what we see in stroage side. soI am wondering if there is any commans we can change the device name? I tried get-ScsiLun....but not working....... would you help please point the right command?
thanks! Avarude!
Hi, I am a newbie of Vmware. Recently I am asked to  help with Vmware CLI commands, for example: Create add block devices (datastore or RDM) to VM Remove block device (datastore or RDM) fr... See more...
Hi, I am a newbie of Vmware. Recently I am asked to  help with Vmware CLI commands, for example: Create add block devices (datastore or RDM) to VM Remove block device (datastore or RDM) from VM Remove datastore Add datastore Add vmdk to a VM Create CIFS share via CLI Create NFS export via CLI I installed Vsphere PowerCLI as well as Vsphere CLI on my PC ... but would you please help point the right commands since there are so many cmdlet. btw: we are using ESXi 5.0.0. one the question: can I finish all of the above with only Vsphere PowerCLI? I don't see the cmdlet related to filesystem in Vsphere PowerCLI............ many thanks in advance:smileyplain: