Changing target protocol of primary filesets

The following examples illustrate how to change the target protocol used by a primary fileset from NFS to GPFS or vice versa.

Changing target of primary from NFS to GPFS by using inband option

c26c2apv2 Thu Feb 25 12:08:07 4]iw1# mmafmctl fs1 getstate -j drpgpfs1


Fileset Name    Fileset Target                                Cache State          Gateway Node    Queue Length   Queue numExec
------------    --------------                                -------------        ------------    ------------   -------------
drpgpfs1        nfs://c2m3n06/gpfs/fs1/drsgpfs1               Active               c25m4n04        0              2

c26c2apv2 Thu Feb 25 12:09:13 4]drpgpfs1# mmafmctl fs1 changeSecondary -j drpgpfs1 --new-target=gpfs:///gpfs/remotefs1/drsgpfs1 --inband


Changing target to new secondary...
Fileset drpgpfs1 changed.
Data will be moved to secondary via AFM
psnap will be taken at secondary after data movement completes

c26c2apv2 Thu Feb 25 12:09:38 4]drpgpfs1# mmafmctl fs1 getstate -j drpgpfs1


Fileset Name    Fileset Target                                Cache State          Gateway Node    Queue Length   Queue numExec
------------    --------------                                -------------        ------------    ------------   -------------
drpgpfs1        gpfs:///gpfs/remotefs1/drsgpfs1               Active               c25m4n04        0              4

Changing target of primary from GPFS to NFS by using outband trucking option

c26c2apv2 Thu Feb 25 12:09:38 4]drpgpfs1# mmafmctl fs1 getstate -j drpgpfs1


Fileset Name    Fileset Target                                Cache State          Gateway Node    Queue Length   Queue numExec
------------    --------------                                -------------        ------------    ------------   -------------
drpgpfs1        gpfs:///gpfs/remotefs1/drsgpfs1               Active               c25m4n04        0              4

c26c2apv2 Thu Feb 25 12:12:10 4]drpgpfs1# mmafmctl fs1 changeSecondary -j drpgpfs1 --new-target=c2m3n06:/gpfs/fs1/drsgpfs1 --inband


Changing target to new secondary...
Fileset drpgpfs1 changed.
DR Setup being done
Flushing dirty data for snapshot drpgpfs1:psnap0-rpo-C0A8033F56CC5ED5-65...
Quiescing all file system operations.
Snapshot drpgpfs1:psnap0-rpo-C0A8033F56CC5ED5-65 created with id 61.

c26c2apv2 Thu Feb 25 12:12:32 4]drpgpfs1# mmafmctl fs1 getstate -j drpgpfs1


Fileset Name    Fileset Target                                Cache State          Gateway Node    Queue Length   Queue numExec
------------    --------------                                -------------        ------------    ------------   -------------
drpgpfs1        nfs://c2m3n06/gpfs/fs1/drsgpfs1               Active               c25m4n04        0              2