Find R2 pairs of a group of R1 devices
It is very easy to find the R2 pair of a single SRDF-R1 device.Just use the "symdev -sid 1234 show ABC"command shows the corresponding R2. But if you want to know the R2 pairs of a group of devices , then it will become a tedious task to show each device and pick the R2 device. I used to do this in a rather easy method and want to share with you.
1. Let us assume the scenario as below
Array----------------> 1234
rdf group-----------> 100
Below are the R1 devices which we want to know the R2
123
234
567
89A
BCD
2. Make pair file
Make a pair file say pair.txt, with this devices and give any hexadecimal number as R2 pair device.( you may give the same device as pair device)
pair.txt
========
123 111
234 222
567 333
89A 444
BCD 555
3. Query pair file.
symrdf -sid 1234 -rdfg 100 -f pair.txt query
The output of this commands will show the actual R2 devices of the respective R1 devices.