VPLEX: Monitorovací služba clusteru zobrazuje nekonzistentní stav správce
Summary: VPLEX: Monitorovací služba clusteru zobrazuje nekonzistentní stav správce
Symptoms
Nasazení a konfigurace serveru
Cluster WitnessNástroj Cluster Witness zobrazuje stav správce v kontextu rozhraní příkazového řádku VPLEX po úspěšném nasazení virtuálního počítače serveru a jeho konfiguraci v rozhraní příkazového řádku podle příslušného oficiálního postupu SolVe Desktop (v závislosti na nainstalované verzi kódu GeoSynchrony):
VPlexcli:/> ll cluster-witness/
/cluster-witness:
Attributes:
Name Value
------------------ -------------
admin-state inconsistent
private-ip-address 128.221.254.3
public-ip-address X.X.X.X
Monitorovací služba clusteru se ve stavu sítě VPN zobrazuje jako "dosažitelná". Zdá se, že je správně nakonfigurovaný a v dobrém stavu:
VPlexcli:/> vpn status
Verifying the VPN status between the management servers...
IPSEC is UP
Remote Management Server at IP Address X.X.X.X is reachable
Remote Internal Gateway addresses are reachable
Verifying the VPN status between the management server and the cluster witness server...
IPSEC is UP
Cluster Witness Server at IP Address 128.221.254.3 is reachable
Cause
Nekonzistentní stav správce znamená, že všechny komponenty jsou dosažitelné prostřednictvím sítě pro správu, ale některé komponenty hlásí svůj stav správy jako zakázaný , zatímco jiné jej hlásí jako povolený.
Jedná se o extrémně vzácný stav.
VPlexcli:/> ll cluster-witness/components/
/cluster-witness/components:
Name ID Admin State Operational State Mgmt Connectivity
--------- -- ----------- ----------------- -----------------
cluster-1 1 enabled in-contact ok
cluster-2 2 enabled in-contact ok
server - disabled - ok <<<<Resolution
Vzhledem k tomu, že v tomto případě zakázanou komponentou způsobující "nekonzistenci stavu správce" byl samotný server Cluster Witness a jeho povolení pomocí příkazu "cluster-witness enable" problém odstranilo a stav správce se změnil na "enabled":
VPlexcli:/> cluster-witness enable
VPlexcli:/> ll cluster-witness/
/cluster-witness:
Attributes:
Name Value
------------------ -------------
admin-state enabled
private-ip-address 128.221.254.3
public-ip-address X.X.X.X
Additional Information
V některých vzácných případech se stav správce může zobrazovat jako "nekonzistentní", i když stav sítě VPN ukazuje stav v pořádku a nemůžete povolit cluster s kopií clusteru kvůli tomu, že se na jednom z jeho clusterů nezobrazuje žádný kontext /cluster-witness/.
ROZHRANÍ PŘÍKAZOVÉHO ŘÁDKU CLUSTERU VPLEX CLUSTER-1:
VPlexcli:/> ll /cluster-witness/components/
/cluster-witness/components:
Name ID Admin State Operational State Mgmt Connectivity
--------- -- ----------- ----------------- -----------------
cluster-1 1 disabled - ok
cluster-2 2 disabled - ok
server - enabled unknown ok
VPlexcli:/> vpn status
Verifying the VPN status between the management servers...
IPSEC is UP
Remote Management Server at IP Address x.x.x.x is reachable
Remote Internal Gateway addresses are reachable
Verifying the VPN status between the management server and the cluster witness server...
IPSEC is UP
Cluster Witness Server at IP Address 128.221.254.3 is reachable
VPlexcli:/> cluster-witness enable
cluster-witness enable: Evaluation of <<cluster-witness enable>> failed.
cause: Could not enable Cluster Witness.
cause: Cluster Witness cannot be enabled due to failure of a pre-check.
cause: Cluster Witness is not configured on cluster-2
ROZHRANÍ PŘÍKAZOVÉHO ŘÁDKU CLUSTERU VPLEX CLUSTER-2:
VPlexcli:/> ll /cluster-witness/
ls: No context found for '/cluster-witness/'
VPlexcli:/> vpn status
Verifying the VPN status between the management servers...
IPSEC is UP
Remote Management Server at IP Address x.x.x.x is reachable
Remote Internal Gateway addresses are reachable
Verifying the VPN status between the management server and the cluster witness server...
IPSEC is UP
Cluster Witness Server at IP Address 128.221.254.3 is reachable
VPlexcli:/> cluster-witness enable
<unknown command>: Evaluation of <<cluster-witness enable>> failed.
cause: Property 'cluster-witness' is not supported.
Pokud chcete vyřešit problém s clusterem, který nemá kontext clusteru s kopií clusteru, spustíte příkaz cluster-witness configure, který by měl vytvořit kontext, pokud ještě neexistuje. Poté byste měli být schopni povolit cluster s kopií clusteru jako obvykle.
Zkontrolujte, jestli existuje kontext Cluster-Witness
VPlexcli:/> ll
Name Description
------------------- ----------------------------------------------------------
clusters Contains all the clusters that are currently connected, or
have been connected during the current session.
data-migrations Contains extent migrations and device-migrations.
distributed-storage Contains distributed devices and WAN outage rule sets.
engines Contains all the engines that are currently connected.
management-server Contains the management server for the local cluster
monitoring Contains system performance monitors.
notifications Contains the call-home event-filter and its sinks.
recoverpoint Contains RecoverPoint components within this system.
system-defaults System-wide default values and settings.
Pokud se kontext Cluster-Witness nezobrazí, spusťte příkaz,VPlexcli:/ cluster-witness configure
Poté opakujte krok 1, abyste zjistili, zda je nyní uvedena služba Cluster-Witness>
VPlexcli:/> ll
Name Description
------------------- ----------------------------------------------------------
cluster-witness Contains the Cluster Witness connected to all clusters <<<<
within this system.
clusters Contains all the clusters that are currently connected, or
have been connected during the current session.
data-migrations Contains extent migrations and device-migrations.
distributed-storage Contains distributed devices and WAN outage rule sets.
engines Contains all the engines that are currently connected.
management-server Contains the management server for the local cluster
monitoring Contains system performance monitors.
notifications Contains the call-home event-filter and its sinks.
recoverpoint Contains RecoverPoint components within this system.
system-defaults System-wide default values and settings.
Dále zkontrolujte, zda se cluster witness zobrazuje jako povolený spuštěním příkazu.
VPlexcli:/>ll /cluster-witness/
VPlexcli:/> ll /cluster-witness/
/cluster-witness:
Attributes:
Name Value
------------------ -------------
admin-state enabled <<<<
private-ip-address 128.221.254.3
public-ip-address x.x.x.x
Contexts:
Name Description
---------- --------------------------
components Cluster Witness Components
Pokud se stav správce zobrazuje jako "disabled", povolte jej pomocí níže uvedeného příkazu
: VPlexcli:/>cluster-witness enable
Jakmile se stav správce zobrazí jako "enabled", zkontrolujte součásti clusteru jako "enabled", abyste se ujistili, že se všechny zobrazují jako "enabled", jak je znázorněno níže.
VPlexcli:/> ll /cluster-witness/components/
/cluster-witness/components:
Name ID Admin State Operational State Mgmt Connectivity
--------- -- ----------- ------------------- -----------------
cluster-1 1 enabled in-contact ok
cluster-2 2 enabled in-contact ok
server - enabled clusters-in-contact ok
Pokud stav správce stále funguje "nekonzistentně" po kontrole stavu cluster-witness nebo po spuštění příkazu enable, obraťte se na zákaznickou podporu VPLEX.