Creating sites

You must create sites that are used to map all the HMCs, hosts, and storage devices. You must create an active site, also referred as the home site, where the workloads are currently running and a backup site that acts as a backup for the workloads during a disaster or a potential disaster situation.

Sites are logical names that represent your sites. A site name can be any American Standard Code for Information Interchange (ASCII) string that is limited to 64 characters. A site name cannot contain any special characters or spaces.

By default, the active site is the home site. You can configure only two sites. When you create sites, the replication type of the site is asynchronous by default. After you create sites, you can change the type of storage replication to synchronous based or shared type, based on the replication type setting of the storage agents.

To create sites for the VM Recovery Manager DR solution, complete the following steps in the KSYS logical partition:

  1. Create an active site (Site1) by running the following command:
    ksysmgr add site Site1 sitetype=home
  2. Create a backup site (Site2) by running the following command:
    ksysmgr add site Site2 sitetype=backup
  3. Optional: Verify the sites that you created by running the following command:
    ksysmgr query site
    An output that is similar to the following example is displayed:
    
                Name:                Site2
                Sitetype:            BACKUP
                Active Host_groups:  None
                Active Workgroups:   None
    
                Name:                Site1
                Sitetype:            HOME
                Active Host_groups:  None
                Active Workgroups:   None
    
  4. For shared replication (for HADRHA shared mode) run the following command:
    ksysmgr modify system replication_type=shared sites=Site1,Site2
    The replication_type attribute supports the following values: sync, async, shared.