Eucalyptus-Upgrade-1.6.1

Upgrading to Eucalyptus 1.6.1 from 1.5.2

These instructions are for those who would like to upgrade to Eucalyptus 1.6.1 from a source-based or package-based 1.5.2 installation. If you're still running 1.4, please, follow the instructions for upgrading to 1.5.2 before following these instructions. Instructions below assume that $EUCALYPTUS points to the root of the new Eucalyptus installation and $EUCA_OLD 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 $EUCALYPTUS/var/lib/eucalyptus/db/1.5, $EUCALYPTUS/var/lib/eucalyptus/keys/1.5, and $EUCALYPTUS/etc/eucalyptus/eucalyptus.conf-1.5. 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) Ubuntu "Jaunty" 9.04 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 and to upgrade the nodes run

$EUCALYPTUS/usr/share/eucalyptus/euca_upgrade --new $EUCALYPTUS --old $OLD_EUCA --conf 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 start $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 as follows: cp -a $EUCALYPTUS/etc/eucalyptus.conf-1.5 $OLD_EUCA/etc/eucalyptus.conf cp -a $ECUALYPTUS/var/lib/eucalyptus/db/1.5/* $OLD_EUCA/var/lib/eucalyptus/db cp -a $EUCALYPTUS/var/lib/eucalyptus/keys/1.5/* $OLD_EUCA/var/lib/eucalyptus/keys Start Eucalyptus, as before « Upgrading to Eucalyptus 1.6.2 from 1.6.1UPConfiguration »

Printer-friendly version Login or register to pos


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