r7 - 19 Aug 2010 - 14:37:19 - StephenQYou are here: Wiki >  AppLogic27 Web > CatGenericWindowsCid
ALERT! AppLogic 2.7/2.8 Documentation The latest production release is AppLogic 3.0.30

WIN03 - Windows Server - Implementation Design

Base Class

The WIN03x is based on Windows Server 2003 (various editions). It has no base class.

Class Volume

The Windows Server has a single volume:

  • boot volume: mounted as drive "c", read-write. Note: the size of this volume depends on the version of Windows installed, typically 3-5GB for the 32-bit Windows Server 2003 OS's and 6-7GB for the 64-bit OS's; larger volumes may be required depending on the effect of windows update during appliance creation.

Packages

The Windows Server contains the following 3rd party open source Cygwin packages:

  • alternatives-1.3.30c-2.tar.bz2 (GNU GPL v2)
  • ash-20040127-3.tar.bz2 (BSD)
  • base-files-3.7-1.tar.bz2 (Not Applicable)
  • base-passwd-2.2-1.tar.bz2 (Not Applicable)
  • bash-3.2.39-19.tar.bz2 (GNU GPL v2)
  • bzip2-1.0.5-2.tar.bz2 (BSD)
  • libbz2_1-1.0.5-2.tar.bz2 (BSD)
  • coreutils-6.10-1.tar.bz2 (GNU GPL v2)
  • cpio-2.9-1.tar.bz2 (GNU GPL v2)
  • crypt-1.1-1.tar.bz2 (GNU GPL v2)
  • curl-7.16.3-1.tar.bz2 (MIT)
  • libcurl4-7.16.3-1.tar.bz2 (MIT)
  • cygrunsrv-1.34-1.tar.bz2 (GNU GPL v2)
  • cygutils-1.3.2-1.tar.bz2 (GNU GPL v2)
  • cygwin-1.5.25-15.tar.bz2 (GNU GPL v2)
  • cygwin-doc-1.4-4.tar.bz2 (NA)
  • db4.5 (BSD)
  • diffutils-2.8.7-1.tar.bz2 (GNU GPL v2)
  • editrights-1.01-2.tar.bz2 (BSD)
  • expat-2.0.1-1.tar.bz2 (Thai)
  • libexpat1-2.0.1-1.tar.bz2 (Thai)
  • libexpat1-devel-2.0.1-1.tar.bz2 (Thai)
  • file-4.21-1.tar.bz2 (BSD)
  • findutils-4.4.0-1.tar.bz2 (GNU GPL v3)
  • gawk-3.1.6-1.tar.bz2 (GNU GPL v3)
  • libgdbm4-1.8.3-8.tar.bz2 (GNU GPL v2)
  • libintl2-0.12.1-3.tar.bz2 (GNU GPL v2)
  • libintl3-0.14.5-1.tar.bz2 (GNU GPL v2)
  • grep-2.5.1a-4.tar.bz2 (GNU GPL v2)
  • groff-1.18.1-2.tar.bz2 (GNU GPL v2)
  • gzip-1.3.12-2.tar.bz2 (GNU GPL v2)
  • ipcalc-0.41-1.tar.bz2 (GNU GPL v2)
  • less-382-1.tar.bz2 (GNU GPL v2)
  • libiconv2-1.11-1.tar.bz2 (GNU GPL v2)
  • libssh21-0.15-1.tar.bz2 (BSD)
  • links-1.00pre20-1.tar.bz2 (GNU GPL v2)
  • login-1.9-7.tar.bz2 (BSD)
  • man-1.6e-1.tar.bz2 (GNU GPL v2)
  • minires-1.01-1.tar.bz2 (GNU GPL v2)
  • libncurses8-5.5-3.tar.bz2 (Thai)
  • openssh-5.0p1-1.tar.bz2 (BSD)
  • openssl-0.9.8h-1.tar.bz2 (BSD)
  • patch-2.5.8-9.tar.bz2 (GNU GPL v2)
  • libpcre0-7.6-2.tar.bz2 (BSD)
  • perl-5.8.8-4.tar.bz2 ("GNU GPL v1+ / Artistic,BSD,MIT")
  • perl-Error-0.17010-1.tar.bz2 (GNU GPL v1+ / Artistic)
  • libpopt0-1.6.4-4.tar.bz2 (Thai)
  • libreadline6-5.2.12-10.tar.bz2 (GNU GPL v2)
  • rebase-2.4.4-1.tar.bz2 (GNU GPL v2)
  • rsync-2.6.9-2.tar.bz2 (GNU GPL v2)
  • run-1.1.10-1.tar.bz2 (GNU GPL v2)
  • sed-4.1.5-2.tar.bz2 (GNU GPL v2)
  • tar-1.20-1.tar.bz2 (GNU GPL v3)
  • libwrap0-7.6-4.tar.bz2 (BSD)
  • termcap-20050421-1.tar.bz2 (BSD)
  • terminfo-5.5_20061104-1.tar.bz2 (MIT)
  • texinfo-4.8a-1.tar.bz2 (GNU GPL v2)
  • tzcode-2008a-1.tar.bz2 (BSD)
  • unzip-5.52-2.tar.bz2 (BSD-Info-Zip)
  • vim-7.1-1.tar.bz2 (Charityware)
  • wget-1.11.3-1.tar.bz2 (GNU GPL v3)
  • which-2.19-1.tar.bz2 (GNU GPL v3)
  • zip-2.32-2.tar.bz2 (BSD-Info-Zip)
  • zlib-1.2.3-2.tar.bz2 (ZLIB)
  • setup-2.573.2.3.exe (GNU GPL v2)

