HP World 2005 Real Life HP- UX Patching Strategies Steven E Protter Senior Systems Administrator I.S.N. Corporation.

Slides:



Advertisements
Similar presentations
Microsoft ® Office 2007 Training Security II: Turn off the Message Bar and run code safely P J Human Resources Pte Ltd presents:
Advertisements

1 Creating a Data Backup Oakland University University Relations Updated - June 2006.
Upgrading Software CIT 1100 Chapter4.
Princeton PC Users Group Hard Drive Disaster! By Paul Kurivchack March 14, 2005.
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Spring Definitions  Virus  A virus is a piece of computer code that attaches itself to a program or file so it can spread.
Preservasi Informasi Digital.  It will never happen here!  Common Causes of Loss of Data  Accidental Erasure (delete, power, backup)  Viruses and.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Introduction to Oracle Backup and Recovery
Simplify your Job – Automatic Storage Management Angelo Session id:
169 Patch Management with SD-UX Version A.01 H3064S Module 20 Slides.
Basic Computer Maintenance Basic Computer Maintenance Clean and Cool Deleting Temporary Files Scandisk Backup Your Data How to.
16.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 16: Examining Software Update.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
November 2009 Network Disaster Recovery October 2014.
Chapter 7 Installing and Using Windows XP Professional.
11 The Ultimate Upgrade Nicholas Garcia Bell Helicopter Textron.
Welcome. Who am I? Philip L. Sullivan MCT, MCSE, MCSA Microsoft Certified Trainer for 6 Years Work as a Lead Windows NT\2000\2003 Instructor for Clark.
HWINTRO1 OPERATING INSTALLING AN OPERATING SYSTEM.
Linux Operations and Administration
Chromium OS is an open-source project that aims to build an operating system that provides a fast, simple, and more secure computing experience for people.
Command School On Task In Touch Online Software for Schools Developed by Schools.
Benjamin Lavalley, Sr. Product Marketing Manager Kaseya 2 Upgrade Review.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 15 Installing and Using Windows XP Professional.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
Get the best performance out of your PC By Matthew Pinch.
DIY: Your First VMware Server. Introduction to ESXi, VMWare's free virtualization Operating System.
IT Essentials 1 v4.0 Chapters 4 & 5 JEOPARDY RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
Home Media Network Hard Drive Training for Update to 2.0 By Erik Collett Revised for Firmware Update.
Microsoft ® Office 2007 Training Security II: Turn off the Message Bar and run code safely presents:
Chapter Fourteen Windows XP Professional Fault Tolerance.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Chapter 18: Windows Server 2008 R2 and Active Directory Backup and Maintenance BAI617.
Chapter 16 Designing Effective Output. E – 2 Before H000 Produce Hardware Investment Report HI000 Produce Hardware Investment Lines H100 Read Hardware.
Review Security Hardening IPTables SELinux. Today Installations and updates – Rpm command and packages Apache “Issue Ownership”
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
Cloud Computing Characteristics A service provided by large internet-based specialised data centres that offers storage, processing and computer resources.
Step By Step Windows Server 2003 Installation Guide Step By Step Windows Server 2003 Installation Guide.
HP World 2005 Securing your Unix environment with HP Secure Shell Steven E Protter Senior Systems Administrator I.S.N. Corporation.
By: Anuj Sharma. Topics covered:  GIT Introduction  GIT Benefits over different tools  GIT workflow  GIT server creation  How to use GIT for first.
Setting up Cygwin Computer Organization I 1 May 2010 ©2010 McQuain Cygwin: getting the setup tool Free, almost complete UNIX environment emulation.
What is a port The Ports Collection is essentially a set of Makefiles, patches, and description files placed in /usr/ports. The port includes instructions.
MIS 7003 MBA Core Course in MIS Professor Akhilesh Bajaj The University of Tulsa Introduction to S/W Engineering © All slides in this presentation Akhilesh.
IT1001 – Personal Computer Hardware & system Operations Week7- Introduction to backup & restore tools Introduction to user account with access rights.
TrainingRegister® Training Management Software Maintain Permanent Training Records for Each Individual Monitor and Track Required Training Know Who Needs.
Matthew Glenn AP2 Techno for Tanzania This presentation will cover the different utilities on a computer.
System Administrator Responsible for? Install OS Network Configuration Security Configuration Patching Backup Performance Management Storage Management.
1 Day 2 Logging in, Passwords, Man, talk, write. 2 Logging in Unix is a multi user system –Many people can be using it at the same time. –Connections.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
SQL SERVER 2008 Installation Guide A Step by Step Guide Prepared by Hassan Tariq.
Software in the Data Protector Architecture
156 Managing Software with SD-UX Version A.01 H3064S Module 19 Slides.
Software - Utilities Objectives Understand what is meant by utility software and application software Look at common utilities – Security – Disk organisation.
John Samuels October, Why Now?  Vista Problems  New Features  >4GB Memory Support  Experience.
Your current Moodle 1.9 Minimum Requirements Ability to do a TEST RUN! Upgrading Moodle to Version 2 By Ramzan Jabbar Doncaster College for the Deaf By.
How to fix Error code 0x80072ee2 in Windows 8.1? Fix%20%20Update%20Error%200x80072EE2%20in%20Windows%20 8.1,%20Windows%2010!%20-%20Fix%20PC%20Errors.htm.
Installing a Moodle Test Site The painless and easy way.
You Inherited a Database Now What? What you should immediately check and start monitoring for. Tim Radney, Senior DBA for a top 40 US Bank President of.
Founded by Big Five Consulting ex-employees Oracle Gold Partner Focus on PeopleSoft 15 years of PeopleSoft experience Worked in both technical and functional.
Installing Windows 7 Lesson 2.
Version Control with Subversion
5.0 : Windows Operating System
Lecture 13 RPM and its advantages.
Basic Computer Maintenance
Introduction of Week 3 Assignment Discussion
Upgrading to SQL Server 2016
Networking for Home and Small Businesses – Chapter 2
Networking for Home and Small Businesses – Chapter 2
Presentation transcript:

