Topic
2 replies Latest Post - ‏2012-09-11T14:05:29Z by gcorneau
SystemAdmin
SystemAdmin
2092 Posts
ACCEPTED ANSWER

Pinned topic How to backup and restore GPFS config using LUN snapshots on AIX.

‏2012-09-10T23:53:50Z |
I have a 2 node GPFS cluster setup on AIX (using VIO clients with 7.1).
Installed Oracle RAC (with GPFS), and taken LUN snapshots.

I want to present/restore these luns to another gpfs cluster and restore the exact application setup.

Is there any command or procedure to restore the gpfs on to the new cluster (similar to importvg ..).
NOTE: the luns are exported to the host.

I tried the following:
() mmnsddiscover and mmdevdiscover but did not help.
() mmexportfs (its expects the FS to be unmounted on all nodes)
which is not helpful.
() mmbackupconfig (expects all the nodes to be up) again not
helpful.
I'm looking for a way to backup the config and restore on another cluster.

Any inputs are highly appreciated.
Updated on 2012-09-11T14:05:29Z at 2012-09-11T14:05:29Z by gcorneau
  • dlmcnabb
    dlmcnabb
    1012 Posts
    ACCEPTED ANSWER

    Re: How to backup and restore GPFS config using LUN snapshots on AIX.

    ‏2012-09-11T03:56:04Z  in response to SystemAdmin
    See the Advanced Administration Guide chapter on "Establishing Disaster Recovery for your GPFS cluster".
    • gcorneau
      gcorneau
      147 Posts
      ACCEPTED ANSWER

      Re: How to backup and restore GPFS config using LUN snapshots on AIX.

      ‏2012-09-11T14:05:29Z  in response to dlmcnabb
      And specifically, the section on "Asynchronous mirroring utilizing ESS FlashCopy" (which is essentially what you've done with point-in-time storage-based copies of GPFS LUNs).

      http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/topic/com.ibm.cluster.gpfs.v3r50-3.gpfs200.doc/bl1adv_essflash.htm

      The commands you're going to be looking at are:
      a. mmfsctl <gpfsdev> suspend # to flush all cache to disk for a consistent on-disk copy
      b. mmfsctl <gpfsdev> resume # to resume I/O to the file system
      b. mmfsctl <gpfsdev> syncFSconfig # to copy the file system definition to the remote GPFS cluster


      Glen Corneau
      IBM Power Systems Advanced Technical Skills