- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Template for Kernel Parameters
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 09:28 AM
02-02-2006 09:28 AM
If I have 2 systems i.e. A & B. And if I have already tuned the kernel for A and just need the same parameters on systemB then is there any way out? Is tehre any template option available in SAM for this, pl revert back.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 09:51 AM
02-02-2006 09:51 AM
Re: Template for Kernel Parameters
Try kmtune, it may provide you solution.
If you have not rebooted you can find the old values
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 09:53 AM
02-02-2006 09:53 AM
Re: Template for Kernel Parameters
If you have any servers then it is work using Ignite to do in one shot. But you have 2 systems. The only option you have is just to do with KMTUNE or SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 05:30 PM
02-02-2006 05:30 PM
Re: Template for Kernel Parameters
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 05:32 PM
02-02-2006 05:32 PM
Re: Template for Kernel Parameters
Using remsh or ssh with password less authentication to make remote system tuning with kmtune.
It will make that too work.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 05:55 PM
02-02-2006 05:55 PM
Re: Template for Kernel Parameters
# sam -> Run SAM on Remote Systems -> Actions -> Add new system
give new system and take control on that.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 05:55 PM
02-02-2006 05:55 PM
Solution/usr/lbin/sysadm/system_prep -s system
If you wish to change your kernel by changing it to match another kernel or system file you can do so by using the "Template" feature of kernel reconfiguration.
Select Templates from the Actions menu of any of the kernel configuration subareas. Select Load a Template. Enter the full path name of the template file. A template file can be a kernel or configuration file that normally resides on the current system, a file copied from a remote system, or any other valid kernel or configuration file. To view the template values, use the View->Columns menu selection to assign a column position to the template values.
Template values will then automatically be displayed in any view or modify dialog boxes. The template values are not automatically applied to the kernel you are building. To apply template values choose Templates from the Actions menu. Select Apply Template Values. SAM will allow you to choose to apply template values to configurable parameters and drivers or subsystems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 06:35 PM
02-02-2006 06:35 PM
Re: Template for Kernel Parameters
Yes, it is possible. I have been using this for quite some time now through SAM.
On systema with all appropriate kernel parameters-
SAM->Kernel Configuration->Configurable Parameters->
File->Print-> Select file and give path and name.
Your current drivers and parameters will be copied to the file name specified.
Now copy this file to the other system and from
SAM->Kernel Configuration->Configurable Parameters->Actions->Load a Template File
Specify the file copied from the other system and press OK.
Now apply these template values
Action->Template->Apply template Values
and it will probe or selecting drivers/parameters to be applied. Select either or both depending upon the requirement and press OK.
The new parameters will be visible in pending column. Recreate new kernel as usual.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 07:24 PM
02-02-2006 07:24 PM
Re: Template for Kernel Parameters
1. Make a script at system A(Tuned System).
# vi kernel_list.sh
<Script for HP-UX 11.0 >
#!/bin/sh
/usr/sbin/kmtune -l -S /stand/system | awk '$1 ~ /P/ {P=$2} $1 ~ /V/ {V=$2} $1 ~ /D/ {D=$2} $1 ~ /Mi/ {Mi=$2} $1 ~ /Mo/ {print P " " V}' ==> This is only one row!!
<Script for HP-UX 11.11 >
#!/bin/sh
/usr/sbin/kmtune -l -S /stand/system | awk '$1 ~ /Pa/ {Pa=$2} $1 ~ /C/ {C=$2} $1 ~ /Pl/ {Pl=$2} $1 ~ /D/ {D=$2} $1 ~ /Mi/ {Mi=$2} $1 ~ /Mo/ {Mi=$2} $1 ~ /V/ {V=$2} $1 ~ /Dy/ {print Pa " " C}' | grep -v "-" ==> This is only one row!!
2. Create the kernel parameter list.
# ./kernel_list.sh > /tmp/kernel_template
3. If need modify parameter at kernel_template.
4. Copy the created kernel_template to System B.
5. Execute SAM at System B.
# sam ==> kernel configuration -> configurable parameters -> action -> templates -> load a template file ==> clear statement with absolute path.
6. Move View -> Columns -> Change ==> At "Template Formulat" column modify "Ignore" to"4".
7. Move Action -> Templates -> Apply Template Values==> choice "Configurable Parameter Values".
8. Reboot after create new kernel.