Operating System - HP-UX
1833301 Members
2679 Online
110051 Solutions
New Discussion

Re: copying kernel between MC/SG nodes

 
Murat SULUHAN
Honored Contributor

copying kernel between MC/SG nodes

Hi

When I configured a new kernel in one of the MC/SG nodes, I don't want to reconfigure the kernels in the other nodes.

How can I copy the configured kernel to the other nodes. Nodes are completely identical.

Is it enough only copying vmunix?

Regards
Murat
Murat Suluhan
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: copying kernel between MC/SG nodes

Personally, I would NOT copy the kernel.

I would make the changes manually and recompile the kernel on the other machines.

No, copying vmunix would NOT be enough. I know you would need /stand/system and there are probably other files you would need as well.

Look for any files with the same time stamp as vmunix.

If you do copy, make absolutely SURE you have a good backup kernel, vmunix.prev.
melvyn burnard
Honored Contributor

Re: copying kernel between MC/SG nodes

I would suggest rather copy /stand/system and rebuild the kernel on the second node using that system file
Be careful though
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
A. Clay Stephenson
Acclaimed Contributor

Re: copying kernel between MC/SG nodes

As mentioned, you should copy /stand/system and build a new kernel locally. You will also need the dlkm directory. You never want to be in the position of possibly not being able to build a kernel and that's why it's dumb to simply copy /stand/vmunix.
If it ain't broke, I can fix that.

Re: copying kernel between MC/SG nodes

Are you on HPUX 11.23 (11iv2)?

If so you can use the kconfig command to maintain the two kernels in sync.

Make your changes on 1 machine then issue:

kconfig -e /tmp/mykernel.cfg

Copy that file to the other host and then run:

kconfig -i /tmp/mykernel.cfg

I'd advise you to have a good read of the kconfig man page to fully understand all the implications of this.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Kent Ostby
Honored Contributor

Re: copying kernel between MC/SG nodes

the other question is :

What are all the changes involved in the new kernel ?

And

Are you sure these kernels are identical ?

If you have different drivers or patch levels between the machines, you may cause a large problem by copying the kernel over.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Murat SULUHAN
Honored Contributor

Re: copying kernel between MC/SG nodes

Hi all

First of all thanks for all of the responses

I think I don't copy or like that before I try in the test system and I haven't one.

I will use traditional method.

Best Regards
Murat SULUHAN

Sorry for delayed update
Murat Suluhan