Table of ContentsView in Frames

Creating SVMs for a MetroCluster configuration

You can create SVMs for a MetroCluster configuration to provide synchronous disaster recovery and high availability of data on clusters that are set up for a MetroCluster configuration.

Before you begin

About this task

When you create an SVM on one of the clusters in a MetroCluster configuration, the SVM is created as the source SVM, and the partner SVM is automatically created with the same name with the "-mc" suffix on the partner cluster.

In a MetroCluster configuration, you can create 64 SVMs on a cluster. A MetroCluster configuration supports 128 SVMs.

Steps

  1. Use the vserver create command with the is-repository parameter set to false.
    Example

    The following command creates the SVM with the subtype sync-source on the local site and the SVM with the subtype sync-destination subtype on the partner site:

    cluster_A::>vserver create -vserver vs4 -rootvolume vs4_root -aggregate aggr1 
    -rootvolume-security-style mixed -is-repository false
    [Job 196] Job succeeded:
    Vserver creation completed
    
    
    The SVM vs4 is created on the local site and vs4-mc is created on the partner site.
  2. View the newly created SVMs.
    • On the local cluster, use the metrocluster vserver show command to verify the SVMs.

      The following command displays the partner SVMs and their configuration state:

      cluster_A::> metrocluster vserver show
      
                            Partner    Configuration
      Cluster     Vserver   Vserver    State
      ---------  --------  --------- -----------------
      cluster_A   vs4       vs4-mc     healthy
      cluster_B   vs1       vs1-mc     healthy
      
      
      
    • From the local and partner clusters, use the vserver show command to verify the state of the newly configured SVMs.

      The following command displays the administrative and operational states of the SVMs:

      cluster_A::> vserver show
      
                                   Admin   Operational Root
      Vserver Type  Subtype        State   State       Volume     Aggregate
      ------- ----- -------       ------- --------    ----------- ----------
      vs4     data  sync-source   running   running    vs4_root   aggr1
      
      cluster_B::> vserver show
      
                                     Admin   Operational  Root
      Vserver Type  Subtype          State   State        Volume      Aggregate
      ------- ----- -------          ------  ---------    ----------- ----------
      vs4-mc  data  sync-destination running stopped      vs4_root    aggr1

    SVM creation might fail if any intermediate operations such as root volume creation fail, and the SVM will be in the initializing state. You must delete the SVM and re-create it.

Result

The SVMs for the MetroCluster configuration are created with a root volume of size 1 GB. The operational state of the sync-source SVM is in running state and sync-destination SVM is in the stopped state.