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

Complete the following steps to upgrade an existing Linux appliance from volfix to DHCP configuration mode for either a catalog class or singleton.

Perform these steps:

  1. Make an application that contains a singleton copy of the appliance you want to upgrade:
  2. In the new application, if your appliance does not have its external interface enabled and configured, connect the singleton to a NET appliance to obtain external network access:
  3. If the singleton has a read-only boot volume or any boot volume folders, such as /usr, residing on common, read-only volumes, convert these volumes to read/write. This conversion is required because the installation of various packages on the appliance could require updates to these volumes:
  4. Configure all mandatory properties and volumes of the singleton and start the application with the --debug option.
  5. Install the dhclient package on the singleton (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.

    Note: Do not delete the /appliance directory.

  8. If the singleton, such as a VDS application singleton, allows for password based ssh authentication, edit /etc/ssh/sshd_config and modify the following:
  9. To enable 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.
  12. In the infrastructure editor, modify the singleton boundary:
  13. Start the application in debug mode using the --debug option. The application starts.
  14. 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.

    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, refer to Upgrading applications to use your new DHCP-based appliances on how to upgrade your application to use the upgraded appliance.