- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Make_net_recovery move to tape
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 10:33 AM
05-06-2009 10:33 AM
Does anyone know the best way or command used to take a network recovery of server A, that is stored on server B, then make it into a tape I can put in back into server A to do a recovery.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 10:44 AM
05-06-2009 10:44 AM
Solutionmake_medialif
but the use of it might not be as simple as copying the net recovery image from disk to a tape, but a little more complicated. This page has pointers to two different solutions that you might be interested in:
http://docs.hp.com/en/B2355-90772/ch11s10.html
good luck.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 11:42 AM
05-06-2009 11:42 AM
Re: Make_net_recovery move to tape
Or maybe there is some reason not to ?
You could create a boot helper tape by executing 'make_tape_recovery -I' from B, use the tape to boot A, then choose the network restore option during install.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 12:22 PM
05-06-2009 12:22 PM
Re: Make_net_recovery move to tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 12:28 PM
05-06-2009 12:28 PM
Re: Make_net_recovery move to tape
On most our systems the network recovery never seems to work due to the fact that lan0 needs to be the nic that is on the same subnet as the network ignite server or the server is not on the same subnet entirely. Which is why we want to move the image to a tape.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2009 06:36 AM
05-07-2009 06:36 AM
Re: Make_net_recovery move to tape
There is a concept called boot helpers. Details elude me right now, but you can find them in the ignite cookbook. Set one up where your lan0 is located (on another server that is) and use that one to boot from, i.e., boot lan.X.Y.Z.Q where X.Y.Z.Q is the ip address of your ignite helper, then point the process to download the ignite image from your main ignite server, provided ftp/tftp is allowed between lan0 subnet and the ignite server's subnet.
I have done this in the past but it was a long time ago and old age is catching up with my memory.
Hope it helps.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2009 06:45 AM
05-07-2009 06:45 AM
Re: Make_net_recovery move to tape
Yes. You need boot helper to recover the system if clients are in different subnet.
Refer this on how to configure boot helper.
http://www.docs.hp.com/en/5992-5309/ch05s04.html#Ignite_boot_helper
Also this thread..
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1241707234830+28353475&threadId=1317786
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2009 09:51 AM
05-18-2009 09:51 AM
Re: Make_net_recovery move to tape
#!/usr/bin/sh
# tape recover from net image.
# Author
#####
IGNDIR=/var/opt/ignite/clients
TMP=/tmp
TAPEDRIVE=/dev/rmt/0mn
#####
#########################
check ()
{
if [ "$(id -u)" != "0" ] ; then
echo "This script must be run as root" 1>&2
exit 1
fi
}
#########################
input ()
{
count=1
while [ $count -eq 1 ]
do
echo "Please enter name of system you want yo make image of:"
read System
if [ -d $IGNDIR/$System ] ;
then
echo "$System exist on mou065"
count=0
else
echo "!!! System You entered $System doesn't exist on Ignite Server !!!"
echo "!!! Please check and re-enter host !!!"
count=1
fi
done
echo "Please make selection what HP version to use"
echo "B.11.11, B.11.23, B.11.31:"
read var
case "$var" in
"B.11.11")
Ver=`echo "B.11.11"`
;;
"B.11.23")
Ver=`echo "B.11.23"`
;;
"B.11.31")
Ver=`echo "B.11.31"`
;;
*)
echo "No HP matching OS version found !"
exit 1
;;
esac
}
#############################
make_lif ()
{
REAL=`ls -l $IGNDIR/$System/recovery/| grep "latest" | awk -F"->" ' { pr
int $2 } ' | sed 's/ //g'`
cd $IGNDIR/$System/recovery/$REAL
/opt/ignite/bin/make_medialif -f system_cfg -f control_cfg -f archive_cf
g \
-C "$REAL $System recovery image" \
-l $TMP/lif -a -r $Ver
instl_adm -d -F $TMP/lif > $TMP/cfg.tmp
cat $TMP/cfg.tmp | grep -v "end instl_adm defaults." > /$TMP/cfg
echo "control_from_server=FALSE" >> $TMP/cfg
echo "run_ui=TRUE" >> $TMP/cfg
echo "env_vars += \"INST_ALLOW_WARNINGS=10\"" >> $TMP/cfg
echo "# end instl_adm defaults." >> $TMP/cfg
instl_adm -F $TMP/lif -f $TMP/cfg
}
###############################
make_tape ()
{
mt -t $TAPEDRIVE rew
dd if=$TMP/lif of=$TAPEDRIVE obs=2k
dd if=/var/opt/ignite/recovery/archives/$System/$REAL \
of=$TAPEDRIVE obs=10k
mt -t $TAPEDRIVE rew
}
###############################
cleanup ()
{
rm /tmp/lif
rm /tmp/cfg.tmp
rm /tmp/cfg
}
check
input
make_lif
make_tape
cleanup