Operating System - HP-UX
1754405 Members
3130 Online
108813 Solutions
New Discussion юеВ

Copying HP-UX Tuning Parms

 
SOLVED
Go to solution
David Mabo_1
Advisor

Copying HP-UX Tuning Parms

Is there a fast and easy way to copy the tuning parms from a A180 to a K460? Want to using the same tunig, but don't want to spent the time matching the parms.
4 REPLIES 4
Sanjay_6
Honored Contributor
Solution

Re: Copying HP-UX Tuning Parms

Hi David,

Generate a template file like this
cd /stand/build
/usr/lbin/sysadm/system_prep -s system

Distribute this file to other system(s). Before that take a backup copy of the original /stand/build/system file.

Then on the other system generate a new kernel using
cd /stand/build
/usr/sbin/mk_kernel -s system
copy this kernel to /stand/vmunix, and boot using this kernel. Do remeber to keep a copy of your earlier kernel, in case required.

Hope this helps.

thanks.
Sanjay_6
Honored Contributor

Re: Copying HP-UX Tuning Parms

Hi David,

Do remember that the tuning of kernel parameters is dependent on the applications used, the type of hardware and things like that. Since the systems on which you are trying to duplicate parameters are of two different class, be extra careful.

You should prefer to put some extra time and manually modify the parameters to be on the safer side.

thanks
David Mabo_1
Advisor

Re: Copying HP-UX Tuning Parms

I am moving an app from a A180 to a quad K class w 180 MHZ processors running in 32 bit mode 11.0. The customer tried to host the app on a box they bought for development. It overwhelmed the system.

So we got them a Used K. Now we need to tune it. I will consider both methods. Thanks for help.
Santosh Nair_1
Honored Contributor

Re: Copying HP-UX Tuning Parms

David,

I would strongly suggest that you not blindly copy over the system file from the A machine to the K machine. The reason for this is that in addition to kernel parameters, the system file also lists drivers that should get build into the kernel. Since the A class is PCI based and the K class is HP-PB/HSC based, they require different drivers for just about everything. So this would be really bad.

If you could isolate the kernel parameters in the system file, than that would be a much better scenario. Also look at using kmtune. This utility make very easy to query and set kernel parameters. A quick shell script could help you sync up the kernel parameters across all your systems.

-Santosh
Life is what's happening while you're busy making other plans