

Using CA AppLogicĀ® › Appliance Developer Guide › Appliance Kit › Appliance Cookbook › Windows Installation Reference › Windows MSI Upgrade Reference
Windows MSI Upgrade Reference
You can update the Windows APK and any appliance specific scripts contained in the MSI. For example, if you built a Windows appliance and want to install a newer version of the MSI that created that appliance.
To begin, locate the type of appliance, then perform the steps.
WIN03* / WIN08* - Generic Windows Server Appliances
Perform the following steps to upgrade a generic Windows server appliance, using /system_ms:WIN08S as an example.
- Create a new application and open it in the editor.
- Drag an instance of the WIN08S appliance from the system_ms catalog onto the canvas and branch the class instance.
- Modify the boundary of the singleton as follows:
- Save and start the application.
- From a 3t shell, ssh into the running singleton and perform the following steps:
- Set a new Administrator password, such as net user administrator newpwd.
- ipconfig /all | grep 'DHCP Server' and note the IP address of the DHCP server for the internal interface.
- cd / and then use wget to obtain the current Windows Server MSI from the grid controller using the IP address noted above. For example, wget http://ip-address:8080/download/Server_Windows-1.1.7-1.msi
- chmod 755 *.msi
- Open the graphical console for the singleton and log in as Administrator.
- Execute the MSI installer by double clicking the file Server_Windows-1.1.7-1.msi in Windows Explorer.
- In the ssh session open on the singleton:
- rm -f *.msi
- Set a new complex Administrator password, such as net user administrator a3893hf092jfww.^JDFoi8hfwehohgw
- Exit and then ssh back into the running singleton
- rm -f ~/.bash_history
- Exit
- Stop the application.
- In the infrastructure editor drag the singleton into the user catalog.
- Execute the following commands in a 3t shell:
class destroy /system_ms:WIN08S --force (or move the existing class if you want to preserve it).
class move /user:WIN08S /system_ms:WIN08S
- Destroy the application.
VDS_Win* - Windows VDS Singleton Appliances
The following steps describe the process for upgrading the singleton in a Windows VDS application, using the application VDS_Win08S_r2 as an example:
- Create a new application and open it in the editor.
- Drag an instance of the WIN08S appliance from the system_ms catalog onto the canvas and branch the class instance.
- Save and start the application.
- From a 3t shell, ssh into the running singleton and do the following:
- Set a new Administrator password, such as net user administrator newpwd.
- ipconfig /all | grep 'DHCP Server' and note the IP address of the DHCP server for the internal interface.
- cd / and then use wget to obtain the current Windows VDS MSI from the grid controller using the IP address noted above. For example, wget http://ip-address:8080/download/VDS_Windows-1.2.4-1.msi
- chmod 755 *.msi
- Open the graphical console for the singleton and log in as Administrator.
- Execute the MSI installer by double-clicking the file VDS_Windows-1.2.4-1.msi in Windows Explorer.
- In the ssh session open on the singleton:
- rm -f *.msi
- Set a new complex Administrator password, such as net user administrator a3893hf092jfww.^JDFoi8hfwehohgw
- Exit and then ssh back into the running singleton
- rm -f ~/.bash_history
- Exit
- Stop the application.
- Execute the following commands in a 3t shell:
vol destroy VDS_Win08S_r2:VDS_WIN08S.boot --force
vol copy app-name:WIN08S.boot VDS_Win08S_r2:VDS_WIN08S.boot where app-name is the name of the application you have created.
- Destroy the application app-name.
IIS03* / IIS08* - Windows IIS Web Server Appliance
The following steps describe the process for upgrading a Windows IIS appliance, using /system_ms:IIS08S as an example.
- Create a new application and open it in the editor.
- Drag an instance of the IIS08S appliance from the system_ms catalog onto the canvas and branch the class instance.
- Modify the boundary of the singleton as follows:
- Create a 100 MB ntfs08 volume (or ntfs03 volume for Windows Server 2003 based IIS appliances) and configure the singleton to use this volume as its content volume.
- Save and start the application.
- From a 3t shell, ssh into the running singleton and do the following:
- Set a new Administrator password, such as net user administrator newpwd.
- ipconfig /all | grep 'DHCP Server' and note the IP address of the DHCP server for the internal interface.
- cd / and then use wget to obtain the current Windows IIS MSI from the grid controller using the IP address noted above. For example, wget http://ip-address:8080/download/IIS_Windows-1.1.1-1.msi
- chmod 755 *.msi
- Open the graphical console for the singleton and log in as Administrator.
- Execute the MSI installer by double-clicking the file IIS_Windows-1.1.1-1.msi in Windows Explorer.
- In the ssh session, open on the singleton:
- rm -f *.msi
- Set a new complex Administrator password, such as net user administrator a3893hf092jfww.^JDFoi8hfwehohgw
- Exit and then ssh back into the running singleton
- rm -f ~/.bash_history
- Exit
- Stop the application.
- In the infrastructure editor, drag the singleton into the user catalog.
- Execute the following commands in a 3t shell:
class destroy /system_ms:IIS08S --force (or move the existing class if you want to preserve it).
class move /user:IIS08S /system_ms:IIS08S
- Destroy the application.
SQL08* - Windows SQL Server Appliance
The following steps describe the process for upgrading a Windows SQL appliance, using /system_ms:SQL08S_08 as an example.
- Create a new application and open it in the infrastructure editor.
- Drag an instance of the SQL08S_08 appliance from the system_ms catalog onto the canvas and branch the class instance.
- Modify the boundary of the singleton as follows:
- Create a 3 GB raw volume and configure the singleton to use this volume as its data volume.
- Save and start the application.
- From a 3t shell, ssh into the running singleton and do the following:
- Set a new Administrator password, such as net user administrator newpwd.
- ipconfig /all | grep 'DHCP Server' and note the IP address of the DHCP server for the internal interface.
- cd / and then use wget to obtain the current Windows SQL MSI from the grid controller using the IP address noted above, for example wget http://ip-address:8080/download/SQL_Windows-1.1.1-1.msi
- chmod 755 *.msi
- Open the graphical console for the singleton and log in as Administrator.
- Execute the MSI installer by double-clicking the file SQL_Windows-1.1.1-1.msi in Windows Explorer.
- In the ssh session, open on the singleton:
- rm -f *.msi
- Set a new complex Administrator password, such as net user administrator a3893hf092jfww.^JDFoi8hfwehohgw
- Exit and then ssh back into the running singleton
- rm -f ~/.bash_history
- Exit
- Stop the application.
- In the infrastructure editor, drag the singleton into the user catalog.
- Execute the following commands in a 3t shell:
class destroy /system_ms:SQL08S_08 --force (or move the existing class if you want to preserve it).
class move /user:SQL08S_08 /system_ms:SQL08S_08
- Destroy the application
Copyright © 2012 CA.
All rights reserved.
 
|
|