- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Post patch bundle install testing
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
Discussions
Discussions
Discussions
Forums
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
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
тАО04-13-2009 05:47 AM
тАО04-13-2009 05:47 AM
Thanks, Andy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 06:08 AM
тАО04-13-2009 06:08 AM
Re: Post patch bundle install testing
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 06:16 AM
тАО04-13-2009 06:16 AM
SolutionI have a written test plan of important server functionality.
This includes testing procedures, and expected results.
After a major patch install, I execute the plan and roll back if major functionality is missing.
Prior to any patch, I back up the vg00 boot volume group with make_tape_recovery or make_net_recovery
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
тАО04-13-2009 06:28 AM
тАО04-13-2009 06:28 AM
Re: Post patch bundle install testing
I know that depending on the server's function (application) test plans may differ. Can you drill down in little more detail, what specifically you test? (especially OS level related).
Thanks, Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 07:10 AM
тАО04-13-2009 07:10 AM
Re: Post patch bundle install testing
Lets say I have an oracle app.
Tests:
ps -ef | grep instance name
This insures oracle processes are up.
I run a script that reads data from oracle tables to make sure the tables are actually online.
I test any oracle apps using a test account, which I fight the programmers to have to insure the app is up.
I do an ssh login to make sure that service is up since updates tend to "bork" it.
Expected results vary with the test.
I don't test everything, but I pick enough tests to insure that critical systems are up when I head out of the office.
I'd like to know how you test bastille, the individual apps?
If there is a web server, I browse it to make sure it works.
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
тАО04-13-2009 07:24 AM
тАО04-13-2009 07:24 AM
Re: Post patch bundle install testing
While it does not increase confidence it does limit the risks to a defined level.
Beyond that if multiple systems are involved I would look at a rolling update that brought the new environment into production in stages with the most important systems coming online last.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 07:26 AM
тАО04-13-2009 07:26 AM
Re: Post patch bundle install testing
Apart from the regular checks you mentioned. I also moniter the system performance after any sort of patching(as i have bad experience when bundle invloves any PHKL's) to see any unusual CPU, io, mem usage. And enguage the relevant apps teams to have them test their apps and take a sign off.
Cheers,
uvk
Like it or worked !! Click kudos !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 07:30 AM
тАО04-13-2009 07:30 AM
Re: Post patch bundle install testing
Thanks for some of the items you had listed. Given by the limited responses, it appears that many may not conduct extensive "formal" testing, or don't follow a stringent test plan. I am developing this for my organization and was hoping for a bit more feedback to add to my procedures.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 07:31 AM
тАО04-13-2009 07:31 AM
Re: Post patch bundle install testing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 07:34 AM
тАО04-13-2009 07:34 AM
Re: Post patch bundle install testing
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 07:54 AM
тАО04-13-2009 07:54 AM
Re: Post patch bundle install testing
For that I recommend:
1. Run of swverify(1M) before and after
2. Review of messages in swagent.log
For those of you with applications it comes down to the investment you have made to certify your environment. Hands on testing is expensive and does not reproduce well.
If you are interested in the system level aspects I might recommend running the standard performance benchmarks or "standards" tests before and after. If HP is doing our job these should never have an issue. See http://www.opengroup.org/testing/testsuites/ for starters.
What I really recommend is the testing we cannot do. In an ideal world I would have a simulated production load so that my applications themselves are the test. That takes an investment...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 07:57 AM
тАО04-13-2009 07:57 AM
Re: Post patch bundle install testing
Over the course of time as failures are encountered a test that recreates the problem should be generated. The most likely failures are the ones you have already seen. If you can only have one test, this would be my vote for the best return on investment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 08:18 AM
тАО04-13-2009 08:18 AM
Re: Post patch bundle install testing
I'd begin by agreeing with Bob: make sure you have a current Ignite or DRD image in the event all goes poorly.
Depending upon how you patch, for example whether or not you are applying an individual patch or two to correct a specific issue or whether or not you are performing a "routine" update will determine what you test and what your back-out plan may be.
In some cases, you can 'swremove' a patch. In other cases, an Ignite or DRD recover may be necessary (e.g. kernel patches that cause you problems).
If you apply the standard patch bundles (either from CD/DVD media, via a download, or (best) via SWA), then you have the highest probablity that everything will work. The standard HP-UX bundles offered every 6-months, comprise the most generally tested set for most environments.
Reading the patch notes (for whatever you intend to install) _before_ patching avoids surprises. This applies particularly to any patches with special instructions!
Rebooting your server _before_ applying a large set of patches may eliminate surprises or at least un-cover any issues _not_ related to the patch session.
Running 'swverify \*' or the 'check_patches' script _before_ a patch installation _and_ paying stict attention to the output is excellent insurance against surprises and/or problems.
If at all possible, deploy patches or patch bundles on a test server before doing the same in production.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 08:58 AM
тАО04-13-2009 08:58 AM
Re: Post patch bundle install testing
I definitely endorse the concept of having a test server that mirrors production and do Quality Assurance there before production.
That does not negate the need for a test plan prior to deployment in production.
All of these are important steps and Quality Assurance is good for all concerned, including system administrators.
Involving the users in Quality Assurance makes the process more transparent and produces higher quality results. It makes them stakeholders.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com