blob: dbc5fc2bae32eab99f04ed4904c5af4fb8a26297 [file] [log] [blame]
name: mssql
location:
jclouds:aws-ec2:us-west-2:
displayName: AWS Oregon (Windows)
imageId: us-west-2/ami-8fd3f9bf
hardwareId: m3.medium
useJcloudsSshInit: false
templateOptions:
mapNewVolumeToDeviceName: ["/dev/sda1", 60, true]
services:
- type: org.apache.brooklyn.entity.software.base.VanillaWindowsProcess
brooklyn.config:
templates.install:
classpath://org/apache/brooklyn/software/winrm/utils/enable-credssp.ps1: "C:\\enable-credssp.ps1"
classpath://org/apache/brooklyn/software/winrm/utils/brooklyn-invoke-command-credssp.ps1: "C:\\brooklyn-invoke-command-credssp.ps1"
classpath://org/apache/brooklyn/entity/database/mssql/ConfigurationFile.ini: "C:\\ConfigurationFile.ini"
classpath://org/apache/brooklyn/entity/database/mssql/installmssql.ps1: "C:\\installmssql.ps1"
classpath://org/apache/brooklyn/entity/database/mssql/configuremssql.ps1: "C:\\configuremssql.ps1"
classpath://org/apache/brooklyn/entity/database/mssql/launchmssql.bat: "C:\\launchmssql.bat"
classpath://org/apache/brooklyn/entity/database/mssql/stopmssql.bat: "C:\\stopmssql.bat"
install.command: powershell -command "C:\\custom-enable-credssp.ps1" && powershell -command "C:\\installmssql.ps1"
customize.command: powershell -command "C:\\configuremssql.ps1"
launch.command: "C:\\launchmssql.bat"
stop.command: "C:\\stopmssql.bat"
checkRunning.powershell.command: |
$service = Get-Service -Name MSSQLSERVER
If ( (-not $service) -or ($service.Status -ne 'Running') ) { exit 1 }
## NOTE: Values must be supplied for the following
mssql.download.url:
mssql.download.user:
mssql.download.password:
mssql.sa.password:
mssql.instance.name:
## The following is a list of *all* MSSQL features. Installation time and footprint can be greatly
## reduced by removing unnecessary features
mssql.features: "SQLENGINE,REPLICATION,FULLTEXT,DQ,AS,RS,RS_SHP,DQC,BIDS,CONN,IS,BC,SDK,BOL,SSMS,ADV_SSMS,DREPLAY_CTLR,DREPLAY_CLT,SNAC_SDK"
provisioning.properties:
required.ports: 1433