Reader small image

You're reading from  Mastering PowerCLI

Product typeBook
Published inOct 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781785286858
Edition1st Edition
Languages
Right arrow
Author (1)
Sajal Debnath
Sajal Debnath
author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath

Right arrow

Configuring High Availability


In this section, we will discuss how to configure HA in a cluster and the other advanced parameters related to HA.

As shown in the preceding examples, HA is not enabled for this cluster. To enable the cluster, we will again make use of the Set-Cluster cmdlet. In the following example, HA in the cluster has been enabled:

Next, we will enable the HAAdmissionControl property. Let's first check whether HAAdmissionControl is enabled or not:

PS C:\> Get-Cluster "Lab Cluster" | Select -Property HAEnabled,HAAdmissionControlEnabled

HAEnabled HAAdmissionControlEnabled
--------- -------------------------
     True                     False

To enable this property, we will use the Set-Cluster cmdlet. The process of enabling this parameter is shown in the following example:

Next, we will set HAFailoverLevel. To do this, we will set the HAFailoverLevel property of the cluster. In the following example, we have changed the failover level to 2 (the default value is 1):

In the...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PowerCLI
Published in: Oct 2015Publisher: PacktISBN-13: 9781785286858

Author (1)

author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath