<spanid="com-vmware-vcenter-vcha-package"></span><h1>com.vmware.vcenter.vcha package<aclass="headerlink"href="#module-com.vmware.vcenter.vcha"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="submodules">
<h2>Submodules<aclass="headerlink"href="#submodules"title="Permalink to this headline">¶</a></h2>
<spanid="com-vmware-vcenter-vcha-cluster-client-module"></span><h2>com.vmware.vcenter.vcha.cluster_client module<aclass="headerlink"href="#module-com.vmware.vcenter.vcha.cluster_client"title="Permalink to this headline">¶</a></h2>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha.cluster_client</span></code> module provides classes for
redeploying and monitoring a vCenter High Availability (VCHA) Cluster after a
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha.cluster_client.</code><codeclass="descname">Active</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Active"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>management=None</em>, <em>ha=None</em>, <em>placement=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Active.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>management</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.IpSpec"title="com.vmware.vcenter.vcha_client.IpSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.IpSpec</span></code></a>) – IP specification for the Management network. This attribute was
added in vSphere API 6.7 U1.</li>
<li><strong>ha</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.IpSpec"title="com.vmware.vcenter.vcha_client.IpSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.IpSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – IP specification for the HA network. This attribute was added in
vSphere API 6.7 U1.
If None, then the second NIC of the Active Node of the VCHA cluster
is not configured.</li>
<li><strong>placement</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.PlacementInfo"title="com.vmware.vcenter.vcha_client.PlacementInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.PlacementInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains the placement information of the active node. This
attribute was added in vSphere API 6.7 U1.
If None, the request specified that placement information of the
<codeclass="descname">get</code><spanclass="sig-paren">(</span><em>vc_spec=None</em>, <em>partial=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Active.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieves information about the active node of a VCHA cluster. This
<li><strong>vc_spec</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.CredentialsSpec"title="com.vmware.vcenter.vcha_client.CredentialsSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.CredentialsSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains active node’s management vCenter server credentials.
If None, then the active vCenter server is assumed to be managed by
itself.</li>
<li><strong>partial</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) –<p>If true, then return only the information that does not require
connecting to the Active vCenter Server.</p>
<blockquote>
<div>If false or unset, then return all the information.</div></blockquote>
<trclass="field-odd field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">Info Information about the VCHA network and placement of the active
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha.cluster_client.</code><codeclass="descname">DeploymentType</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.DeploymentType"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>deployment_type=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.DeploymentType.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>deployment_type</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha.cluster_client.DeploymentType.Type"title="com.vmware.vcenter.vcha.cluster_client.DeploymentType.Type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">DeploymentType.Type</span></code></a>) – Identifies the deployment type of the VCHA cluster. This attribute
<emclass="property">class </em><codeclass="descname">Type</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.DeploymentType.Type"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">DeploymentType.Type</span></code> class defines the possible deployment types for
a VCHA Cluster. This enumeration was added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="last">This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">AUTO</code><emclass="property"> = Type(string='AUTO')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.DeploymentType.Type.AUTO"title="Permalink to this definition">¶</a></dt>
<dd><p>VCHA Cluster was deployed automatically. This class attribute was added in
<codeclass="descname">MANUAL</code><emclass="property"> = Type(string='MANUAL')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.DeploymentType.Type.MANUAL"title="Permalink to this definition">¶</a></dt>
<dd><p>VCHA Cluster was deployed manually. This class attribute was added in
<codeclass="descname">NONE</code><emclass="property"> = Type(string='NONE')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.DeploymentType.Type.NONE"title="Permalink to this definition">¶</a></dt>
<dd><p>VCHA Cluster is not configured. This class attribute was added in vSphere
<codeclass="descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.DeploymentType.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieves the deployment type of a VCHA cluster. This method was added
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha.cluster_client.</code><codeclass="descname">Mode</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Mode"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">ClusterMode</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Mode.ClusterMode"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Mode.ClusterMode</span></code> class defines the possible modes for a VCHA
Cluster. This enumeration was added in vSphere API 6.7 U1.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="last">This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">DISABLED</code><emclass="property"> = ClusterMode(string='DISABLED')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Mode.ClusterMode.DISABLED"title="Permalink to this definition">¶</a></dt>
<dd><p>VCHA Cluster is disabled. State replication between the Active and Passive
node is disabled and automatic failover is not allowed. This class
<codeclass="descname">ENABLED</code><emclass="property"> = ClusterMode(string='ENABLED')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Mode.ClusterMode.ENABLED"title="Permalink to this definition">¶</a></dt>
<dd><p>VCHA Cluster is enabled. State replication between the Active and Passive
node is enabled and automatic failover is allowed. This class attribute was
<codeclass="descname">MAINTENANCE</code><emclass="property"> = ClusterMode(string='MAINTENANCE')</em><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Mode.ClusterMode.MAINTENANCE"title="Permalink to this definition">¶</a></dt>
<dd><p>VCHA Cluster is in maintenance mode. State replication between the and
Passive node is enabled but automatic failover is not allowed. This class
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>mode=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Mode.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>mode</strong> (<aclass="reference internal"href="#com.vmware.vcenter.vcha.cluster_client.Mode.ClusterMode"title="com.vmware.vcenter.vcha.cluster_client.Mode.ClusterMode"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Mode.ClusterMode</span></code></a>) – Identifies the mode of the VCHA cluster. This attribute was added
<codeclass="descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Mode.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieves the current mode of a VCHA cluster. This method was added in
<codeclass="descname">set_task</code><spanclass="sig-paren">(</span><em>mode</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Mode.set_task"title="Permalink to this definition">¶</a></dt>
<dd><p>Manipulates the mode of a VCHA Cluster. Following mode transitions are
allowed:</p>
<blockquote>
<div>enabled -> disabled - Allowed only in healthy and degraded states.
enabled -> maintenance - Allowed only in healthy state.
disabled -> enabled - Allowed only in healthy state.</div></blockquote>
<p>maintenance -> enabled - Allowed only in healthy state with all nodes
are running the same version.
maintenance -> disabled - Allowed only in healthy state with all nodes
are running the same version.</p>
<blockquote>
<div>All other transitions are not allowed.</div></blockquote>
<p>VCHA Cluster configuration remains intact in any of the cluster modes..
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha.cluster_client.</code><codeclass="descname">Passive</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Passive"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">CheckResult</code><spanclass="sig-paren">(</span><em>warnings=None</em>, <em>errors=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Passive.CheckResult"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>warnings</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – A list of problems which may require attention, but which are not
fatal. This attribute was added in vSphere API 6.7 U1.</li>
<li><strong>errors</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – A list of problems which are fatal to the operation and the
operation will fail. This attribute was added in vSphere API 6.7
<emclass="property">class </em><codeclass="descname">CheckSpec</code><spanclass="sig-paren">(</span><em>vc_spec=None</em>, <em>placement=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Passive.CheckSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>vc_spec</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.CredentialsSpec"title="com.vmware.vcenter.vcha_client.CredentialsSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.CredentialsSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains the active node’s management vCenter server credentials.
This attribute was added in vSphere API 6.7 U1.
If None, then the active vCenter server is assumed to to be managed
by itself.</li>
<li><strong>placement</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.PlacementSpec"title="com.vmware.vcenter.vcha_client.PlacementSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.PlacementSpec</span></code></a>) – Contains the node’s placement information for validation. This
<emclass="property">class </em><codeclass="descname">RedeploySpec</code><spanclass="sig-paren">(</span><em>vc_spec=None</em>, <em>placement=None</em>, <em>ha_ip=None</em>, <em>failover_ip=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Passive.RedeploySpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>vc_spec</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.CredentialsSpec"title="com.vmware.vcenter.vcha_client.CredentialsSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.CredentialsSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains the active node’s management vCenter server credentials.
This attribute was added in vSphere API 6.7 U1.
If None, then the active vCenter server is assumed to be managed by
itself.</li>
<li><strong>placement</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.PlacementSpec"title="com.vmware.vcenter.vcha_client.PlacementSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.PlacementSpec</span></code></a>) – Contains the node’s placement information. This attribute was added
in vSphere API 6.7 U1.</li>
<li><strong>ha_ip</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.IpSpec"title="com.vmware.vcenter.vcha_client.IpSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.IpSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains the VCHA HA network configuration of the node. All cluster
communication (state replication, heartbeat, cluster messages)
happens over this network. This attribute was added in vSphere API
6.7 U1.
If None, then the stored network configuration for the VCHA HA
network for the passive node will be used.</li>
<li><strong>failover_ip</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.IpSpec"title="com.vmware.vcenter.vcha_client.IpSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.IpSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Failover IP address that this node must assume after the failover
to serve client requests. This attribute was added in vSphere API
6.7 U1.
If None, then the public IP address of the Active vCenter Server is
<codeclass="descname">check</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Passive.check"title="Permalink to this definition">¶</a></dt>
<dd><p>Validates the specified passive node’s placement configuration. This
<codeclass="descname">redeploy_task</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Passive.redeploy_task"title="Permalink to this definition">¶</a></dt>
<dd><p>Creates the passive node in a degraded cluster with node location
information and pre-existing VCHA cluster configuration from the active
node. This method was added in vSphere API 6.7 U1.</p>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha.cluster_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">com.vmware.vcenter.vcha.cluster_client.</code><codeclass="descname">Witness</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Witness"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">CheckResult</code><spanclass="sig-paren">(</span><em>warnings=None</em>, <em>errors=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Witness.CheckResult"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>warnings</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – A list of problems which may require attention, but which are not
fatal. This attribute was added in vSphere API 6.7 U1.</li>
<li><strong>errors</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – A list of problems which are fatal to the operation and the
operation will fail. This attribute was added in vSphere API 6.7
<emclass="property">class </em><codeclass="descname">CheckSpec</code><spanclass="sig-paren">(</span><em>vc_spec=None</em>, <em>placement=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Witness.CheckSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>vc_spec</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.CredentialsSpec"title="com.vmware.vcenter.vcha_client.CredentialsSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.CredentialsSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains the active node’s management vCenter server credentials.
This attribute was added in vSphere API 6.7 U1.
If None, then the active vCenter server is assumed to be managed by
itself.</li>
<li><strong>placement</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.PlacementSpec"title="com.vmware.vcenter.vcha_client.PlacementSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.PlacementSpec</span></code></a>) – Contains the node’s placement information for validation. This
<emclass="property">class </em><codeclass="descname">RedeploySpec</code><spanclass="sig-paren">(</span><em>vc_spec=None</em>, <em>placement=None</em>, <em>ha_ip=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Witness.RedeploySpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>vc_spec</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.CredentialsSpec"title="com.vmware.vcenter.vcha_client.CredentialsSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.CredentialsSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains the active node’s management vCenter server credentials.
This attribute was added in vSphere API 6.7 U1.
If None, then the active vCenter server is assumed to be managed by
itself.</li>
<li><strong>placement</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.PlacementSpec"title="com.vmware.vcenter.vcha_client.PlacementSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.PlacementSpec</span></code></a>) – Contains the node’s placement information. This attribute was added
in vSphere API 6.7 U1.</li>
<li><strong>ha_ip</strong> (<aclass="reference internal"href="com.vmware.vcenter.html#com.vmware.vcenter.vcha_client.IpSpec"title="com.vmware.vcenter.vcha_client.IpSpec"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vcenter.vcha_client.IpSpec</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Contains the VCHA HA network configuration of the node. All cluster
communication (state replication, heartbeat, cluster messages)
happens over this network. This attribute was added in vSphere API
6.7 U1.
If None, then the stored network configuration for the VCHA HA
<codeclass="descname">check</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Witness.check"title="Permalink to this definition">¶</a></dt>
<dd><p>Validates the specified witness node’s placement configuration. This
<codeclass="descname">redeploy_task</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.vcenter.vcha.cluster_client.Witness.redeploy_task"title="Permalink to this definition">¶</a></dt>
<dd><p>Creates the witness node in a degraded cluster with node location
information and pre-existing VCHA cluster configuration from the active
node. This method was added in vSphere API 6.7 U1.</p>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.