ADVERTISEMENT

symrdf commands

Performs various SRDF operations symmetrix devices.Also performs dynamic RDF group controls:Adding,modifying or removing a dynamic RDF group.

[ view all commands ]

  • symrdf -g mydg establish -full
    Establish a full copy on the devices in MyDg
  • symrdf -g mydg query
    Query device group.
  • symrdf -g mydg split
    Split the srdf pair for devices given in mydg.
  • symrdf -sid 000000001234 -label dynagrp150 -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 150 from array 1234( RA Port-3h,4h,13h,14h ->5678( RA Port 7h,8h,9h,10h) with label 'dynagrp150'.
  • 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
  • symrdf -sid 1234 -rdfg 100 modifygrp -add -dir 1E:24,2E:24 -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
  • symrdf -sid 1234 -rdfg 100 modifygrp -remove -dir 1E:24,2E:24
    Remove local RA ports 1E:24, 2E:24 from rdf group 100
  • symrdf -sid 1234 -rdfg 100 modifygrp -remove -dir 1E:24,2E:24 -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
  • 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.
  • symrdf -sid 1234 -rdfg 3 -file rdf.txt deletepair -force
    Delete the srdf pairing between R1/R2 and return them to stanadard.
  • 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.
  • symrdf -sid 1234 -rdfg 3 -file rdf.txt query
    Query the Devices by using device pair file.
  • 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.
  • 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.
  • symrdf -sid 1234 -rdfg 3 -file rdf.txt set mode sync
    Change the current SRDF mode of the pair file devices to Synchronous
  • 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.
  • 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 )
  • 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 .
  • 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 .
  • 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.
  • 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.
  • 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.
  • 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
  • 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.
  • 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.
  • symrdf -sid 1234 -sg SG_Server -rdfg 10
    Query the SRDF devices inside the Storage Group. All the devices in the SG must be SRDF paired to work this query.
  • symrdf -sid 1234 list -concurrent
    List all the RDF devices in array 1234 as part of a concurrent SRDF setup( both R1 and R2).
  • symrdf -sid 1234 list -diskless_rdf
    View all the diskless rdf devices(DLDEV) in array 1234.
  • symrdf -sid 1234 list -dynamic -both
    List the SRDF swappable devices in array 1234.
  • symrdf -sid 1234 list -rdfg all
    This command will list all the SRDF devices in all rdf groups.
  • symrdf -sid 1234 ping
    Ping the array 1234 through SRDF links and check the links are up and and running.
  • symrdf -sid 1234 removegrp -rdfg 100
    Delete dynamic RDF group 100 from array 1234.