Previous Topic: How to upgrade your applications to use the new appliance kit (APK)Next Topic: Upgrading applications to use your new DHCP-based appliances


Upgrading an appliance to use the DHCP configuration mode

Follow the instructions below to upgrade an existing Linux appliance from volfix to DHCP configuration mode (either a catalog class or singleton).

Upgrade appliances to use the DHCP configuration mode

  1. Make an application containing a singleton copy of the appliance to be upgraded:
  2. In the new application, connect the singleton to a NET appliance to obtain external network access (this is only needed if your appliance does not have its external interface enabled and configured):
  3. If the singleton has a read-only boot volume or any of its boot volume folders (That is, /usr) residing on common, read-only volumes, these volumes must be converted to read/write. This is needed since the installation of various packages on the appliance may require updates to these volumes:
  4. Configure all mandatory properties and volumes of the singleton and start the application in debug mode (using the --debug option).
  5. Install the dhclient package on the singleton (this is a dependency of APK). For example, on a CentOS based appliance:
  6. Copy the appropriate APK to /tmp in the running singleton:
  7. Follow the appropriate APK installation instructions. It should not be necessary to replace the domU kernel. Do not delete the /appliance directory.
  8. If the singleton ordinarily allows for password based ssh authentication (for example, as in a VDS application singleton), edit /etc/ssh/sshd_config and modify the following:
  9. To make the original /appliance/appliance.sh script execute on appliance start:
  10. In the infrastructure editor, view the singleton boundary and note any files listed in the Config Files tab, For example /etc/httpd/conf.d/appl.conf
  11. Stop the application. In the infrastructure editor modify the singleton boundary:
  12. Start the application in debug mode (using the --debug option). It should start without error. If starting the app fails, examine the grid controller system log for details (log list). Test the appliance to verify it works.
  13. If the upgraded appliance had common, read-only volumes that were converted to read/write in step 3, please verify the volumes are converted back to read-only.
  14. Your appliance is now upgraded to use the APK and the DHCP configuration mode. If your upgraded appliance is a singleton, the upgrade process is complete. If your appliance is a catalog class, please see Upgrading applications to use your new DHCP-based appliances on how to upgrade your CA 3Tera AppLogic applications to use the upgraded appliance.