HP World 2005 Real Life HP- UX Patching Strategies Steven E Protter Senior Systems Administrator I.S.N. Corporation

HP-UX Patching: Outline Presenter information –Qualifications and experience. –Warning !! –How I got here.

HP-UX Patching: Outline Patching Philosophy –If it isn’t broke, don’t fix it (A real life mess) –Generally Accepted principles –Three Star approach –Explanation of the star system –Security concerns –No strategy fits all

HP-UX Patching: Outline What is a patch? –Why a systems administrator should care –The depot file –What might be in a patch

HP-UX Patching: Outline Where to get a patch –Support Plus CD –ITRC patch database –Custom designed by HP

HP-UX Patching: Outline Tools to help with patching –security_patch_check –Custom Patch Manager (CPM) –ITRC forums –Building a bundle in the ITRC patch database.

HP-UX Patching: Outline Building a custom patch library –Including patches to cut # of boots –Including non-patch depot software –Removing superseded releases & patches. –A real life run through

Nuts & bolts

Qualifications and Experience 14 ½ Years at the Jewish United Fund Software AG and Oracle DBA A decade of systems administration experience Survived an actual loss of data disaster. Five years as a Linux systems administrator

HP-UX Patching: Warning Today is August 14, 2005 My body has no idea what time zone it is in.

HP-UX Patching: How I got here Left Tel Aviv August 2. Drove from NY to San Francisco via the Grand Canyon. Traveled over 7,000 miles to be here.

HP-UX Patching: How I got here

HP-UX Patching: Philosophy If it isn’t broke, don’t fix it –HP-UX rollout. –Recommended patches were not installed –Omniback II was unable to run Enterprise backups. –System had to be booted three times in prime time during the first day of production.

HP-UX Patching: Philosophy If it isn’t broke, don’t fix it –This strategy can not work. –HP-UX is too complex to not have patches. –Its not classroom theory, its real life experience.

HP-UX Patching: Philosophy If “it isn’t broke don’t fix it was a valid strategy, we’d still have to get to work like this:

HP-UX Patching: Generalities Immediately after a cold OS installation you install the following: –Diagnostics –Gold Base Depot (Core Os defects) –A Gold Applications bundle –Hardware enablement bundle. –Gold Quality Pack depot

HP-UX Patching: Extras Immediately after the general installation: –Install security patches –Install patches required for the applications –Install patches to deal with real situations –Tune the kernel

