SQL08X/WG/D/W/S/E: Microsoft SQL Server Database Appliances - Installation Reference

Each SQL08y appliance is built using the following generic Windows Server appliance as a base class:

Please, first create the Windows Server appliance WIN03y as described here.

Note: In the following instructions, the "y" placeholder in WIN03y is for the Windows edition that the appliance/app is based upon ("S" for Standard, "DC" for DataCenter). The "y" placeholder in SQL08y is for the SQL edition that the appliance is based upon ("X" for Express, "WG" for Workgroup, "D" for Developer, "W" for Web, "S" for Standard, "E" for Enterprise).

To create the Windows Server appliance WIN03y and make SQL08y appliance ready for use:

  1. Create an application that contains an instance of WIN03y and branch the instance (referred to below as a singleton).
  2. To speed up the appliance creation process, configure the singleton's default resources to cpu=1 and memory=1G:
  3. Resize the WIN03y boot volume to 8GB.
  4. Edit the class and enable the external interface:
  5. Edit the class and add a mandatory placeholder volume (name: data; mount on D:\).
  6. Create an application volume to use temporarily as the placeholder volume (filesystem: ntfs03; size: 6GB).
  7. Start the application and open up the graphic console of the singleton using the AppLogic GUI (on the Applications tab, select your application and login to the graphical console using the Login (graphic) button at the top of the page).
  8. Login to the Windows appliance as the administrator.
  9. If you have not already installed both Windows Installer 4.5 and the .NET Framework 3.5 SP1 do so now:
  10. Enable virtual memory for the appliance -- in a command shell:
  11. Restart the application
  12. Install the desired version of SQL Server 2008. A complete distribution source should be used: ISO-image or a full redistributable package. If you are downloading an extractable archive of SQL Server, download and extract it on the D volume. When using an ISO-image, it may be mounted as a separate drive or extracted on D also. From there, it can be installed to C (download link for SQL Server 2008 Express redistributable).
  13. Extract redistributable package as following:
  14. Use an appropriate version of the SQL setup configuration file (ConfigurationFile_x86.ini/ConfigurationFile_x64.ini) and launch the installation as following:
  15. Install the SQL msi. This self-executing installer can be downloaded from the grid controller through the default interface of the singleton. This interface has already been properly configured through DHCP.
  16. Clean-up drive D: remove all SQL-related installation files, including ConfigurationFile.ini.
  17. In a Cygwin bash shell remove the file /appliance/passwd.stamp; this helps ensure the appliance will generate a new Administrator password on the first boot after instantiation.
  18. Stop the application and edit the class:
    1. change the class icon color to red
    2. change the class name to SQL08y
    3. change the class description (e.g., SQL Server Appliance - based on Windows Server 2003 Enterprise Edition R2 32/64-bit and SQL Server 2008 Enterprise (v1.0.0-1))
    4. change class category to Database Appliances
    5. remove the external interface
    6. modify the terminals:

Terminal Name

Direction

Protocol

in

In

any

mon

Out

cce

  1. add the following properties:

Name

Type

Default

Constraints

read_only

String

off

on,off

max_connections

Integer

(empty)

min = 1, max = 999999

sa_password

String

(empty)

 

user_db_name

String

(empty)

 

user_login

String

(empty)

 

user_password

String

(empty)

 

  1. Set the appliance resources:

Resource

Minimum

Express Maximum

Enterprise Maximum

Default

CPU

0.1

1

8

0.25

Memory

512 MB

1 G

64 G

1 G

Bandwidth

1 Mbps

2 Gbps

2 Gbps

250 Mbps

  1. It is recommended to verify the health of the singleton's boot volume by executing the following command from the web shell: vol fscheck name_of_volume
  2. Move SQL08y to a catalog (3tera recommends system_ms).
  3. The SQL08y appliance is now ready for use in your AppLogic applications.