1753417 Members
5061 Online
108793 Solutions
New Discussion юеВ

make_dvd_recovery ???

 
SOLVED
Go to solution
Paul Torp
Regular Advisor
Solution

Re: make_dvd_recovery ???

ok!

Now i have translated this todo list:
My collegue has but a lot of research and time into this:

-Put all config files on a server u can reach e.g hpignite:/root/iso-config.
-copy them to /iso on the server u are gonna create the image of (this server is called image), This way it will be on the DVD

##Manually work:
image:/ # lvcreate -L 1900 -n lvol3 vg_image
image:/ # newfs -F hfs -f 2048 /dev/vg00/rlvol3
image:/ # mkdir /iso
image:/ # mount /dev/vg_image/lvol3 /iso
image:/ # mount -o largefiles /dev/vg_image/lvol2 /image #
##Lvol2 IS A REGULAR FILESYSTEM
image:/image #timex /opt/ignite/data/scripts/make_sys_image -l 2 -f /image/exclude -d /iso -s local
image:/iso #/opt/ignite/lbin/archive_impact -t -g /iso/image.gz
## Replace the impact-lines in core11.cfg with the output from archive_imapact.
image:/iso #instl_adm -T -f core11.cfg
image:/iso #instl_adm -T -f config
image:/iso #make_medialif -f /iso/core11.cfg -f /iso/config -l /image/lifvol
image:/tmp #instl_adm -F /image/lifvol -f /iso/cfg
image:/tmp #umount /iso
image:/tmp #dd if=/dev/vg_image/rlvol3 of=/image/image1.iso bs=1024k
image:/tmp #/opt/ignite/lbin/instl_combine -F /image/lifvol -C /image/image1.iso

## To test the image:
image:/tmp #dd if=/image/image1.iso of=/dev/rdsk/c6t1d0 bs=1024k
## Where c6t1d0 is a disk NOT in use

Boot from this disk c6t1d0 - (interrupt the boot secuence -> SEArch -> Choose the right disk)

If OK: Burn image1.iso to DVD (ONLY DVD-R will work)


##Afterwork - post-script.
1) Touch /var/adm/wtmp
2) put sticky-bit on tmp and /var/tmp
3) create a new /etc/hosts
4) Generate new ssh-keys (if ssh is used)
5) create new /stand/bootconf
6) edit /etc/issue.
7) Correct netconf with correct gateways.
8) Mirror systemdisks.

Hope this will help u out!
"sendmail is kind of fun..."
Ivajlo Yanakiev
Respected Contributor

Re: make_dvd_recovery ???

Paul Torp sorry man but this is lot of work.
And time consuming :(
Bill Costigan
Honored Contributor

Re: make_dvd_recovery ???

I looks like I can be done but only with a lot of work. Too bad you cannot redirect the outpot from make_tape_recovery to a disk
[make_tape_recovery -A -a /dev/vg02/rlvol12]
and then copy that to a DVD.

Thanks to all who replied.