Eucalyptus-Upgrade-1.6.2

Upgrading to Eucalyptus 1.6.2 from 1.6.1

These instructions are for those who would like to upgrade to Eucalyptus 1.6.2 from a source-based or package-based 1.6.1 installation. If you're still running 1.5.2, please, follow the instructions for upgrading to 1.6.1 before following these instructions. Instructions below assume that $EUCALYPTUS points to the root of the new Eucalyptus installation and $OLD_EUCA points to the root of the old installation (which can be the same as the new one).

1. Stop and back up your current installation We highly recommend backing up your installation before performing an upgrade. The general approach to backup is outlined in the first part of the Backup section. Starting from Eucalyptus 1.6, a script called euca_upgrade can be used to perform partial backups by creating copies of the configuration file, database, and keys (it does not back up buckets and volumes because of their potentially large disk space requirements and because they are unlikely to be harmed during an upgrade).

If you are using our binary packages (RPMs or DEBs), euca_upgrade will be invoked automatically, creating backups in /root/eucalyptus.backup.$TIMESTAMP. If you are upgrading a source-based installation, you must still invoke euca_upgrade, as shown below, even if you've backed up your installation using some other method. Regardless of whether you choose to back up, be sure to stop all Eucalyptus processes on all machines before proceeding. 2. Install Eucalyptus 1.6 If upgrading using binary packages, follow the steps in the installation instruction for a specific distribution: CentOS 5.4 OpenSUSE 11 Debian "Squeeze" (see the warning) and, afterwards, return here.

If upgrading a source-based installation, follow the steps in the Source Code Installation section of the Administrator's Guide and, afterwards, return here. To upgrade the front-end, run: $EUCALYPTUS/usr/share/eucalyptus/euca_upgrade --new $EUCALYPTUS --old $OLD_EUCA --conf --keys --db

and to upgrade the nodes run

$EUCALYPTUS/usr/share/eucalyptus/euca_upgrade --new $EUCALYPTUS --old $OLD_EUCA --conf --keys

3. Restart Eucalyptus and verify the upgrade Start the services on the appropriate machines (after a DEB-based install they should already be running): $EUCALYPTUS/etc/init.d/eucalyptus-nc start $EUCALYPTUS/etc/init.d/eucalyptus-cc cleanstart $EUCALYPTUS/etc/init.d/eucalyptus-cloud start In a Web browser, load https://front-end:8443/ and log in as before. Verify that the user accounts and the images are there. Important: Verify that the Buckets Path and Volumes Path settings under the Configuration tab of the Web interface matches the actual locations of the buckets and volumes before running any instances or using buckets. Verify that the nodes are back up and that they can run your old instances (if not, see the Troubleshooting section.) euca-describe-availability-zones verbose 4. Optionally: Roll back to an earlier installation Follow the steps in the second part of the Backup section, called "Restoration". If you are relying on the backup created by euca_upgrade during a package-based upgrade, then after re-installing the old packages, copy back the saved state (the backed up copies of db/*, keys/*, etc/eucalyptus/eucalyptus.conf) to your restored installation. Then, start Eucalytpus, as before. « Installing Eucalyptus (1.6.1) on Ubuntu Jaunty (9.04)UPUpgrading to Eucalyptus 1.6.1 from 1.5.2 »

Printer-friendly version


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS