In a vCenter HA (VCHA) environment, collecting a log bundle (vc-support) from the Active node normally includes logs from the Passive and Witness nodes. However, under certain circumstances, the Passive node logs may fail to be collected via the Active node. This document describes alternative methods for collecting the Passive node logs directly.
VMware vCenter Server
Select one of the following methods based on network accessibility to the Passive node.
Scenario 1: No Direct SSH Access to the Passive Node (via Active Node)
This method assumes connectivity exists between the Active and Passive nodes. The Active node is used as a "jump box".
(If facing issues with SCP clients) Change the default shell to bash if necessary (See KB 324261).
From the Active vCenter session, SSH to the Passive vCenter Server as root.
On the Passive vCenter Server, also change the default shell to bash if needed.
On the Passive vCenter Server, generate the log bundle using the vc-support command. (Example: generating in /storage/core)
# vc-support -e VirtualAppliance:VchaPeerBundles -w /storage/core
From the Passive vCenter Server, use the scp command to transfer the generated log bundle to the Active vCenter Server. (e.g., scp /storage/core/<bundle_name>.tgz root@<Active_vCenter_IP_or_FQDN>:/storage/core/)
Using an SCP client (like WinSCP) on your workstation, connect to the Active vCenter Server and download the log bundle.
Scenario 2: Direct SSH Access to the Passive Node
SSH directly to the Passive vCenter Server as root.
If necessary, type shell to switch from the appliance shell (Command>) to the Bash shell (#).
Generate the log bundle using the vc-support command. (Example: generating in /storage/core)
# vc-support -e VirtualAppliance:VchaPeerBundles -w /storage/core
Before generating the bundle, use the df -h command to ensure the destination directory (e.g., /storage/core) has sufficient free space.
Japanese Version: VCHA環境においてアクティブノード経由でパッシブノードのログが取得できない場合のログ取得方法(417499)