hi,
Database porting across another server can be accomplished by using export and import utility. Steps involved:
1. Install relevant Informix products in target server (rs6000). Make sure that the database server instance is running. Set TAPEDEV and LTAPEDEV config parameters to /dev/null at this juncture so that the import activities are not logged. You can set these to actual device at future, once everything seems to be ok.
2. From the source server Issue: dbexport <databasename> -ss -t <tape device> -b <block size> -s <tape size>. This will dump the entire content of the database to a tape. Alternately if you have sufficient disk space you can dump the contents to a directory which will be faster; by issuing command: dbexport <databasename> -ss -o <directoryname>. Take a tar copy of the directory and extract the contents into target server.
3. Take a listing of allocated spaces in the source server by onstat -d command and create spaces and relevant chunks in the target server. Keep the chunk size almost similar.
4. Issue dbimport to gather the data from the dump files. If the source if tape issue: dbimport <database> -t <tape device> -b <block size> -s <tape size>. If the source is a directory issue: dbimport <database> -i <source directory>
5. To activate the log machanisms issue: ontape -s -B <database name> for buffered log database mode. ( ontape -- for full help )
6. Introduce/create old users into the target servers at OS level.
7. Copy all the application sources (4gl,per,msg,sql etc.) into target server using tar. Re-compile all the sources and generate runnable versions.
Phew ... Thats it. Should work. Good Luck.
Regards,
Shriyan