- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: make dev kernel same as production kernel?
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
07-07-2003 11:45 AM
07-07-2003 11:45 AM
Is it as simple as ftp the /stand/vmunix and reboot?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 11:52 AM
07-07-2003 11:52 AM
Re: make dev kernel same as production kernel?
The best way to take output using kmtune
and compare the production with dev use
perl / sh scripts to compare both, and
make changes dev kernel as of production
server.
I will try to send the perl scripts, which
one I used for comparision.
Regards
sekar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 11:58 AM
07-07-2003 11:58 AM
Solution/usr/lbin/sysadm/system_prep -v -s system and
copy that file to your development system and
use mk_kernel to create a new kernel with the
same exact kernel values as your production system and reboot that system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 12:02 PM
07-07-2003 12:02 PM
Re: make dev kernel same as production kernel?
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 12:07 PM
07-07-2003 12:07 PM
Re: make dev kernel same as production kernel?
Look on this you will find the answer:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3d7e3f9a15add711abdc0090277a778c,00.html
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 12:38 PM
07-07-2003 12:38 PM
Re: make dev kernel same as production kernel?
Even on identical systems there are differences there.
what /stand/vmunix > /tmp/vmdiff
Do it on both systems and you may find differences.
Certainly the serial number on the machines is different.
What I would do is open sessions on both machines, and go through the kernel parameters one by one and make sure they all match, formulas included.
Then you can generate a kernel with some degree of confidence.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 11:04 PM
07-07-2003 11:04 PM
Re: make dev kernel same as production kernel?
a little trick.
If, besides all other wise suggestion, you do want do make the kernel alike (which i don't suggest, prod server always have different needs), here is a fast way:
rcp PROD:/stand/system PROD:/stand/system.good
rcp PROD:/stand/vmunix PROD:/stand/vmunix.good
rcp DEV:/stand/system PROD:/stand/system
go to PROD server
cd stand
mk_kernel
kmupdate
shutdown -r now
This way we will take with us the kernel parameter.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 11:22 PM
07-07-2003 11:22 PM
Re: make dev kernel same as production kernel?
on the prod env:
# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system
(make your changes if required on dev env)
save the file and ftp to the dev server,
on dev env:
# mk_kernel -s system
# kmupdate
# cd /
# shutdown -r -y now
Hope this can help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 11:24 PM
07-07-2003 11:24 PM
Re: make dev kernel same as production kernel?
Another solution to retrive the configuration file of a kernel is to retrieve it directly from the kernel you want to duplicate itself:
#echo 'system_data?X
.+4
.?s' | adb /stand/vmunix > /tmp/system.orig
Then use this system file to create a new kernel on the other system.
Btw, I don't recommant to ftp the kernel to the other system, because it can need some patched libraries that the other system don't have (example: ps command, ipcs, nfs, etc...)
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 09:29 AM
07-10-2003 09:29 AM
Re: make dev kernel same as production kernel?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 10:17 AM
07-10-2003 10:17 AM
Re: make dev kernel same as production kernel?
so you could say i'm going with Twang Wong answer...