[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] managed nfs service not calling nfsexport.sh & nfsclient.sh



Hi,

I'm trying to set up a managed nfs service for my cluster.

Below is the relevant snippet from cluster.conf

The ipaddresses get added to the interface ok, however the nfs export never happens.
nfsd and the other daemons are running, I have no /etc/export

If I manually set the OCF_KEY_options etc. values in the environment (using export etc.) the scripts work.
However if I start rgmanager, nothing happens (apart from the ipaddresses)

How do I find out where this goes wrong ?
Any pointers would be most welcome.

Grtz Ramon

== cluster.conf ==
<fs device="/dev/vg/dummy-lv" force_unmount="0" fstype="reiserfs" mountpoint="/export/media" name="nfs-originals1" options="noatime">
        <nfsexport name="nfs-originals1"/>
<nfsclient name="internal1" options="rw,insecure,async,no_root_squash" target="10.10.0.0/24"/>
 </fs>
<fs device="/dev/vg/dummy-lv" force_unmount="0" fstype="reiserfs" mountpoint="/export/media" name="nfs-originals2" options="noatime">
        <nfsexport name="nfs-originals2"/>
<nfsclient name="internal2" options="rw,insecure,async,no_root_squash" target="10.10.0.0/24"/>
 </fs>
<fs device="/dev/vg/dummy-lv" force_unmount="0" fstype="reiserfs" mountpoint="/export/media" name="nfs-originals3" options="noatime">
       <nfsexport name="nfs-originals3"/>
<nfsclient name="internal3" options="rw,insecure,async,no_root_squash" target="10.10.0.0/24"/>
 </fs>
</resources>
  <service autostart="1" domain="nfs-originals1" name="10.10.0.221">
               <ip address="10.10.0.221" monitor_link="1"/>
               <fs ref="nfs-originals1">
                       <nfsexport name="nfs-originals1">
                               <nfsclient ref="internal1"/>
                       </nfsexport>
               </fs>
       </service>
       <service autostart="1" domain="nfs-originals2" name="10.10.0.222">
               <ip address="10.10.0.222" monitor_link="1"/>
               <fs ref="nfs-originals2">
                       <nfsexport name="nfs-originals2">
                               <nfsclient ref="internal2"/>
                       </nfsexport>
               </fs>
       </service>
       <service autostart="1" domain="nfs-originals3" name="10.10.0.223">
               <ip address="10.10.0.223" monitor_link="1"/>
               <fs ref="nfs-originals3">
                       <nfsexport name="nfs-originals3">
                               <nfsclient ref="internal3"/>
                       </nfsexport>
               </fs>
       </service>

--
To be stupid and selfish and to have good health are the three requirements for happiness, though if stupidity is lacking, the others are useless.

Gustave Flaubert


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]