virt-who を使用して VMware クラスターをフィルタリングするにはどうすればよいですか?
Environment
- Red Hat Satellite 6
- Red Hat Enterprise Linux
- VMware ESX
Issue
virt-who
でホスト/ハイパーバイザーの代わりにVMware クラスターをフィルタリングする
にはどうすればよいですか?- virt-who を使用して、必要なクラスターのみが satellite 6 にレポートしていることを確認するにはどうすればよいですか?
- virt-who を使用するときに、一部の
ESX クラスター
が Satellite 6 に報告するのを除外する
ようにするにはどうすればよいですか?
Resolution
-
設定ファイルを編集し、パラメーターを追加します。
# vi /etc/virt-who.d/config.conf [config] type=hypervisor_type server=vcenter/esx_host username=vcenter/esx_username owner=owner env=Library filter_host_parents=domain-xx,domain-yy OR exclude_host_parents=domain-zz,domain-xx
注記:
filter_host_parents
またはexclude_host_parents
のいずれかを使用します。filter_host_parents => レポートされるクラスター
exclude_host_parents => 報告されないクラスター
サポートされているハイパーバイザー環境:
-
ESX
-
VMware でクラスター名を検索するための PowerCLI コマンド:
> Get-Cluster Name HAEnabled HAFailover DrsEnabled DrsAutomationLevel Level ---- --------- ---------- ---------- ------------------ Cluster-ESXA-00X False 1 True FullyAutomated Cluster-ESXB-00X True 1 True FullyAutomated -
VMware でクラスター ID を見つけるための PowerCLI コマンド:
> Get-Cluster "ClusterName" | Select ID
-
ClusterName
を実際の ClusterName に置き換えて、クエリーを実行します。For example:- > Get-Cluster "Cluster-ESXA-00X" | Select ID
-
virt-who および仮想データセンター (VDC) サブスクリプションの問題に関連するその他のナレッジベースの記事は、Consolidated Troubleshooting Article for Virt-who and Virtual Datacenter (VDC) Subscriptions Issues を参照してください。
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments