You need to port and replicate ISM on the target database server.
On Dynamic Server:
onmode -ky ism_shutdown
On Extended Parallel Server:
xctl onmode -ky ism_shutdown
unset ISM_CLIENT
On UNIX:
hostname=$(hostname)
hostname=source_hostname
On Windows:
Set nextLabel = ask_init
set hostname = source_hostname
ism_startup -init
On UNIX:
create type: NSR client; name: source_hostname; remote access: root@target_hostname, informix@target_hostname
On Windows:
create type: NSR client; name: source_hostname; remote access: Administrator@target_hostname, informix@target_hostname
nsradmin -s target_hostname -i temporary_file
create failed: save set of All for client source_hostname in group
Default excludes any clients with the same name from the group.
For example, if INFORMIXDIR on your source computer is /usr2/informix and INFORMIXDIR on your target computer is /usr/local/informix, create the /usr2 directory on the target computer and symbolic link as follows:
On UNIX:
mkdir /usr2 ln -s /usr/local/informix /usr2/informix
On Windows:
Create a shortcut from your source INFORMIXDIR to your target INFORMIXDIR. For information on how to create a shortcut, see your operating-system documentation.
ism_add -device device_name -type device_type
ism_catalog -find_bootstrap device_name
ISM displays the ssid numbers for all bootstrap save sets on the volume. Record the most recent ssid number because you will need to use this number again in step 8.
ism_catalog -recover
Wait until the following message appears. Ignore the warning and proceed to the next step:
nsrindexasm: Didn't find earlier versions to recover! WARNING: The online index for hostname was NOT fully recovered...
ism_shutdown
The res.R file contains the resource configuration information for the source database server.
On UNIX:
cd $INFORMIXDIR/ism rm -rf res mv res.R res
On Windows:
cd %ISMDIR%
del res
rmdir res
move res.R res
On UNIX:
print type:NSR; update administrator:informix@source_host, root@source_host,informix@target_host, root@target_host nsradmin -f $INFORMIXDIR/ism/res/nsr.res -i temporary_file
On Windows:
print type:NSR; update administrator:informix@source_host, Administrator@source_host,informix@target_host, Administrator@target_host nsradmin -f %ISMDIR%\res\nsr.res -i temporary_file
ism_startup
ism_show -devices
ism_rm -device device_name
ism_show -devices ism_add -device device_name -type device_type
Using a text editor, create a temporary file and enter the following information:
On UNIX:
print type: NSR client; name: source_hostname update remote access: informix@target_hostname, root@target_hostname
On Windows:
print type: NSR client; name: source_hostname update remote access: informix@target_hostname, Administrator@target_hostname
nsradmin -s target_hostname -i temporary_file