Contents of the release directory

Self-extracting Archive

  • Server_Windows-1.0.0-1.msi: self-extracting archive which transforms a clean install of Windows Server 2003 into a WIN03 appliance.

msi Build Environment

  • server_windows_msi_build-1.0.0-1.zip: zip of all the files used to create the self-extracting executable. This is the build environment which should be unzipped on a Windows Server 2003 guest in order to create the msi file. It includes:
    • the files which are installed by Server_Windows-1.0.0-1.msi
    • Server_Windows.aip the Advanced Installer project file used to create Server_Windows-1.0.0-1.msi

Tests

  • win03-tst.tar.bz2: test scripts
  • win03-tst-app.tar.bz2: test harness for testing the appliance.

Install Procedure

Please see the Windows Installation Reference for instructions on how to create the WIN03 appliance using Server_Windows-1.0.0-1.msi.

Preparing the Self-Extracting Executable

The self-extracting executable is prepared on a Windows Server 2003 VM which includes a licensed copy of Advanced Installer. Copy the archive server_windows_msi_build-1.0.0-1.zip to the Windows VM and extract it in C:\. Use Advanced Installer to create the msi.

Cygwin Packages

The msi contains a local repository of Cygwin packages. The automated install is only capable of installing the base packages. To ensure other required packages are installed, the repository is created as follows:

  • Download setup.exe http://Cygwin.org
  • Execute setup.exe and Download Without Installing. Install the packages in a temporary directory. In addition to the base install, include these packages:
    • Archive -> zip
    • Archive -> unzip
    • Editors -> vim
    • Net -> curl
    • Net -> openssh
    • Net -> rsync
    • Perl -> ipcalc
    • Perl -> perl
    • Perl -> perl-Error
    • Utils -> bzip2
    • Utils -> cpio
    • Utils -> diffutils
    • Utils -> file
    • Utils -> patch
    • Web -> links
    • Web -> wget
  • Make a directroy c:/appliance/cygwin-package. Move the cygwin setup.exe under this directory. Move the file setup.ini and the folder release from the temporary cygwin install sub-directory under this directory as well. While reviewing the additional packages and their dependencies within the Cygwin install GUI, edit setup.ini so as to move these packages into the base install. At this point, everything needed to perform a cygwin install is under the c:/appliance/cygwin-package directory.

Theory of Operation

None.

Log Files

None.

Important Notes

None.

-- StephenQ - 25 Jan 2010

 
Copyright © CA 2005-2011. All Rights Reserved.
%