1835307 Members
2410 Online
110078 Solutions
New Discussion

make_net_recovery error

 
SOLVED
Go to solution
yaron daniel
Frequent Advisor

make_net_recovery error

Hello All
I have an Ignite server, and i replace the directory - /var/opt/ignite/recovery/archives
to a link which lead to another server (Netapp directory - give me much more disk space) , but when i am doing make_net_recovery the command fails because it is needed to be export at the /etc/exports file at the ignite server.
Can i do make_net_recovery and save the archives on another server ?
10x
the truth is out there
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: make_net_recovery error

The model for make_net_recovery is to create a machine specific archive on an Ignite Server.

Two choices I think on how to deal with it:

1) Make the Netapp directory an exported NFS mount. This will let you write your archive directly to that server as part of the command line you use to built the recovery archive.

2) Manually copy the archives over to the Netapp server at the end of the make_net_recovery process.

Either way you'll need to test this. The naming convention on make_net_recovery archives is somewhat difficult for me to remember or script, but I'm sure it can be done.

Note item 1 won't work if Netapp can'd do an NFS export.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sundar_7
Honored Contributor

Re: make_net_recovery error

Yes, you can use make_net_recovery to create and store the recovery archive on a different system (IUX server).

But for the IUX client to be able to create the archives, it should be able to mount the directories from the IUX server via NFS.

Try this from the IUX server

# exportfs -iv -o anon=2 /var/opt/ignite/clients
# mkdir /var/opt/ignite/recovery/archives/
# chown bin:bin /var/opt/ignite/recovery/archives/
# exportfs -iv -o anon=2,access= /var/opt/ignite/recovery/archives/

Now from the IUX client, try make_net_recovery - it should work.

Learn What to do ,How to do and more importantly When to do ?
yaron daniel
Frequent Advisor

Re: make_net_recovery error

10x to u all

I make it with a script file:
On the Netapp i export the qtree with root access to the client.
On the make_net_recovery i used the -a netapp:dir and it is working o.k.

Here is the script: (need to be run from the client)
#!/bin/ksh
HOST=`/bin/hostname`
BASE_DIR="/n/NETAPP/IGNITE/archives"

if [ -d ${BASE_DIR}/${HOST} ] ; then
echo "Dir exist"
else
mkdir ${BASE_DIR}/${HOST} ; chown bin:bin ${BASE_DIR}/${HOST}
fi

make_net_recovery -s Ignite-server -a NETAPP:/IGNITE/archives/${HOST} -x inc_entire=/dev/vg00 -n 2 -v

the truth is out there