Creates a failover cluster from Hyper-V hosts managed by VMM.
Description
The Install-SCVMHostCluster cmdlet creates a failover cluster from Hyper-V hosts managed by System Center Virtual Machine Manager (VMM). Install-SCVMHostCluster can also add a node to an existing cluster.
For more information about Install-SCVMHostCluster, type: "Get-Help Install-SCVMHostCluster -online".
Parameters
Credential
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies a credential object or, for some cmdlets, a Run As account object that contains the user name and password of an account that has permission to perform this action. Or, in the case of Restart-SCJob, has permission to complete a restarted task.
For more information about the PSCredential object, type: "Get-Help Get-Credential".
For more information about Run As accounts, type: "Get-Help New-SCRunAsAccount".
VMHost
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies an array of virtual machine host objects.
VMHostCluster
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies a VMM host cluster object.
JobGroup
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies an identifier for a series of commands that will run as a set just before the final command that includes the same job group identifier runs.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
SkipValidation
Required?
false
Accept Pipeline Input?
false
Position?
named
Skips cluster validation tests when creating a cluster.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
ClusterName
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies the name of a cluster.
Credential
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies a credential object or, for some cmdlets, a Run As account object that contains the user name and password of an account that has permission to perform this action. Or, in the case of Restart-SCJob, has permission to complete a restarted task.
For more information about the PSCredential object, type: "Get-Help Get-Credential".
For more information about Run As accounts, type: "Get-Help New-SCRunAsAccount".
VMHost
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies an array of virtual machine host objects.
ClusterIPAddress
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies one or more IP addresses to use as a cluster IP address.
ClusterIPAddressPool
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies a static IP address pool to use as a cluster IP address pool.
ClusterReserve
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the number of host failures that a host cluster can sustain before VMM designates the cluster as over-committed. The default value is 1.
Description
Required?
false
Accept Pipeline Input?
false
Position?
named
States a description for the specified object.
JobGroup
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies an identifier for a series of commands that will run as a set just before the final command that includes the same job group identifier runs.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
SetQuorumDisk
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies a disk to use as the quorum disk for the cluster.
SetQuorumNodeMajority
Required?
false
Accept Pipeline Input?
false
Position?
named
Sets the quorum mode to Node Majority for the cluster.
SkipValidation
Required?
false
Accept Pipeline Input?
false
Position?
named
Skips cluster validation tests when creating a cluster.
The first command gets the host group object named New York and stores the object in the $HostGroup variable.
The second command gets all host objects whose name contains "myclus" from the New York host group (stored in $HostGroup), and then stores the host objects in the $Nodes variable.
The third command gets all unassigned LUNs from the storage pool associated with the host group stored in $HostGroup (New York).
The fourth command creates a GUID and stores it in the $JobID variable.
The fifth command assigns the LUNs stored in $Luns to the nodes that are to be clustered. The JobGroup parameter will delay running this command until the last command containing the JobGroup parameter runs.
The last command creates the cluster and names it Cluster01. Using the JobGroup parameter assigns the LUNs just propr to creating the cluster.