PingDirectory

Creating and setting the locations

About this task

Create and set the locations of the Austin and New York server instances.

Steps

  1. On the Austin servers, create two instance locations, newyork and austin.

    Example:

    ./bin/dsconfig --no-prompt create-location --location-name austin
    
    ./bin/dsconfig --no-prompt create-location --location-name newyork \
    --set preferred-failover-location:austin
  2. Set the location of the Austin server instances to austin.

    Example:

    ./bin/dsconfig --no-prompt set-location-prop --location-name austin \
    --add preferred-failover-location:newyork
    
    ./bin/dsconfig --no-prompt set-global-configuration-prop \
    --set location:austin
  3. On the New York servers, create two instance locations, newyork and austin.

    Example:

    ./bin/dsconfig --no-prompt create-location \
    --location-name austin
    
    ./bin/dsconfig --no-prompt create-location \
    --location-name newyork \
    --set preferred-failover-location:austin
  4. Set the location of on the New York server instances to newyork.

    Example:

    ./bin/dsconfig --no-prompt set-location-prop \
    --location-name austin \
    --add preferred-failover-location:newyork
    
    ./bin/dsconfig --no-prompt set-global-configuration-prop \
    --set location:newyork