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:
Note: If you do not want to make a copy of the application because it has very large volumes, you can convert the singleton into a catalog class and instantiate an instance of that class in a new application.
Mark this terminal as a gateway interface in the appliance boundary.
For example, on a CentOS based appliance:
For example, the subnet is 10.47.255.255. The IP address for the DHCP server is identical, except for the last number which is one less. In this case, 10.47.255.254.
If the broadcast subnet does not list a usable address, execute the following 2 steps:
Execute dhclient -r ethX where X is the number of the last enumerated network interface. This removes the DHCP lease.
Execute dhclient ethX and note the IP address from which DHCPOFFER is made
wget http://10.47.255.254:8080/download - cat index.html;
Note the latest version of the APK package. For example, apk-2.0.20-linux-rh.tar.gz; 2.0.20 is the latest version as of CA AppLogic® 2.7
cd /tmp wget http://10.47.255.254:8080/download/apk-2.0.20-linux-rh.tar.gz -
Verify the IP and APK package
cd /
Note: Do not delete the /appliance directory.
cd / mv /appliance /appliance_save tmp/apk-install rm -f /tmp/apk-install /tmp/apk-2.0.18-linux-rh.tar.gz mv /appliance_save /appliance mkdir /var/log/appliance
/appliance/appliance.sh $@
APK_CONFIG_FILES="/etc/httpd/conf.d/appl.conf /etc/httpd/conf.d/bnna.conf"
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.
|
Copyright © 2012 CA.
All rights reserved.
|
|