Create and set the locations of the Austin and New York server instances.
  1. On the Austin servers, create two instance locations, newyork and austin.
    ./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.
    ./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.
    ./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.
    ./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