AppLogic 2.7/2.8 Documentation The latest production release is AppLogic 3.0.30
IIS03W/IIS03S/IIS03E/IIS03DC: Internet Information Server appliances - Implementation Design
Class Volumes
The boot volume of IIS03y is based on the corresponding edition of the WIN03y appliance (Windows Server 2003 R2 x86 for IIS03W and Windows Server 2003 R2 x64 for the rest). Below is a list of the software components installed on IIS (on top of WIN), most of them are from the Windows Install CD.
Installed components.
- Microsoft Application Server (Application Server Console, ASP.NET, Internet Information Services (IIS) - Internet Information Services Manager, World Wide Web service and Active Server Pages)
- Microsoft .NET Framework 3.5 SP1
- MySQL ODBC driver v5.1.5
- PostreSQL ODBC driver 8.3.0400
- Cygwin perl-libwin32 0.27-1
Re-install Procedure
Here are the steps needed to create a IIS class from WIN (tested on Applogic 2.7.1)
- Create an application with only
WIN03y in it
- Branch
WIN03y
- Edit the class
- add a placeholder volume (name: content; mount on D:\)
- Update terminals:
| in | In | http |
| db | Out | any |
| fs | Out | cifs |
| log | Out | cifs |
| aux | Out | any |
| net | Out | any |
| mon | Out | cce |
- mark net terminal as gateway
- change the class icon color to blue
- change the class name to
IIS03y
- change the class description
- change class category to 'Web Servers'
- Add the following properties:
- content_on_fs : type = string , values = on|off , dflt = off
- docs_dir : type = string , filter = "^/[a-zA-Z0-9\\s/-_]*" , dflt = /
- logs_enabled : type = string , values = on|off , dflt = off
- logs_base_dir : type = string , filter = "^/[a-zA-Z0-9\\s/-_]*" , dflt = /
- index_files : type = string , filter = "[a-zA-Z\\.\\s]*" , dflt = "default.htm default.asp default.aspx index.html"
- max_connections : type = integer , min = 0 , max = 999999 , dflt = 0
- idle_timeout_sec : type = integer , min = 1 , max = 3600 , dflt = 15
- data_timeout_sec : type = integer , min = 1 , max = 3600 , dflt = 300
-
- Set resources
- Create a volume and use it as a
IIS placeholder
- Save the application
- Start the application in debug mode
- Login the
IIS using Applogic SSH-login and reset the Administrator password ("net user Administrator newpass")
- Login the
IIS using GUI and follow the drivers installation wizard
- Stop the application
- Add a temporary placeholder volume (name: cdrom; mount on E:\) and attach Windows Installation CD-image to it (see "vol import" help)
- Start the application
- Login the
IIS using GUI and proceed with optional components installation:
Control panel->Add or Remove Programs->Add or remove Windows components.
Check Application Server component and all components listed above in the "Installed components" section.
Uncheck all Application Server's components, which are not listed in there.
Download and install perl-libwin32-0.27-1.tar.bz2
Download and install dotnetfx35.exe
On x64, additionally, download and install WindowsServer2003.WindowsXP-KB942589-x64-ENU.exe
Download and install mysql-connector-odbc-5.1.5-win32.msi
Download and install psqlodbc_08_03_0400.zip
- Copy the following files in
IIS
- Setup permissions of scripts
cd /appliance ; chown root *.sh ; chmod +x appliance.sh iis_init.sh
cd /usr/bin ; chown root iis.pl iismon.pl ; chmod +x iis.pl iismon.pl
- Enable IIS Metabase direct modification a. At the command prompt, type
runas /user:Administrator "mmc %systemroot%\system32\inetsrv\iis.msc". Be ready to enter Administator's password. a. In IIS Manager, right-click the local computer, and then click Properties a. Select the Enable Direct Metabase Edit check box, and then click OK
- Cleanup the boot volume of
IIS
using Explorer: remove C:\WINDOWS\$* and temporary folders (system and in the Administrator's home)
start Internet Explorer and purge IE cache
find var/log -type f -exec rm {} \;
rm -f tmp/*
echo -n "" > etc/applogic_network.conf
echo -n "" > etc/hosts
echo -n "" > etc/applogic/appliance.desc
echo -n "" > etc/applogic.sh
- Stop the application
- Save the application
- Vol resize
on x86:
vol resize IIS03y.boot size=3500M
on x64:
vol resize IIS03y.boot size=4G
- Move the class to the /proto catalog or any other catalog of your choosing.
-- OlegSmolov - 03 Sep 2009
Copyright © CA 2005-2011. All Rights Reserved.