

Using CA AppLogicĀ® › Appliance Developer Guide › Appliance Kit › How to Upgrade Your Applications to Use the New Appliance Kit (APK) › Upgrading Appliances to Use New Windows APK from 3.1 to 3.5
Upgrading Appliances to Use New Windows APK from 3.1 to 3.5
You must manually upgrade the appliance from Windows 3.1 to 3.5.
To perform the upgrade, you must:
- Download the Windows 3.5 APK
- Extract Cygwin from the Windows 3.5 APK
- Upgrade Cygwin separately. The msi file contains the Cygwin installation package.
- Upgrade the Windows APK
Perform these steps:
- Download the new Windows_APK-3.5.x msi:
Download the msi from the grid controller through the appliance default interface. DHCP already configured this interface.
- Open a command line shell and execute the ipconfig/all command. Note the IP address of the DHCP server for Local Area Connection 2. You need this step to find the internal IP address of the controller.
- Open a web browser and go to http://IP-address:8080/download/new and download the current Windows_APK msi, for example, Windows_APK-3.5.x.msi. Right-click and select Save Target As to download the file to the desktop or other location.
- Extract Cygwin from the Windows_APK-3.5.x msi to a temporary folder.
- Open a command line prompt and execute the command:
msiexec /a c:\Windows_APK-3.5.x.msi /qb TARGETDIR=c:\myNewAPKFolder
- Upgrade Cygwin.
Note: During upgrade, you may get an error that installation cannot proceed. End any bash.exe / cygrunsrv / sshd processes using the Windows Task Manager.
- Run the Cygwin upgrade from the temporary folder.
- Open a command line window and execute the following commands:
cd c:\myNewAPKFolder\cygwin-package
setup.exe -q --local-install --root c:\cygwin -l c:\myNewAPKFolder\cygwin-package -C All
- After the upgrade successfully completes, delete the temporary folder you created to save the extracted installation package.
- Set PATH variable.
From System Properties, Advanced System Settings, Environmental Variables to add:
‘C:\cygwin\bin’
- Restart the appliance.
In the command line window, execute the following command:
shutdown -s -t 0
- Upgrade Windows APK
- From a Cygwin bash shell, execute the following commands to delete the AppLogic directory and its contents under the /lib directory
cd /lib
rm -rf applogic
- Back up any modified appliance scripts in the c:\appliance folder. The installation process deletes these scripts.
- Double-click the msi, select Custom Install, and disable the Windows APK Prep Script feature to install the new Windows_APK msi.
- After the installation successfully completes, restart the appliance for the new APK.
- Restore the modified appliance scripts you backed up to the c:\appliance folder.
Copyright © 2012 CA.
All rights reserved.
 
|
|