HP-UX Patching: 3 Star approach Only three star patches –Three star patches are widely tested and the least likely to have problems. –Caveat Patcher: Three star patches have been recalled. –Quarterly bundles are three star patches. –Some critical security patches are not three star patches. If you wait too long, you may incur the security problem.

HP-UX Patching: Star System From Charles Keenan: HP-UX CSE –1 Star: Functional testing by HP to verify that a patch fixes the problem it is supposed to fix. No unwanted side effects discovered. –2 Star: Patch has been installed in a certain number of customer environments with no problems reported. –3 Star: Patch has been stress- and performance- tested by HP in a simulated customer mission- critical environments using common application stacks. Not all patches undergo this testing. –WARNING: patch contains warnings. You may still need to use it.

HP-UX Patching: Security!? Your support contract may require you to install security patches. Your continued employment may require you to install security patches. Government regulation may require you to install security patches. There are good tools to find out what security patches you need.

HP-UX Patching: No size fits all You need a strategy that keeps your systems running smoothly. You need a strategy that meets your organizations needs.

Real Life Strategy

HP-UX Patching: JUF Jewish United Fund has security concerns. When Homeland security goes orange, we got regular security patrols. $200 million in annual revenue depended on the HP-9000 servers.

HP-UX Patching: JUF A third server was purchased for more thorough testing. Quarterly bundles, applications, security patches and other priority patches were bundled an installed in the sandbox.

HP-UX Patching: JUF 2-4 weeks in the sandbox. This box could be booted during business hours. 2-4 weeks in the development (12 user) server. Bi-weekly maintenance. 2-4 weeks of monitoring after release into production (200 users).

HP-UX Patching: JUF Every Friday whether there was work scheduled or not a make_tape_recovery backup was made. Copies of these backups went off site. We regular ran recovery tests on the sandbox

“Ignite is Your Friend.” Steven E Protter Senior Systems Administrator, I.S.N. Corporation

“Ignite is Free.” Hewlett-Packard Corporation

HP-UX Patching What is a patch? –A fix for an OS defect –Enable new hardware and software –Deliver new or enhanced functionality –Provide useful utilities Charles Keenan: HP-UX CSE

HP-UX Patching Patch naming convention –PHCO: A patch for commands and libraries –PHKL: A kernel patch (boot time!) –PHNE: Networking patch –PHSS: Other HP-UX subsystems. Charles Keenan: HP-UX CSE

HP-UX Patching Cool tricks and commands I –swlist –l product –a is_patch –Lists the patches –swlist –l product *,c=patch | more –swlist –l file PHCO_24630 Charles Keenan: HP-UX CSE

HP-UX Patching Cool tricks and commands II –swlist –l fileset –a patch_state –x show_superseded_patches=true *,c=patch | more Charles Keenan: HP-UX CSE

HP-UX Patching Cool tricks and commands III –swlist –l patch –x show_superseded_patches=true OS- Core.CMDS-AUX Charles Keenan: HP-UX CSE

HP-UX Patching Cool tricks and commands V –swlist -l patch –swlist -l patch | grep -v ^\#

HP-UX Patching Never do this: –The –q –qq option –These options tell the SD/UX program to ignore warnings and errors. This is such a bad thing someone else had to tell me what these options were. Never use them.

HP-UX Patching Cool tricks and commands IV –cleanup –c 1 # commits patches getting back /var space –cleanup -p -d # preview –cleanup –p –d /tmp/protter.depot # full path required Steven E Protter via hp education or forums.itrc.hp.com & Bill Hassell

HP-UX Patching: Outline Why a systems administrator should care: –Your system might stop working –You might want to take a vacation or day off –Because a lot of experienced Administrators say you should

HP-UX Patching: Where to get ITRC Patch database Quarterly patch bundles Custom patches ITRC Custom patch manager

HP-UX Patching: Building a patchset Click patch/firmware database Click HP-UX Choose your patches Select dependencies Download Ignite Backup and installation

HP-UX Patching: Building a patchset

HP-UX Patching: Download options

HP-UX Patching: Download notes: Individual patches are ascii, you must remember this when you ftp them from a pc. Use sftp to get them from your pc to your HP- UX box to avoid ascii/binary heck…. zip,gzip or tar packages are binary. A quick story about ascii/binary

