Can the test cluster command in powercli adversely affect a VMware environment ? Does it make changes to Hosts/Configuration ? I want to run Test cluster in VMware environment where it test configurations / parameters of VMware cluster but does not make changes to environment. Which test cluster commands are most commonly used?
Now I am confused I just ran get-cluster - this was my results - these variables are VMware variables
PowerCLI C:\> get-cluster
Name HAEnabled HAFailover DrsEnabled DrsAutomationLevel
Level
---- --------- ---------- ---------- ------------------
NCC 200 Cluster True 1 False FullyAutomated
CAL 200 Cluster True 1 False FullyAutomated
BRM 200 Cluster True 1 False FullyAutomated
DAR 200 Cluster True 1 False FullyAutomated
ALV 400 Cluster True 1 True PartiallyAutomated
ALV 800 Cluster True 1 True PartiallyAutomated
LNC 100 Cluster True 1 True Manual
LNC 700 Cluster True 1 True PartiallyAutomated
Are you referring to the the Test-VsanClusterHealth cmdlet?
Or a script/function from somewhere?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
The command is
PowerCLI C:\> Test-Cluster
Does this command restart nodes/ modifies configs ? I don't want values to be changed or nodes to be reconfigured by this cmdlet. (stepping cautiously)
I think the command is innocuous. any constructive advise appreciated !
That is a cmdlet from the FailoverClusters module.
That module is for MSFT MSCS clusters, not vSphere clusters I'm afraid.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Are you recommending
No, that is definitely not doing the same thing as Test-Cluster is doing for FailoverClusters.
If you know what to test, you could write a script.
But there is no single cmdlet to test a vSphere cluster
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Is there a cmdlet to test high availability?
No, not that I know off.
What do you want to test in HA?
If you have an idea of what you want to test, you look for or write a script.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Now I am confused I just ran get-cluster - this was my results - these variables are VMware variables
PowerCLI C:\> get-cluster
Name HAEnabled HAFailover DrsEnabled DrsAutomationLevel
Level
---- --------- ---------- ---------- ------------------
NCC 200 Cluster True 1 False FullyAutomated
CAL 200 Cluster True 1 False FullyAutomated
BRM 200 Cluster True 1 False FullyAutomated
DAR 200 Cluster True 1 False FullyAutomated
ALV 400 Cluster True 1 True PartiallyAutomated
ALV 800 Cluster True 1 True PartiallyAutomated
LNC 100 Cluster True 1 True Manual
LNC 700 Cluster True 1 True PartiallyAutomated
get-cluster is a VMware cmdlet
PowerCLI C:\> get-command get-cluster
CommandType Name Version Source
----------- ---- ------- ------
Cmdlet Get-Cluster 5.5.0.0 VMware.VimAutomation.Core
That is correct, Get-Cluster is a PowerCLI cmdlet.
But you were talking about Test-Cluster
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Now I'm somewhat confused.
You start a thread on the Test-Cluster cmdlet, which I explained is not a PowerCLI cmdlet.
And then you mark your own answer about the PowerCLI Get-Cluster cmdlet as the Correct Answer.
What was the point of this thread?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I confused the get-cluster with test-cluster thanks for your input
Test-Cluster is a powershell command used for testing the Windows Failover Clusters.
Get-Cluster is PowerCLI command that lists the clusters in vCenter.