ITEM: J4364L

tar questions / hacmp questions




Question:

Can I use tar to back up my Oracle database?
Yes.

When restoring tar from relative pathname, which directory should I be in.
The one that you want to restore to.

HACMP defaults to soft nfs mounts.  How do I change it to hard mounts?
We will have to test this out, and call back later.

Response:

Called John back to get a little more detail on this issue.  He had mentioned   
that he had read in a HACMP manual that you could hard mount a filesystem in
HACMP, and I asked for the specific page number.

Response:

By default, if there is no stanza for the nfs filesystem in /etc/filesystems,
it will do a 'hard' mount.  If there is a stanza with options set, it will
do a 'soft' mount of the filesystem. This can be seen from the following lines 
in the /usr/sbin/cluster/utils/cl_activate_nfs file:

            OPTIONS=`lsfs -c -v nfs | grep "\^$FS:" | cut -d: -f7`

            if [ -n "$OPTIONS" ]
            then
                OPTIONS="soft"
            fi

            mount -o "$OPTIONS" $HOST:$FS  $FS

The lsfs looks through the /etc/filesystems for the options of the nfs
filesystem. However, in a cross-mounted situation, there is no nfs stanza
for the filesystem, just a jfs stanza. Also, if you look carefully at this
code, you see that if there are options, they are set to 'soft', and if there
are no options, then the mount will default to 'hard'. I suggested he change
the -n to a -z in the if statement above, and then add the following lines
to his /etc/filesystems file:

/filesystem_name:
        vfs             = nfs
        mount           = false
        options         = rw, hard, bg  ( any other options )

Now the nfs filesystem will be mounted with the above specified options,
or if no options exist it will be soft mounted.



Support Line: tar questions / hacmp questions ITEM: J4364L
Dated: September 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:43
Comments or suggestions? Contact us