Hi Karl, We use NFS 4.0 with automount on RHEL 8.3. Our NFS mount options are:
*/YOUR_MOUNT_NAME -rw,noatime,soft,intr,noexec,nosuid,nodev,users,rsize=65536,wsize=65536,proto=tcp,nfsvers=4.0,sec=sys 1.2.3.4:/your_nfs_server_export_name_here* Note the user id that accesses the mount has the same group ID (GID) on *both* the host and NFS server/appliance. Said setup will require coordination with your storage team. Do NOT use NFS > 4.0. Even 4.01 is a PITA. HTH Thanks, Paul On Tue, Feb 15, 2022 at 5:02 PM Matt Pavlovich <[email protected]> wrote: > Hi Karl- > > For sure you do NOT want to use SMB/CIFS. The locking mechanism is not > robust enough. > > Generally speaking, computer programs become unpredictable when disk > volumes “just disappear”. I would recommend taking outages when the disk > volume maintenance is being performed. > > -Matt Pavlovich > > > On Feb 15, 2022, at 2:30 PM, Nordstrom, Karl <[email protected]> wrote: > > > > Hello ActiveMQ users, > > > > We have two hosts in each of our ActiveMQ v5.16.x clusters. > > > > They both NFS mount the following at boot time via /etc/fstab > > /opt/local/apache-activemq-5.16.0/data/kahadb > > /opt/local/apache-activemq-5.16.0/data/amq-prod-cluster > > > > The NFS mounts are provided by an EMC Isilon Scaled Out NAS. When they > do maintenace on the Isilon, they reboot one of the nodes at a time. All > too often this causes outages of our amq hosts. So, we stop > activemq.service on the broker in slave mode before the Isilon maintenace, > but still sometimes the amq nodes lose the NFS mounts. > > > > Are there recommended NFS mount parameters? > > Can kahadb be auto mounted? > > Is SMB an option? > > > > Here are the amq mount parameters: > > > > [kxn2@amq-p01 ~]$ cat /etc/fstab |grep nomad > > > > nomad-nfs.blue.psu.edu:/activemq_production > /opt/local/activemq/data/kahadb nfs rw,nosuid 0 0 > > nomad-nfs.blue.psu.edu:/activemq_production > /opt/local/activemq/data/amq-prod-cluster nfs rw,nosuid 0 0 > > > > [kxn2@amq-p01 ~]$ sudo mount | grep nomad > > nomad-nfs.blue.psu.edu:/activemq_production on > /opt/local/apache-activemq-5.16.0/data/kahadb type nfs4 > (rw,nosuid,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.24.62.22,local_lock=none,addr=10.136.49.89) > > > > nomad-nfs.blue.psu.edu:/activemq_production on > /opt/local/apache-activemq-5.16.0/data/amq-prod-cluster type nfs4 > (rw,nosuid,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.24.62.22,local_lock=none,addr=10.136.49.89) > > > > Thanks in advanced > > > > --- > > > > Karl Nordström > > > > Systems Administrator > > > > Penn State IT | Application Platforms > >
