After you have deployed or installed an external replicating Platform Services Controller instance in each vCenter Single Sign-On site, you must join all external Platform Services Controller instances in replication agreement.

About this task

Figure 1. Example Configuration of Replication Agreement Between Two External Platform Services Controller Instances in Different vCenter Single Sign-On Sites
Configuration of replication agreement between two external Platform Services Controller instances in different vCenter Single Sign-On sites

Table 1. Legend

Arrow or line

Description

Two-pointed blue arrow representing the replication agreement between two Platform Services Controller instances.

Replication agreement between two Platform Services Controller instances

Green line representing the registration of a vCenter Server instance with an external Platform Services Controller.

vCenter Server registration with an external Platform Services Controller

Big blue arrow, representing the transition from one state of the system to another.

Transition step

To configure replication agreement between two Platform Services Controller instances, you can use a connection to any of the vCenter Server or Platform Services Controller instances from the vCenter Single Sign-On domain.

Procedure

  1. Connect to a vCenter Server or Platform Services Controller instance from the vCenter Single Sign-On domain.

    Option

    Steps

    If you want to connect to a vCenter Server Appliance or Platform Services Controller appliance

    Log in to the appliance Bash shell as root.

    1. Log in to the appliance shell

      • If you have direct access to the appliance console, press Alt+F1.

      • If you want to connect remotely, use SSH or another remote console connection to start a session to the appliance.

    2. Enable the Bash shell

      shell.set --enabled true
    3. Run the shell command.

    If you want to connect to a Windows installation of vCenter Server or Platform Services Controller

    Log in to the Windows machine as an administrator and open the Windows command prompt.

  2. Run the vdcrepadmin command with the showpartners parameter against one external Platform Services Controller instance.

    You determine the existing partnerships of the Platform Services Controller instance with other Platform Services Controller instances in the vCenter Single Sign-On domain.

    • If you are using a connection to a vCenter Server Appliance or Platform Services Controller appliance, run the following command.

      /usr/lib/vmware-vmdir/bin/vdcrepadmin -f showpartners -h psc_fqdn_or_static_ip -u administrator

    • If you are using a connection to a Windows installation of vCenter Server or Platform Services Controller, run the following command.

      C:\Program Files\VMware\vCenter Server\vmware-vmdir\bin\vdcrepadmin -f showpartners -h psc_fqdn_or_static_ip -u administrator

    When prompted, enter the vCenter Single Sign-On administrator password.

  3. Repeat Step 2 against each external Platform Services Controller instance.

    You determined the existing partnerships between all Platform Services Controller instances in the vCenter Single Sign-On domain.

  4. If there is an external Platform Services Controller instance that is not in replication agreement with another external Platform Services Controller instance, run the vdcrepadmin command with the createagreement parameter against this Platform Services Controller instance to join it to another external Platform Services Controller instance.
    • If you are using a connection to a vCenter Server Appliance or Platform Services Controller appliance, run the following command.

      /usr/lib/vmware-vmdir/bin/vdcrepadmin -f createagreement -2 -h psc_fqdn_or_static_ip -H partner_psc_fqdn_or_static_ip -u administrator

    • If you are using a connection to a Windows installation of vCenter Server or Platform Services Controller, run the following command.

      C:\Program Files\VMware\vCenter Server\vmware-vmdir\bin\vdcrepadmin -f createagreement -2 -h psc_fqdn_or_static_ip -H partner_psc_fqdn_or_static_ip -u administrator

    When prompted, enter the vCenter Single Sign-On administrator password.

    You created a partnership between the two Platform Services Controller instances.

  5. Repeat Step 4 against each external Platform Services Controller instance that is not in replication agreement with another external Platform Services Controller instance.
  6. Repeat Step 2 and Step 3 to verify that you configured a ring partnership topology of the external Platform Services Controller instances.