For each primary domain, the backup tool creates a .list_constraints file.
root# su - oscbackR oscbackR$ cd osc-config-backup/domains oscbackR$ find . -name *.list_constraints ./ssc1dbadm0101/ssc1dbadm0101.2016.06.14.05.01.list_constraints ./ssc1dbadm0201/ssc1dbadm0201.2016.06.14.05.01.list_constraints
An I/O Domain is only listed in one of the .list_constraints files.
Use the grep command to identify which .list_constraints file lists the I/O Domain. Replace mydomain with either the I/O Domain's name or host name.
oscbackR$ grep -c mydomain ./ssc1dbadm0201/ssc1dbadm0201.2016.06.14.05.01.list_constraints 0 oscbackR$ grep -c mydomain ./ssc1dbadm0101/ssc1dbadm0101.2016.06.14.05.01.list_constraints 10
In this example, the I/O Domain is listed in the ./ssc1dbadm0101/ssc1dbadm0101.2016.06.14.05.01.list_constraints file. Based on that file name, you can determine that ssc1dbadm0101 is the primary domain that hosts the I/O Domain.
A best practice during a restoration involves staying connected to the I/O Domain's console.
# ssh ssc1dbadm0101
# ldm list | grep hostname ssccn1-io-hostname active -n---- 5010 8 16G 0.1% 0.1% 52m
where hostname is the domain's host name and ssccn1-io-hostname is the domain's name.
Use the port number returned by the previous command. In this example, the port number is 5010.
# telnet localhost 5010 Trying 127.0.0.1... Escape character is '^]'. Connecting to console "domain-name" in group "domain-name" Press ~? for control options ..
Remain connected, because useful messages might be displayed on the console.