Top
ServerView Resource Orchestrator Cloud Edition V3.4.0 DR Option Instruction
FUJITSU Software

4.2.11 Mounting the Datastore to a VM Host [Switchover Destination Site]

For VMware virtual L-Server switchover (VM guest), after stopping the replication, rescan the datastore from VMware vCenter Server on the switchover destination site.

For virtual L-Server switchover (VM guest), mount the datastore or volume replicated on the switchover destination site on the VM host.

[VMware]

  1. Output the information of the storage that is specified as the destination of the L-Servers and images, to a file. In the following example, the result is output to outfile.csv.
    • For Site Switchover

      [Windows Manager]

      >Installation_folder\SVROR\Manager\bin\rcxadm config vsfilter -outfile outfile.csv <RETURN>

      [Linux Manager]

      # /opt/FJSVrcvmr/bin/rcxadm config vsfilter -outfile outfile.csv <RETURN>
      • For Tenant Switchover (tenant1)

      [Windows Manager]

      >Installation_folder\SVROR\Manager\bin\rcxadm config vsfilter -tenant tenant1 -outfile outfile.csv <RETURN>

      [Linux Manager]

      # /opt/FJSVrcvmr/bin/rcxadm config vsfilter -tenant tenant1 -outfile outfile.csv <RETURN>
      • For Tenant Switchover (tenant2, tenant3)

      [Windows Manager]

      >Installation_folder\SVROR\Manager\bin\rcxadm config vsfilter -tenant tenant2,tenant3 -outfile outfile.csv <RETURN>

      [Linux Manager]

      # /opt/FJSVrcvmr/bin/rcxadm config vsfilter -tenant tenant2,tenant3 -outfile outfile.csv <RETURN>

    Note

    When specifying vsfilter for multiple tenants, or specifying -global simultaneously, configure the same specifications for -tenant and -global after this operation.

    For details on the rcxadm config vsfilter command, refer to "B.3 rcxadm config".

    When only cloning images are stored in datastores, the dsmount.pl command (described later) tries to mount the datastores on each VM host used for the switchover. To mount only the datastores containing cloning images on specific VM hosts, edit the lines where the value of the vmhosts column is blank in the output file (outfile.csv) following the description below.

    RCXVSFILTER_v1.0

    [VMware]

    #operation,type,vstorage_name,datastore_name,mountpath,vmhosts

    mount,nfs,A,A,/vmfs/volumes/UUID4,

    mount,vmfs,B,B,/vmfs/volumes/UUID1,VMhost1:VMhost2

    Enter either the IP address of the VM host on which the datastore is to be mounted or the name for specifying the VM host on the VMware vCenter Server, in the vmhost column. To specify multiple VM hosts, enter those VM hosts separated by colons (":").

  2. Perform mounting of the datastore using the file that was output in step 1 as the input.

    Execute this command using the command prompt from which the vCLI command can be executed.

    When using Windows, the vCLI command prompt can be selected from the start menu in the OS on which vCLI is installed. For details, refer to the vCLI manuals.

    If necessary, copy dsmount.pl and output.csv to the server where vCLI is installed.

    • When a datastore using FC or iSCSI connection (vmfs) exists

      Execute the following command to mount the datastore on the VM host:

      >perl dsmount.pl -input outfile.csv -server IP_address_of_management_software -username user_name -type vmfs <RETURN>

      Enter password:password<RETURN>

    • When a datastore using an NAS connection (nfs) exists

      Execute the following command to mount the datastore on the VM host:

      >perl dsmount.pl -input outfile.csv -server IP_address_of_management_software -username user_name -type nfs -listfile file <RETURN>

      Enter password:password<RETURN>

      For the NFS connection information file, specify the file prepared in "3.4 Configuring Managed Resources".

      For details on the dsmount.pl command, refer to "B.4 dsmount.pl".

      The processing status of the dsmount.pl command can be confirmed from output messages or the dsmount execution log.

      For details on the dsmount execution log, refer to "D.3 Logs Regarding the dsmount Command".

  3. Perform the update process after mounting the datastore, using the file that was output in step 1 as the input.

    Execute this command using the command prompt from which the vCLI command can be executed.

    When using Windows, the vCLI command prompt can be selected from the start menu in the OS on which vCLI is installed. For details, refer to the vCLI manuals.

    Copy vmfile_update.pl and output.csv to the server where vCLI is installed, if necessary.

    >perl vmfile_update.pl -input outfile.csv -server IP_address_of_management_software -username user_name <RETURN>

    Enter password:password<RETURN>

    Note

    Do not perform read/write operations on the datastore while executing the above command.

    For details on vmfile_update.pl command, refer to "B.5 vmfile_update.pl".

  4. Rescan the datastore from VMware vCenter Server.

    [OVM for SPARC]

    Mount the replicated volume for the SPARC server on the switchover destination site.

    For details on how to mount the volume, refer to the "Oracle VM Server for SPARC Administration Guide".