ADVERTISEMENT

symrdf commands

The symrdf command performs various SRDF operations on symmetrix devices. It also performs control operations such as Adding, modifying or removing a dynamic RDF group.

Below list contains some of the most useful symrdf command examples.

  • symrdf -g mydg establish -full

    Establish a full copy on the devices in MyDg
    Copied
  • symrdf -g mydg query

    Query device group.
    Copied
  • symrdf -g mydg split

    Split the srdf pair for devices given in mydg.
    Copied
  • symrdf -sid 000000001234 -label dynagrp100 -dir 1e:4,2e:4,3e:4,4e:4 -rdfg 100 -remote_sid 000000005678 -remote_dir 1e:4,2e:4,3e:4,4e:4 -remote_rdfg 100 addgrp

    This command will create a dynamic rdf group 100 on array 1234( RA Port-1e:4,2e:4,3e:4,4e:4 ) pairing remote array 5678( RA Port 1e:4,2e:4,3e:4,4e:4 ) with label 'dynagrp100'.
    Copied
  • symrdf -sid 000000001234 -label dynagrp100 -dir 3h,4h,13h,14h -rdfg 100 -remote_sid 000000005678 -remote_dir 7h,8h,9h,10h -remote_rdfg 100 addgrp

    This command will create a dynamic rdf group 100 on array 1234( RA Port-3h,4h,13h,14h ) pairing remote array 5678( RA Port 7h,8h,9h,10h ) with label 'dynagrp100'.
    Copied
  • symrdf -sid 000000001234 -label dynagrp100 -dir 3h,4h,13h,14h -rdfg 100 -remote_sid 000000005678 -remote_dir 1e:4,2e:4,3e:4,4e:4 -remote_rdfg 100 addgrp

    This command will create a dynamic rdf group 100 on VMax array 1234( RA Port-1e:4,2e:4,3e:4,4e:4 ) pairing remote VMax3 array 5678( RA Port 1e:4,2e:4,3e:4,4e:4 ) with label 'dynagrp100'.
    Copied
  • symrdf -sid 1234 -rdfg 100 modifygrp -add -dir 1E:24,2E:24

    Modify rdf group 100 and add local RA ports 1E:24 and 2E:24
    Copied
  • symrdf -sid 1234 -rdfg 100 modifygrp -add -dir 1E:24,2E:24 -remote_dir 3E:24,4E:24

    Modify rdf group 100 and add local RA ports 1E:24, 2E:24 and remote RA ports 3E:24,4E:24
    Copied
  • symrdf -sid 1234 -rdfg 100 modifygrp -remove -dir 1E:24,2E:24

    Remove local RA ports 1E:24, 2E:24 from rdf group 100
    Copied
  • symrdf -sid 1234 -rdfg 100 modifygrp -remove -dir 1E:24,2E:24 -remote_dir 3E:24,4E:24

    Remove local RA ports 1E:24, 2E:24 and remote RA ports 3E:24,4E:24 from rdf group 100
    Copied
  • symrdf -sid 1234 -rdfg 3 -file pair.txt swap

    Swap the SRDF personality of the SRDF devices mentioned in the pair file. Source R1 devices become target R2 devices, and target R2 devices become source R1 devices. The SRDF link status must be NotReady for this operation.
    Copied
  • symrdf -sid 1234 -rdfg 3 -file rdf.txt deletepair -force

    Delete the srdf pairing between R1/R2 and return them to stanadard.
    Copied
  • symrdf -sid 1234 -rdfg 3 -file rdf.txt movepair -new_rdfg 4

    Moves the SRDF devices from rdf group 3 to 4.We need to split the pair before doing this operation.
    Copied
  • symrdf -sid 1234 -rdfg 3 -file rdf.txt query

    Query the Devices by using device pair file.
    Copied
  • symrdf -sid 1234 -rdfg 3 -file rdf.txt set mode acp_disk

    Change the current SRDF mode of the pair file devices to Adaptive disk mode.
    Copied
  • symrdf -sid 1234 -rdfg 3 -file rdf.txt set mode acp_wp

    Change the current SRDF mode of the pair file devices to Adaptive Copy write pending mode.
    Copied
  • symrdf -sid 1234 -rdfg 3 -file rdf.txt set mode sync

    Change the current SRDF mode of the pair file devices to Synchronous
    Copied
  • symrdf -sid 1234 -rdfg 3 -file rdf_pair.txt query -i 5

    Queries the pair devices mentioned in the pairfile "rdf_pair.txt" in every 5 seconds.This command also shows the estimated time to sync up all the devices if those are currently in "sync in progress" state.
    Copied
  • symrdf -sid 1234 -rdfg 3 -type rdf1 -file rdf.txt createpair -establish -rdf_mode sync

    Establish the SRDF relation between the devices given in the file rdf.txt from array 1234(R1) and remote box according to the rdf group .This command start copying between R1 and R2 in SYNC mode.( default is acp_disk mode )
    Copied
  • symrdf -sid 1234 -rdfg 3 -type rdf1 -file rdf.txt createpair -invalidate R2

    Establish the SRDF relation between the devices given in the file rdf.txt from array 1234(R1) and remote box according to the rdf group .This command can be used to just create the pair without starting the data copy from R1 to R2 .
    Copied
  • symrdf -sid 1234 -rdfg 3 -type rdf1 -file rdf.txt establish -full

    This command start full copy from R1 to R2 devices. The SRDF pairs are already created .
    Copied
  • symrdf -sid 1234 -rdfg 3 -type rdf1 -file rdf.txt failover

    This will make the R1 devices Write Disabled , R2 Write Enabled to host , and logical connections between R1 to R2 in to Not Ready state.
    Copied
  • symrdf -sid 1234 -rdfg 3 -type rdf1 -file rdf.txt split

    Split the R1 and R2 devices by stopping the replication. This will make R2 also in Read/Write mode along with R1 . The link will go to NotReady(NR) state.
    Copied
  • symrdf -sid 1234 -rdfg 3 -type rdf1 -file rdf.txt suspend

    Suspend the replication from R1 to R2 devices.R1 will be in R/W, R2 in W/D and link will be in NR state.
    Copied
  • symrdf -sid 1234 -rdfg 3 -type rdf1 -file rdf.txt -g mydg createpair -establish

    Establish the SRDF relation between the devices given in the file rdf.txt from array 1234(R1) and remote box according to the rdf group .This command start sync between R1 and R2 and also add these devices after creating the device group mydg
    Copied
  • symrdf -sid 1234 -rdfg 3 -type rdf1 -file rdf.txt failback

    Changes made on R2 will be copied to R1. The R1 devices will be Write Enabled, R2 Write Disabled to host, and logical RDF link between R1 to R2 into Ready state.
    Copied
  • symrdf -sid 1234 -rdfg 3 -type rdf1 -file rdf.txt resume

    Resume the suspend the replication from R1 to R2 devices.R1 will be in R/W, R2 in W/D and link will be in ready state.
    Copied
  • symrdf -sid 1234 -sg SG_Server -rdfg 10 query

    Query the SRDF devices inside the Storage Group. All the devices in the SG must be SRDF paired to work this query.
    Copied
  • symrdf -sid 1234 list -concurrent

    List all the RDF devices in array 1234 as part of a concurrent SRDF setup( both R1 and R2).
    Copied
  • symrdf -sid 1234 list -diskless_rdf

    View all the diskless rdf devices(DLDEV) in array 1234.
    Copied
  • symrdf -sid 1234 list -dynamic -both

    List the SRDF swappable devices in array 1234.
    Copied
  • symrdf -sid 1234 list -rdfg all

    This command will list all the SRDF devices in all rdf groups.
    Copied
  • symrdf -sid 1234 ping

    Ping the array 1234 through SRDF links and check the links are up and and running.
    Copied
  • symrdf -sid 1234 removegrp -rdfg 100

    Delete dynamic RDF group 100 from array 1234.
    Copied

[ view all commands ]