Problems in Informix Server on AIX
Posted in 2004
Topics: High Availability & Replication, Storage & Space Management, Platform-Specific Issues
Hi All,
I am using two AIX server, version is 4.3. Both are attached to a common
storage. The raw devices are created in the common storage and dbspaces are
pointing to those devices. Every time the Primary server is started, we
mount the storage device and start the informix server. As far as the
primary sever is concerned, there is no issues at all.
My problem is with the secondary server. The dbspace are pointing to the
same raw devices created in the common storage. But when i shutdown primary
server and try to bring up informix in the secondary server, oninit fails
saying that "Cannot Open Primary Chunk errno = 6". I am using informix
version 7.31 UC5.
If anybody has gone through such a problem. Then please do sen me a reply.
Thanks and Regards
VAIDYANATHAN KRISHNAN
(GANESH)
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
From /usr/include/errno.h:
#define ENXIO 6 /* No such device or address */
Are the paths in the onconfig identical (ie.
/opt/informix/data/rootdbs.1 on both servers)? Is the storage device
"mounted" on the secondary?
When you refer to primary and secondary it creates the impression that
you are using HDR. However, from the rest of your message it appears
that you've got machines connected to the same disks subsystem and you
can fail over by shutting down machine A (primary) and starting up
machine B (secondary). Is that the case?
> -----Original Message-----
> From: forum.subscriber@iiug.org
> [mailto:forum.subscriber@iiug.org] On Behalf Of Vaidyanatha....
> Sent: 02 June 2004 11:38
> To: ids@iiug.org
> Subject: Problems in Informix Server on AIX [3066]
>
>
> Hi All,
>
> I am using two AIX server, version is 4.3. Both are attached
> to a common
> storage. The raw devices are created in the common storage
> and dbspaces are
> pointing to those devices. Every time the Primary server is
> started, we
> mount the storage device and start the informix server. As far as the
> primary sever is concerned, there is no issues at all.
>
> My problem is with the secondary server. The dbspace are
> pointing to the
> same raw devices created in the common storage. But when i
> shutdown primary
> server and try to bring up informix in the secondary server,
> oninit fails
> saying that "Cannot Open Primary Chunk errno = 6". I am
> using informix
> version 7.31 UC5.
>
> If anybody has gone through such a problem. Then please do
> sen me a reply.
>
> Thanks and Regards
> VAIDYANATHAN KRISHNAN
> (GANESH)
>
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
>
Disclaimer
http://www.shoprite.co.za/disclaimer.html
Hello,
If by primary/secondary you mean the both servers of a hacmp
cluster, there is a known trouble.
The raw devices lost their ownership and access rights during the
switchover. The solution resides in a shell called by hacmp which
setup the ownership and access rights as needed by informix. This shell
must be executed before the initailization of the instances.
Best regards - Cordialement
Bernard Caillet
eBusiness Hosting Services
Informix IDS 7 administrator
WebSphere administrator
"Vaidyanatha...." <vaikri@hotmail.com>
Sent by: forum.subscriber@iiug.org
06/02/2004 11:37 AM
To
ids@iiug.org
cc
Subject
Problems in Informix Server on AIX [3066]
Hi All,
I am using two AIX server, version is 4.3. Both are attached to a common
storage. The raw devices are created in the common storage and dbspaces
are
pointing to those devices. Every time the Primary server is started, we
mount the storage device and start the informix server. As far as the
primary sever is concerned, there is no issues at all.
My problem is with the secondary server. The dbspace are pointing to the
same raw devices created in the common storage. But when i shutdown
primary
server and try to bring up informix in the secondary server, oninit fails
saying that "Cannot Open Primary Chunk errno = 6". I am using informix
version 7.31 UC5.
If anybody has gone through such a problem. Then please do sen me a reply.
Thanks and Regards
VAIDYANATHAN KRISHNAN
(GANESH)
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Vaidyanathan,
1) mail the onconfigs for both servers.
2) What do you mean by "we mount the storage device" - do you mount a
file system? Is the volume group containing the disks defined and online
on the secondary? Do an "lsvg -p <vgname>" on both machines, are the
same disks there? Are the chunks on cooked or raw space? If cooked, is a
file system mounted (do lsfs or mount) on the same mountpoint?
> -----Original Message-----
> From: Vaidyanathan Krishnan [mailto:vaikri@hotmail.com]
> Sent: 02 June 2004 14:08
> To: Willem Roos
> Subject: RE: Problems in Informix Server on AIX [3066]
>
>
> Hi,
>
> What you have understood is correct. I have got two machines
> connected to
> the same disks subsystem and I can fail over by shutting down
> machine A
> (primary) and starting up machine B (secondary).
>
> All the parameters are checked and it is fine. Can you please
> guide me on
> this.
>
> Thanks and Regards
> VAIDYANATHAN KRISHNAN
> (GANESH)
>
>
>
>
>
>
> ----Original Message Follows----
> From: "Willem Roos" <wroos@shoprite.co.za>
> To: "Vaidyanatha...." <vaikri@hotmail.com>, <ids@iiug.org>
> Subject: RE: Problems in Informix Server on AIX [3066]
> Date: Wed, 2 Jun 2004 12:51:09 +0200
>
>
> From /usr/include/errno.h:
>
> #define ENXIO 6 /* No such device or address */
>
> Are the paths in the onconfig identical (ie.
> /opt/informix/data/rootdbs.1 on both servers)? Is the storage device
> "mounted" on the secondary?
>
> When you refer to primary and secondary it creates the impression that
> you are using HDR. However, from the rest of your message it appears
> that you've got machines connected to the same disks subsystem and you
> can fail over by shutting down machine A (primary) and starting up
> machine B (secondary). Is that the case?
>
> > -----Original Message-----
> > From: forum.subscriber@iiug.org
> > [mailto:forum.subscriber@iiug.org] On Behalf Of Vaidyanatha....
> > Sent: 02 June 2004 11:38
> > To: ids@iiug.org
> > Subject: Problems in Informix Server on AIX [3066]
> >
> >
> > Hi All,
> >
> > I am using two AIX server, version is 4.3. Both are attached
> > to a common
> > storage. The raw devices are created in the common storage
> > and dbspaces are
> > pointing to those devices. Every time the Primary server is
> > started, we
> > mount the storage device and start the informix server. As
> far as the
> > primary sever is concerned, there is no issues at all.
> >
> > My problem is with the secondary server. The dbspace are
> > pointing to the
> > same raw devices created in the common storage. But when i
> > shutdown primary
> > server and try to bring up informix in the secondary server,
> > oninit fails
> > saying that "Cannot Open Primary Chunk errno = 6". I am
> > using informix
> > version 7.31 UC5.
> >
> > If anybody has gone through such a problem. Then please do
> > sen me a reply.
> >
> > Thanks and Regards
> > VAIDYANATHAN KRISHNAN
> > (GANESH)
> >
> > _________________________________________________________________
> > Protect your PC - get McAfee.com VirusScan Online
> > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> >
> >
> >
>
> Disclaimer
> http://www.shoprite.co.za/disclaimer.html
>
> _________________________________________________________________
> The new MSN 8: advanced junk mail protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
Disclaimer
http://www.shoprite.co.za/disclaimer.html