

Using CA AppLogic › Appliance Developer Guide › Appliance OS Installations › Windows Installations › Windows OS › Windows SQL and IIS › SQL12
SQL12
You can create a Windows Server Appliance for the Windows Server 2012 Base Server Class. SQL12 family of appliances are built on top of generic Windows 2012 Server or Windows 2008 R2 Server appliances.
Note: In the following instructions:
- For WIN12y, the y placeholder is for the Windows edition, such as Standard or DataCenter, that the appliance or application is based on.
- For SQL12y_12, the y placeholder is for the SQL edition, such as S for Standard, E for Enterprise, BI for Business Intelligence, that the appliance is based on. All the SQL editions used to create the SQL12y_12 appliances are based on the SQL Server 2012.
Install and Configure the Appliance
Follow these steps:
- Create the Windows Server appliance WIN12y for the Windows Server 2012 Base Server Class.
- Create a new singleton from the specified base class, such as WIn12S.
- Create a new application that includes an instance of the base class.
- Branch the class.
- Right click the class, then select Resources, then assign 1 to the CPU and 1GB of Memory.
- Start the application
- SSH into the singleton using the graphic console of the singleton.
- Select the singleton, then click the Login (graphic) icon.
- Set a new Administrator password (net user administrator password - select a password).
- In the GUI, stop the application.
- Right-click appliance and select Modify Boundary, then select the Volumes tab.
- Resize the singleton boot volume to 20 GB. This is an approximate size. The typical SQL install requires 4 to 5 GB of free disk space. After this install, there should be approximately 1 GB of free space on the singleton boot volume. Adjust the size according to the free space on your singleton.
- Add a new placeholder volume with the name data and mount on D:\. Mark it as mandatory.
- Right-click the canvas and select Manage Volumes.
- Add an application volume to use temporarily as the placeholder volume with the filesystem: ntfs08 and size: 8GB.
- Start the application.
- Click the Login (graphic) icon and login to the graphic console of the singleton as Administrator.
- Enable virtual memory for the appliance:
- Select Start, Control Panel, System (System and Security), Advanced systems settings, Advanced, Performance Settings, Advanced, Virtual memory, Change.
- Leave the C drive with no paging file and set the D drive to use a system managed page file size.
- Click Set.
Do not close the graphic console.
- In the GUI, restart the application.
- Access the graphic console and complete the following steps.
- Install the version of SQL Server 2012. A complete distribution source should be used: ISO-image or a full redistributable package.
If you are downloading an extractable archive of SQL Server 2012, download and extract it on the D volume. When using an ISO-image, you can mount the image as a separate drive or extracted on D, then installed to C.
- Extract the redistributable package as in the following example:
en_sql_server_2012_express_edition_with_tools_with_sp1_x86.exe /Q /X:D:\
- Use the SQL setup configuration file ConfigurationFile2012.ini and launch the installation as following:
setup.exe /q /IAcceptSQLServerLicenseTerms /action=Install /configurationfile=D:\ConfigurationFile2012.ini /sapwd="manager" /ASSYSADMINACCOUNTS="%COMPUTERNAME%\Administrator" /SQLSYSADMINACCOUNTS="%COMPUTERNAME%\Administrator" "NT AUTHORITY\SYSTEM" /TCPENABLED=1
Point MEDIASOURCE on the root of the SQL installation folder.
Note: If SQL installation requires .NET framework enabled, then access server manager, features. Enable .NET framework 3.5.1 feature and run the above installation command again.
- Install the SQL exe. 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.
- To locate the internal IP address of the controller, open a command line shell and execute the following. Note the IP address of the DHCP server for the last enumerated interface. For example, Local Area Connection 5:
ipconfig /all
- Point IE at http://IP-address:8080/download/ and download the current Windows SQL exe. For example, SQL_Windows-*.exe: Right-click the exe file and select Save Target As to download the file to the desktop.
- Double-click the exe file on the desktop to perform the installation.
- Delete the exe file and empty the Recycle Bin.
- If there are junction points on the volume, delete junction points to prevent Windows volume resize failures.
Search for junction points using the command prompt.
dir/S /A:L
The output reports the path for any junction points.
The following are examples of junction points on a Windows boot volume. The names on your volumes can differ.
- WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\
- WINDOWS\assembly\GAC_MSIL\IEExecRemote\2.0.0.0__b03f5f7f11d50a3a\
- Run services.msc and start MYSQL Server service, if not started.
- Clean-up drive D by removing all SQL-related installation files, including the setup configuration file.
- In a Cygwin bash shell
- Set a new complex password. Ffor example, net user administrator pq398hpaowht0293j^LWOIFH9htfw9jfe.
- Exit the SSH session.
- SSH into the singleton using the graphic console of the singleton and execute the following command:
rm -f ~/.bash_history /appliance/passwd.stamp. 14.
- Close the graphic console.
- In the GUI, stop the application.
- Right click the appliance and select Modify Boundary.
- In the General tab, edit the class as follows:
- Select the Interface tab.
- Delete the net and out terminals.
- Define the interfaces as follows.
|
Name
|
Direction
|
Protocol
|
|
in
|
In
|
any
|
|
mon
|
Out
|
cce
|
- Click OK to apply changes. The Interface Editor displays.
- Right-click the singleton, then select Attributes.
- In the Name field, change the instance name to SQL12y_12.
- Select the Properties tab and add the following properties.
|
Name
|
Type
|
Default
|
Constraints
|
|
read_only
|
String
|
off
|
on_|off
|
|
sa_password
|
String
|
(empty)
|
|
|
user_db_name
|
String
|
(empty)
|
|
|
user_login
|
String
|
(empty)
|
|
|
user_password
|
String
|
(empty)
|
|
|
max_connections
|
Ineger
|
0
|
min = 0
max = 999999
|
c. Select the Resources tab and set the following appliance resources:
|
Resource
|
Minimum
|
Maximum
|
Default
|
|
CPU
|
0.25
|
32
|
1
|
|
Memory
|
1 G
|
64 G
|
2 G
|
|
Bandwidth
|
1 Mbps
|
2 Gbps
|
100 Mbps
|
d. Click OK to apply changes. The Interface Editor displays.
25. Select a catalog, such as system_ms, and drag the SQL12y_12 appliance to a catalog.
The SQL12y_12 appliance is now ready for use in your applications.
Copyright © 2013 CA Technologies.
All rights reserved.
 
|
|