VMware Cloud Community
kasperottesen
Contributor
Contributor
Jump to solution

Primary Node

Hi,

How do I check which hosts i my HA Cluster is primary nodes from the vma?

Kasper

0 Kudos
1 Solution

Accepted Solutions
lamw
Community Manager
Community Manager
Jump to solution

Yep! Using the vSphere API, the primary nodes are exposed but not the secondaries.

Here is a script to do exactly that, which utilizes the vSphere SDK for Perl which can be executed on vMA or a system with vCLI installed.

=========================================================================

William Lam

VMware vExpert 2009,2010

VMware scripts and resources at:

Twitter: @lamw

Getting Started with the vMA (tips/tricks)

Getting Started with the vSphere SDK for Perl

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

View solution in original post

0 Kudos
3 Replies
AntonVZhbankov
Immortal
Immortal
Jump to solution

Not sure if it possible from vMA, but you see what nodes are primary from ESX/ESXi console:

/opt/vmware/aam/bin/Cli (ftcli on earlier versions)
AAM> ln


---

MCSA, MCTS Hyper-V, VCP 3/4, VMware vExpert

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
0 Kudos
lamw
Community Manager
Community Manager
Jump to solution

Yep! Using the vSphere API, the primary nodes are exposed but not the secondaries.

Here is a script to do exactly that, which utilizes the vSphere SDK for Perl which can be executed on vMA or a system with vCLI installed.

=========================================================================

William Lam

VMware vExpert 2009,2010

VMware scripts and resources at:

Twitter: @lamw

Getting Started with the vMA (tips/tricks)

Getting Started with the vSphere SDK for Perl

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos
kasperottesen
Contributor
Contributor
Jump to solution

Thanks Smiley Happy

0 Kudos