- On the destination computer, if the Informix Server is not installed, install the
Informix server, but do not configure the Informix instance. (Refer to
the Installation Guide for the Informix Dynamic Server for more
information.)
- Create a simple instance on the destination host as discussed in
Create an Instance.
Use the parameters and options that you noted per the task using the
CommCell Console in Before You
Begin above.
- On the destination host, start up the instance and then (using onmode
-yuk) shut down the
instance.
-
Using the environmental variables from the source
computer, set the following on the destination computer in the user
Informix environment: $INFORMIXSERVER,
$INFORMIXDIR, and
$ONCONFIG.
-
Ensure that $INFORMIXDIR/bin
is listed in the user Informix $PATH
environmental variable just one time.
- Install the Base client software (CVGxBase), either the HP-UX File System
or Solaris File System iDataAgent software (CVGxIDA), and the Informix
iDataAgent software (CVGxIfIDA) on the destination host.
- Using the CommCell Console, create a new instance for the Informix
iDataAgent
on the destination host.
- Log in to the destination host and navigate to the $INFORMIXDIR/etc
directory. Then perform the following file copies (using cp):
ixbar.$servernum to ixbar.$servernum.org
onconfig.$servername to onconfig.$servername.org
oncfg_$servername.$servernum to oncfg_$servername.$servernum .org
- Use the appropriate directives in
Basic Restore or
Browse and Restore to cross-restore the ixbar, onconfig, and oncfg
files on the CommCell Console from the source host's backups.
- Modify the onconfig.$servername.org file to be identical to the
onconfig.$servername file (i.e., ensure that DBSERVERNAME, SERVERNUM, and
ROOTPATH are the same).
- Copy the onconfig.$servername.org file to
the onconfig.$servername file.
- Log in to the destination host and create Dbspaces that refer to the
oncfg files. Create the Dbspaces based on the output of the onstat -d
command run on the source computer. All Dbspaces physical paths must be the same (e.g, prepare the
cooked file space, cat /dev/null > $INFORMIXDIR/dbs/test1/data/testdbs1.c1,
chmod 666 $INFORMIXDIR/dbs/test1/data/testdbs1.c1,
chown -R informix:informix $INFORMIXDIR/dbs/test1/data/testdbs1.c1).
Ensure that the Dbspace files have the correct permissions. (Refer to
the Installation Guide for the Informix Dynamic Server for more
information.) -
Configure the Informix instance in the same CommCell
where the source Informix instance was installed and the data was backed
up.
-
Bring the destination instance down (using onmode
-yuk) if it is not already down.
- Try to cross-restore the whole system by using the directives in
Basic Restore or
Browse and Restore.
It is recommended that you avoid performing a salvage backup (e.g., zeroing
out the root Dbspace before restoring or performing a physical whole system
restore plus a logical whole system restore).