Re: Cluster failover exports problem..
Jerry <juanino <at> yahoo.com>
2006-03-02 13:37:27 GMT
I think the use of -i is screwing you.
Why not just edit the exports file in vol0, then do an
rsh and exportfs /some/path and it will be in memory
and on file. if the filer fails over it will read the
exports file.
--- Greg Wilson <gwilson <at> connect.com.au> wrote:
> Hi
>
> I've got a problem with qtree exports after a Netapp
> cluster failover.
>
> Im running VCS (Veritas Cluster Server) on 6 Solaris
> hosts and im using the Netapp
> agent to manage mounting and unmounting qtrees from
> a clustered Netapp.
>
> Instead of listing your exports in the exports file
> you set it in your service group
> You allow it rsh to the filer and export the qtree
> to the host its running on.
>
> So if your group fails on host A, host B will rsh in
> and export the qtree
> to host B. This way it cannot be mounted on 2 hosts
> at the same time.
>
> The problem is after a Netapp cluster failover the
> filer reads the exports file off
> disk and all the qtrees that were exported before
> (in memory) are no longer exported and VCS
> just sits there waiting for it to come back.
>
> If we stop and start the service under VCS it comes
> back but this is not
> a good solution.
>
> What are people doing to get around this problem?
>
> How do the people who run VCS and Oracle handle
> this?
>
> thoughts ideas?
>
> here is the example.. mbe is a netgroup of 6 hosts..
>
>
> /etc/exports file
>
> /vol/vol0/vmb01 -sec=sys,ro,root=mbe
> /vol/vol0/vmb03 -sec=sys,ro,root=mbe
> /vol/vol0/vmb05 -sec=sys,ro,root=mbe
> /vol/vol0/vmb07 -sec=sys,ro,root=mbe
> /vol/vol0/vmb09 -sec=sys,ro,root=mbe
> /vol/vol0/vmb11 -sec=sys,ro,root=mbe
>
>
> before failover these exports are setup by VCS
> rsh'ing into filer and
> running command
>
> Thu Mar 2 17:35:27 EST [cust-filer3: rshd_0:debug]:
> :IN:rsh shell:RSH
> INPUT COMMAND is exportfs -i -o
>
sec=sys,root=mbe,rw=mcn05.msn,ro=mcn01.msn:mcn02.msn:mcn03.msn:mcn04.msn:mcn06.msn:mcn07.msn
> /vol/vol0/vmb11
>
> /vol/vol0/vmb01 -sec=sys,ro,root=mbe
> /vol/vol0/vmb03 -sec=sys,ro,root=mbe
> /vol/vol0/vmb05 -sec=sys,ro,root=mbe
> /vol/vol0/vmb07
>
-sec=sys,ro=mcn02.msn:mcn03.msn:mcn04.msn:mcn05.msn:mcn06.msn:mcn07.msn,rw=mcn01.msn,root=mbe
> /vol/vol0/vmb09
>
-sec=sys,ro=mcn01.msn:mcn02.msn:mcn04.msn:mcn05.msn:mcn06.msn:mcn07.msn,rw=mcn03.msn,root=mbe
> /vol/vol0/vmb11
>
-sec=sys,ro=mcn01.msn:mcn02.msn:mcn03.msn:mcn04.msn:mcn06.msn:mcn07.msn,rw=mcn05.msn,root=mbe
>
> after failover.. note exports gone..
>
> /vol/vol0/vmb01 -sec=sys,ro,root=mbe
> /vol/vol0/vmb03 -sec=sys,ro,root=mbe
> /vol/vol0/vmb05 -sec=sys,ro,root=mbe
> /vol/vol0/vmb07 -sec=sys,ro,root=mbe
> /vol/vol0/vmb09 -sec=sys,ro,root=mbe
> /vol/vol0/vmb11 -sec=sys,ro,root=mbe
>
>
> --
> Greg Wilson Senior System Administrator
> greg.wilson <at> aapt.com.au
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com