1753918 Members
7780 Online
108810 Solutions
New Discussion юеВ

Cloning a D380 to a D350

 
Guy Humphreys
Valued Contributor

Cloning a D380 to a D350

Dear All,

I am trying to clone a D380 onto a D350, both machines have the same cards installed and the same disks (6x 9.1GB FWD in a RAID 1 config across 2 controllers) The only difference I can see is the D350 has an external DDS3 drive and the 380's is internal.

I did a make_tape_recovery -x inc_entire=vg00 -l -v -a /dev/rmt/0mn (only vg00 exists)

this went fine and I went to install off it in the 350. It was all going fine, I interupted the boot and changed a few params - hostname, IP address etc (kept the lvms the same)

But as it got to the network initialisation phase I got the following error:

Bad system id for shared library /usr/lib/libc.2
Exec format error
net. init [96]: 97 abort (coredump)
lo0 interface: /usr/lib/dld.sl: Bad system id for shared library /usr/lib/libc.2

Could not initialise networking.

I dropped to a shell and tried to do an ls and got the same type of error:

Bad system id for shared library /usr/lib/libc.2

tried an exit 2 to carry on and got the same sort of error as above.

I thought as long as you kept within a hardware series you could clone one D class to another.

Does anyone have any tips on how to get round/solve this problem - maybe ignoring the network section and just copying the other characteristics, I can easily change the networking info, whereas it would take a lot longer to manually replicate the lvms/dirs/patches etc

Many thanks for any suggestions with this.

Cheers
Guy
'If it ain't broke, don't fix it!'
10 REPLIES 10
Robert-Jan Goossens_1
Honored Contributor

Re: Cloning a D380 to a D350

Hi,

The problem is the difference in the processor architecture.

PA-RISC 1.1 chips
D350 1.1d PA7200 - processor

PA-RISC 2.0 chips
D380 2.0 PA8000 - processor

Best regards,
Robert-Jan
Anthony Lennan
Valued Contributor

Re: Cloning a D380 to a D350

Hi Guy,

Is the D380 running a 64bit version of HPUX? If so this will cause you problems as a D350 can only run a 32 bit OS.

If that is not the issue I would look at upgrading your hardware enablement patches on the D380 and then remaking you ignite tape and trying again.

Cheers,
Anthony
Guy Humphreys
Valued Contributor

Re: Cloning a D380 to a D350

Thanks for the quick response Robert-Jan, I am sure the answer is going to be no but I have to ask - is there anyway around the problem?

Cheers
Guy
'If it ain't broke, don't fix it!'
Anthony Lennan
Valued Contributor

Re: Cloning a D380 to a D350

Hi Guy,

If your D380 is running 64 bit HPUX it will not work.

If your D380 is running 32 bit HPUX however I believe it should work.

Rgds,
Anthony
melvyn burnard
Honored Contributor

Re: Cloning a D380 to a D350

I suspect Anthony has the answer. Check the version of HP-UX that the D380 is running, and if it is 64 bit, then it will not work.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Guy Humphreys
Valued Contributor

Re: Cloning a D380 to a D350

Anthony, the 380 is running 32 bit 11.11.

I will put the latest HWE patches on and try again, will post details when I have them

Thanks again
Guy
'If it ain't broke, don't fix it!'
Steven E. Protter
Exalted Contributor

Re: Cloning a D380 to a D350

The answer may lie in a slightlyh different, less hardware dependent approch.

Ignite Golden Images.

This process creates a software image that is is more easily distributed among sysems.

You will see its not trivial, but uses the same basic components as make_tape_recovery (make_sys_image) but does things in a different way.

Links:
http://www2.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fdocs.hp.com%2Fen%2FB2355-90872%2Fch05.html&aid=SEARCH_MANUAL&pil=1&serStr=Ignite+Golden+Image
http://www2.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fdocs.hp.com%2Fen%2FB2355-90872%2Fch05s01.html&aid=SEARCH_MANUAL&pil=2&serStr=Ignite+Golden+Image
http://www2.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fdocs.hp.com%2Fen%2FB2355-90872%2Fch05s03.html&aid=SEARCH_MANUAL&pil=7&serStr=Ignite+Golden+Image
Steps to create a golden system:
http://www2.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fdocs.hp.com%2Fen%2FB2355-90153%2Fapcs08.html&aid=SEARCH_MANUAL&pil=10&serStr=Ignite+Golden+Image

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
TwoProc
Honored Contributor

Re: Cloning a D380 to a D350

Why not try doing a data dump of your root drive(s)? If they are occupying the same hardware address and the drive sizes are the same (or a bit larger on the new drives), then is conceivable that it would work.

dd if=/dev/rdsk/c0t6d0 \
of=/dev/rdsk/whereever_copy_disk_is \
bs=256k

This isn't as good a solution as ignite, but if ignite isn't working for you, this might work.

We are the people our parents warned us about --Jimmy Buffett
Bernhard Mueller
Honored Contributor

Re: Cloning a D380 to a D350

Guy,

if the D380 is truly running 32bit, what you must set to make it work is "Cloning to diff HW" to TRUE.

This is an Additional Option in the Basic Install Tab.

Regards,
Bernhard