Fake Informix Server
Posted in 2009
Topics: Installation, Setup & Upgrades, Storage & Space Management, Migration, Import/Export & Data Conversion, Platform-Specific Issues
Hello, I was wondering if anyone ran into this condition!
I'm running Informix on Linux (Red Hat) OS. The boot sector and
Informix Server resided on one disk and the database/dbspaces resides
on another. We ran into some issues with the disk with the boot up
files, hence we are going to swap it with another; this also means a
new install of the Informix Server.
I was wondering if there was a way to fake the new informix server to
point to the databases/dbspaces that already exist on the other drive
without having to create new databases by importing (dbimport) from an
export file.
Thank you for your help.
Girish.
"oracle, old sherwoodian" <rana_gman@hotmail.com> wrote in message
news:d8fce806-ff18-451f-9450-93a75b415f94@a39g2000yqc.googlegroups.com...
> Hello, I was wondering if anyone ran into this condition!
> I'm running Informix on Linux (Red Hat) OS. The boot sector and
> Informix Server resided on one disk and the database/dbspaces resides
> on another. We ran into some issues with the disk with the boot up
> files, hence we are going to swap it with another; this also means a
> new install of the Informix Server.
> I was wondering if there was a way to fake the new informix server to
> point to the databases/dbspaces that already exist on the other drive
> without having to create new databases by importing (dbimport) from an
> export file.
>
> Thank you for your help.
> Girish
Of course.
At Informix start-up time Informix has no idea where any of its chunks are.
So it opens the first chunk of the root dbspace, whose address it gets from
ROOTPATH in the $ONCONFIG, and the roo dbspace contains all the info about
the other chunks.
Provided then you get the ROOTPATH, ROOTSIZE and a few other things right in
the $ONCONFIG under your new installation, you should be able to address the
entire database server.
.