- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Red Hat Upgrade checklist suggestions.
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
тАО02-19-2004 03:00 AM
тАО02-19-2004 03:00 AM
I've worked out all the kinks and every bit of my configuration works right.
So I'm planning an upgrade: Here is my current plan. I'd like comment and suggestions.
The production server is 7.3 and there is no upgrade path. I have to overwrite. I am satisfied with the disk setup which is RAID 1 and won't be needing to change that. I have adequate space on /var and /usr
1) Take the machine off the public Internet and have one of my backup servers handle web traffic. This will be done by adding the ip address via the ifconfig command. This has been tested. Test that websites are functional on the backup server.
2) Back up the /home filesystem(all the websites) to three other machines and tape. In the intall I don't plan on formatting /home
3) Copied /etc/passwd /etc/group /etc/shadow I plan to edit these copies on another box and leave my add in users alone. I may need to reset the passwords, but the user and group status will be perserved.
4) Copy the /var/mail data off so its there waiting for the users when the machine comes back online.
5) Copy the entire /etc configuration to another machine via tar. This is to have a reference and be able to copy back in components as I need them when I bring production back online. This includes all /sendmail customization.
6) Copy /usr/contrib/bin scripts to another location. This has been practiced and if I keep my hot little fingers off I don't have to do this again.
7) Verify all items are present on all three backup servers visually, while checking off a printed checklist with these items on it.
8) Copy and test all virtual host information from the apache 1.3 isntallation and update it to work with 2.0.x syntax. I've already done thsi and tested it on an HP-9000 server.
9) Run the Red Hat ES 3.0 installation, not formatting the /home filesystem.
10)Copy in appropriate configuration files that were tested and I know work.
11) Turn on ipfowarding on the firewall so that my wife can get on the Internet
12) Copy in user /var/mail from backup.
13) Copy in and test custom configuration of sendmail.
14) Copy virtual hosts from the working HP-9000 apache 2 server into the new httpd.conf Make other changes required to make cgi-configuration and ssi work as it is supposed to.
15) Enable pop2 and pop3 in xinetd.conf
16) Bring down the IP addresses added to the failover server running the web sites.
17) Delete keys to the old production server from all known_hosts files.
18) Rebuild and exchange public keys from new production server to all other Linux/Unix hosts
19) Reinstall awstats programs in new production server.
20) Physically reconnect the production server to the public Internet. Restart the server and run a services checklist:
http
ftp
ssh
sendmail
popmail
smtp
formscript
elm
custom scripts test on the commandline
website stats testing
A. Clay Stephenson date scripts testing
firewall
Make changes as necessary to make the server work properly.
All suggestions will receive some points.
If you catch something major that I missed, you get a bunny.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 03:34 AM
тАО02-19-2004 03:34 AM
Re: Red Hat Upgrade checklist suggestions.
Run an up2date right after.
Disconnect from the net.
Run tripwire to build a known sane system database. Reconnect to the net.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 05:21 AM
тАО02-19-2004 05:21 AM
Re: Red Hat Upgrade checklist suggestions.
- Wouldn't it be easier to just copy the old ssh keys to the new server instead of regenerating new keys and distributing the new key? This is a VERY minor point, but it avoids that annoying "someone is doing something nasty" message, which tends to freak out end users and annoy sysadmins.
- Make sure that any non-standard perl modules get installed that may be necessary for cgi scripts (mod_perl too! this one bit me in the ass once during an upgrade).
ps: what a great idea, vetting your test plan with the community... I like it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 05:25 AM
тАО02-19-2004 05:25 AM
Re: Red Hat Upgrade checklist suggestions.
A key mismatch against known hosts occurs. I think its a good idea to generate new keys once in a while. An upgrade is a good time to do so.
tripwire is not distributed on the RH ES 3 disks.
I need to figure out how to correctly compile the open source version because the rpm version generated errors on my test servers.
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
тАО02-19-2004 05:31 AM
тАО02-19-2004 05:31 AM
Re: Red Hat Upgrade checklist suggestions.
You are probably right about generating new keys every once in a while just for security's sake, but I've never had a problem moving a host key from machine to machine in terms of key mismatches.
-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 09:18 AM
тАО02-19-2004 09:18 AM
Re: Red Hat Upgrade checklist suggestions.
You're probably not running any postgreSQL databases. But just in case, remember to run pgdumpall on the database(s) BEFORE upgrading since most upgrades entail a version change. I suggest this because I once forgot to do it before a distribution upgrade, and it caused me no end of grief
Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 10:32 AM
тАО02-19-2004 10:32 AM
Re: Red Hat Upgrade checklist suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 11:14 AM
тАО02-19-2004 11:14 AM
Re: Red Hat Upgrade checklist suggestions.
I would think about peeling off one of the mirrors prior to the upgrade. Then mount its partitions read only for reference.
This would allow you to perhaps save a few manual steps. It also gives you a very fast way to roll back if worse comes to worse and your secondary(ies) goes offline for some reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 11:48 AM
тАО02-19-2004 11:48 AM
Re: Red Hat Upgrade checklist suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2004 01:59 PM
тАО02-19-2004 01:59 PM
Re: Red Hat Upgrade checklist suggestions.
minor stuff:
- Check /usr/local for any non-distro software you might have installed. If != 0 get current
RPMs or source distributions
- Make sure your customers/users know about the upgrade
- Get some of the more cooperative customers/users to pound on the system as soon as it is back again to find any problems asap.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2004 02:38 AM
тАО02-20-2004 02:38 AM
Re: Red Hat Upgrade checklist suggestions.
Bunny alert.
My plans are partially disrupted due to a NIC failure on one the HP-9000 server thats serving as one of the three backups.
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
тАО02-20-2004 02:54 AM
тАО02-20-2004 02:54 AM
Re: Red Hat Upgrade checklist suggestions.
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
тАО02-21-2004 04:21 PM
тАО02-21-2004 04:21 PM
Re: Red Hat Upgrade checklist suggestions.
Non-critical
Starting httpd: [Sat Feb 21 23:15:45 2004] [error] VirtualHost _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
A bunny for a fix.
attaching httpd.conf
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
тАО02-21-2004 11:41 PM
тАО02-21-2004 11:41 PM
Re: Red Hat Upgrade checklist suggestions.
but the virutal hosts in an include file in /etc/httpd/conf.d and added it as an inlucde in httpd.conf
Is it possible to get ssl working on a server doing virtual names hosting.
Please look at my config file virtual hosts section and let me know.
I was planning on enabling it and doing some authentication for part of one of my sites.
Also wondering if the iframe directive has been obsoleted from apache 2.0
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
тАО02-22-2004 10:18 AM
тАО02-22-2004 10:18 AM
SolutionOn a RH8/9, there'll be an /etc/httpd/conf.d/ssl.conf, of which inclues stuff like:
...
SSLEngine on
SSLCipherSuite ...
SSLCertificateFile ...
SSLCertificateKeyFile ...
You can use the SSL configuration directives on ANY VirtualHost section.
Now, as for the 'iframe' directive, I thought that was a HTML thing, not a server directive. It isn't listed in the Apache configuration documentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2004 10:42 AM
тАО02-22-2004 10:42 AM
Re: Red Hat Upgrade checklist suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2004 11:25 AM
тАО02-22-2004 11:25 AM
Re: Red Hat Upgrade checklist suggestions.
A good ssl cookbook covering everything including customizing the certificates would be nice but there might be enough on apache.org to proceed.
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
тАО02-22-2004 11:28 AM
тАО02-22-2004 11:28 AM
Re: Red Hat Upgrade checklist suggestions.
Not sure I'd call it secure, but its a major improvement.
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
тАО02-23-2004 06:08 AM
тАО02-23-2004 06:08 AM
Re: Red Hat Upgrade checklist suggestions.
Quite a nice little featue.
The only portion of my original plan that was not in place Monday morning was the popmail server. pop2 was working pop3 was disable=yes
Not a bad transition if I say so myself.
Thanks a lot for all your wonderful help.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com