HP-UX Patching: Real Life!! While recovering from a complete loss of data the development staff uploaded an ftp of their programs from one of the developers C drives. No oracle applications would compile. I was tired, but asked, are you sure you did the upload binary? Answer: Of course, I’ve been doing this for years.

HP-UX Patching: Real Life!! 20 man hours were invested. An HP Support call was opened because nobody trusted the disk integrity. Oracle tar was opened and escalated three times. They had us write a new simple program with the motif gui. A light bulb went off over my head. Try the ftp again. I like good movies, can I watch? Problem solved.

HP-UX Patching: Building a patchset Why I like the ftp download option –Sometimes those zip downloads just stop –I can leave ftp to run and not worry about keeping a browser going –Gives me time for a snack or a nap –Gives me time for planning or backup –The bundle comes with a script to build a custom patch depot

HP-UX Patching: Patch Download Options Run a browser on an HP-UX Box –Advantage: No binary/ascii problem. –Disadvantage: Management might not let you. Snarf –Third party program can be run on one designated HP-UX box to gather patches for others. –Still, management might not let you do this.

HP-UX Patching: Patch Download Options Have a patch box –A PC dedicated to the task or an old HP- UX box in the DMZ which would allow for ftp access. Disable or swremove unneeded services. –Make sure every transfer step on files ending in the extension.depot is ascii or the installation will fail.

Tools to help with patching

HP-UX Patching: Building a patchset security_patch_check –Originally released as a patch –Comes with Bastille –Mostly gives you patches you can find in the patch database –Makes me feel warm and fuzzy

HP-UX Patching: Building a patchset CPM: Custom Patch Manager –A feature of itrc.hp.com –Comes with a usual script for patch and application inventory –Uploads system data for analysis

HP-UX Patching: Building a patchset Quarterly Patch bundles –Advantage: Well tested widely used. Not bleeding edge –Advantage: Easy to sell to management –Disadvantage: Security, DP 5.x patches may not be included. –Some Oracle applications need two star patches.

Real Life Run Through

HP-UX Patching: Real Life Objectives –Deploy the maximum number of patches and software with the minimum number of system boots. Minimize downtime. –Remove patches from the patch set which are superseded. –Minimize disk space used for patches –Insure we have a back out plan.

HP-UX Patching: Real Life Work Plan –make_tape_recovery (Ignite is my best friend) –security_patch_check –ITRC Patch database –Check –Prepare a large custom depot

HP-UX Patching: Real Life Important points –Read the patch notes –Try to avoid using recalled patches –Have a backup plan –Test patches in a server that can tolerate down time.

HP-UX Patching: Real Life Good Stuff –My depot is too big and contains patches that are superseded a few times, what to do? –cleanup –p –d # preview –cleanup –p

HP-UX Patching: Real Life Example, my /home/spring.2005.depot –cd /home/spring.2005.depot –du –sk shows kb (2.4 GB) –There are three versions of secure shell –cleanup –p –cleanup –p –d $PWD

HP-UX Patching: Real Life Example, my /home/spring.2005.depot –cleanup –d $PWD –Did not clean up software depots, they need to be handled differently. –du –sk now reports: GB –Its not a lot of space but everything helps.

HP-UX Patching: Real Life Cleaning up the installed software –This is a manual process. –cd /home/spring.2005.depot –swremove -d -x enforce_dependencies=true $PWD

HP-UX Patching: Real Life Cleaning up the installed software –swremove the unwanted software –swremove -d -x enforce_dependencies=true $PWD –swcopy the latest revision into the depot

HP-UX Patching: Real Life Cleaning up and revising the installed software –swcopy the latest revision into the depot –cd /home/secsh (location is where you actually downloaded the depot) –swcopy -s ${PWD}/T1471AA_A _HP- UX_B.11.11_32+64.depot /home/spring.2005.depot

HP-UX Patching: Final stuff How to set up a patch depot on an NFS share –Add the patch location to the /etc/exports configuration file –exportfs –av # verbose re-export of shares –cd /depot_location –swreg –l depot /depot_location/patch.depot –From remote machine: –swinstall –x autoreboot=true –s hostname:/patch.depot \*

HP-UX Patching: Real Life Done for today!!!!

HP-UX Patching: Real Life Questions and hopefully answers

“Never be afraid to ask a question” Steven E Protter Senior Systems Administrator I.S.N. Corporation

Thank you for coming