Computing.Net > Forums > Unix > cloning system aix 4.3.3

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

cloning system aix 4.3.3

Reply to Message Icon

Name: zaenul
Date: August 8, 2002 at 18:55:02 Pacific
Comment:

hi every body..
I have bad experiance with my system AIX 4.3.3
and I must restore from tape backup system,
and I need much time to complet restore system.

Can you tell me how can I make one cloning of disk0 (rootvg)to another disk. so If I get problem again I just replace or change priority disk boot ?

Thanks




Sponsored Link
Ads by Google

Response Number 1
Name: hoppel67
Date: August 9, 2002 at 05:14:16 Pacific
Reply:

cloning is a different thing.
You "just" want to make another boot device, e.g. hdisk1 ( should be another internal scsi disk1 ! )
To get it you have to make a copy of your hdisk0.

1.) extendvg rootvg hdisk1 2.) chvg -Qn rootvg
3.) mirrorvg -s rootvg hdisk1
4.) varyonvg rootvg
5.) bosboot -a
6.) bootlist -m normal hdisk0 hdisk1

if hdisk0 fails, system will boot from hdisk1
to check it before, you can enter -bootlist -m normal hdisk1 hdisk0 and shutdown your system.When it´s up again type bootinfo -b and if it shows hdisk1 you´ll see that everything is fine and that hdisk1 is the new, second bootable disk.Afterwards you can set hdisk0 back, to boot from there as the "NORMAl" disk.
Happy computing....


0

Response Number 2
Name: hoppel67
Date: August 9, 2002 at 05:25:37 Pacific
Reply:

ups one short thing to add !
After point 6.) you have first to reboot your system !
Then you can continue with testing...
Greetings from germany


0

Response Number 3
Name: Frank
Date: August 9, 2002 at 07:16:07 Pacific
Reply:

Take care on the output of lslv -m hd5
physical partition must be the same on both disk's.

I didn't see any reason for rebooting just use "syncvg rootvg"

A kind of cloning can be done simmilare just create the mirror as described by hoppel67 without useing the bosboot command.
After that reducevg rootvg hdisk1.

But the cost advantage is clearly on tape.
If disk space is issue in your env just create Logical volume copys.

No RISK no fun
Frank

Gruesse auch zurueck nach Deutschland.

PS: Hast Du schlechte Erfahrung beim spiegeln ?
Warum sollte das system rebootet werden ?
Bin für jede Erfahrung dankbar die ich nicht mehr machen brauch. :-)



0

Response Number 4
Name: hoppel67
Date: August 13, 2002 at 05:47:07 Pacific
Reply:

Hi Frank,

rebooten + mobbing machen frei, :)) sorry für den schwarzen Humor, beruht auf die Anfangszeiten wo die erste Lösung der Entwicklungsabteilungen immer ein reboot war.
Aber im Ernst, in diesem Fall um das ausschalten des Quorum´s ( chvg -Qn rootvg
) aktiv werden zu lassen !
Mit spiegeln und booten von einer zweiten Platte habe ich bisher gute Erfahrungen, allerdings nur ( aus mir leider etwas unverständlichen Gründen, aber man muss ja nicht immer alles verstehen ;-) ) wenn man die Ganze "Spiegelungssache" mehr oder minder in einem Rutsch macht.

Happy computing


0

Response Number 5
Name: Frank
Date: August 14, 2002 at 08:27:39 Pacific
Reply:

Alles klar,

nur noch eine frage: wie oder besser warum spiegelst Du das bootlv.

Ich habe mehrere Systeme die unterschiedlich gespiegelt/kopiert sind.

z.B. auf einem system habe ich:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 1 1 closed/syncd N/A
hd5x boot 1 1 1 closed/syncd N/A
was eine kopie ist.

Auf anderen systemen habe ich:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
Was ein Spiegel ist.

Ich weiß nicht wo der Vorteil des kopierens gegenüber des spiegel ist, weiß Du das vielleicht ?

No RISK no fun
Frank


0

Related Posts

See More



Response Number 6
Name: hoppel67
Date: August 16, 2002 at 00:59:49 Pacific
Reply:

Spiegeln hat den Vorteil das aut. auf beide phys. Platten geschrieben wird d.h. die Daten werden syncron gehalten, eine Kopie ist halt nur eine Kopie...
Bis zum Zeitpunkt des Ausfalls einer gespiegelten Platte "völlisch" identische Daten !

Gruss
hoppel67


0

Response Number 7
Name: Frank
Date: August 16, 2002 at 03:03:10 Pacific
Reply:

Ja ja das ist schon klar,

aber wann bzw wobei werden Änderungen in das BLV geschrieben ?

Klar, die frage bezieht sich auf den Zeitpunkt nach einer installation.

NO RISK no fun
Frank


0

Response Number 8
Name: hoppel67
Date: August 16, 2002 at 05:43:39 Pacific
Reply:

wenn du "nur" das BLV ( hd5 ) meinst, das wird eher nur gelesen nach dem POST, nach diesem wird nach einem bootimage aus der bootliste geschaut und dann in den Speicher geladen.... etc. siehe "How does an AIX System boot" auf den IBM - Seiten.
hd5 enhält den Kernel,eine mini ODM, die boot-kommandos und rc.boot.
Daher ist´s ja nach dem Laden auf closed/syncd.

??
Gruss / schönes Wochenende *heissahüpf*


0

Response Number 9
Name: Frank
Date: August 16, 2002 at 06:30:05 Pacific
Reply:

Hey,

das heißt dann ja das es keinen unterschied macht ob das BLV gespiegelt oder kopiert ist.

Na ja Wochenende dauert nochetwas bei mir, oh nein feierabend verpasst, muß ich jetzt bis zum nächsten Warten :-))
Auch Dir ein Schönes Wochenende.


Frank


0

Response Number 10
Name: hoppel67
Date: August 21, 2002 at 00:56:48 Pacific
Reply:

nahezu keinen unterschied :))
wie kann man nur seinen feierabend verpassen ts ts tss also nee

gruss
hoppel67


0

Sponsored Link
Ads by Google
Reply to Message Icon

Unix Printer Drivers for ... AT commands for D-Link mo...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: cloning system aix 4.3.3

oracle 9i installtion on aix 4.3.3 www.computing.net/answers/unix/oracle-9i-installtion-on-aix-433/6355.html

D-link with AIX 4.3.3 www.computing.net/answers/unix/dlink-with-aix-433/3659.html

Firewall for AIX 4.3 www.computing.net/answers/unix/firewall-for-aix-43/2588.html