cancel
Showing results for 
Search instead for 
Did you mean: 

Kernel

 
SOLVED
Go to solution
Ken Hubnik_2
Honored Contributor

Kernel

I am installing a new "N4000" and want to set all kernel parameters like another N class server. What files do I need to copy and what is the process?
4 REPLIES 4
Helen French
Honored Contributor

Re: Kernel

I would do any of the following:

1) Go to SAM- kernel parameters - configurable parameters- print out all kernel parameters and configure the same on other system

2) Take the output of these commands and configure the same in other system through sam:

# kmtune
# sysdef

3) Copy /stand/system file and reconfigure the kernel.
Life is a promise, fulfill it!
Sandip Ghosh
Honored Contributor

Re: Kernel

Copy the /stand/m from a running system to the /stand/build/system of the new system.
Then run /usr/sbin/mk_kernel -s system.
Then run kmupdate to update the kernel.

Sandip
Good Luck!!!
Sanjay_6
Honored Contributor
Solution

Re: Kernel

Hi Ken,

To get a list of all kernel parameters from a n-class try,

kmtune -S /stand/system >/tmp/kern_para.txt

more /tmp/kern_para.txt

Or Do this,

On the running system,

cd /stand/build
/usr/lbin/sysadm/system_prep -s /stand/build/system

Copy this system file to /stand/build on the other server. Now do this on the other server,

# /usr/sbin/mk_kernel -s /stand/build/system
# mv /stand/system /stand/system.prev
# mv /stand/vmunix /stand/vmunix.prev
# mv /stand/dlkm /stand/dlkm.vmunix.prev
# mv /stand/build/system /stand/system
# kmupdate /stand/build/vmunix_test
# Shutdown -r now


Hope this helps.

Regds

Uday_S_Ankolekar
Honored Contributor

Re: Kernel

Ken,
One of these methods you can go for.

1.Take a list of kernel parameters from kmtune -l of the running server and then use sam to impliment on the new server.

2. Create a fresh ignite (make_recovery) tape of running server and then use it on the new box.

3. You can also use usr/lbin/sysadmin/system_prep command to create new system file.

cd /stand/build
# /usr/lbin/sysadm/system_prep -v -s system Copy the contents to new box and then run
/usr/sbin/mk_kernel -s /stand/build/system
This builds a new kernel ready for testing: /stand/build/vmunix_test

mv /stand/system /stand/system.prev
mv /stand/build/system /stand/system

usr/sbin/kmupdate

Reboot the box.

-Goodluck
-USa..


Good Luck..