Build and Configure SAP ASE on Windows

Use Windows Remote Desktop Connection (RDC) to connect to your Windows instance.

Procedure

  1. Mount the data volumes you created in the Add Storage step in Creating Your BYOL Instance under E:\data. See instructions in Making an Amazon EBS Volume Available for Use on Windows in the Amazon EC2 User Guide for Windows Instances at https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-using-volumes.htmlInformation published on non-SAP site for mounting these volumes.
  2. Modify the response files (located in D:\SAP\ASE-16_0\sample\server) for the servers you want to start for items such as hostname, password, device sizes, physical names, and so on. The response files available are:
    • sybatch_ase.res – SAP ASE
    • sybatch_bs.res – Backup Server
    • sybatch_js.res – Job Scheduler

    XP Server does not require a response file.

  3. Open a command prompt.
  4. Run this command to set your environment variables:
    D:\SAP\SYBASE.bat

    The log files for the following step are saved in E:\ase\config\ASE-16_0\init\logs; make sure that the E:\ase\config directory exists. Verify that the log files do not contain any errors. If there are any failures, fix the issues and re-run the command.

  5. Issue the sybatch.exe utility with the response files you edited above (include the sybatch -D parameter to place SAP ASE configuration files outside of <$SYBASE>):
    D:\SAP\ASE-16_0\bin\sybatch.exe -D E:\ase\config -r D:\SAP\ASE-16_0\sample\server\sybatch_ase.res  

    Once the servers are running, the task manager displays their processes:

    See sybatch for more information about the utility.

  6. SAP ASE is initially configured to accept any license. If served licenses are to be used and the license server contains licenses for multiple ASE editions, or different license types, use sp_lmconfig to specify the specific edition and license type. For example, to configure an SAP ASE Enterprise Edition licensed for Development and Test:
    sp_lmconfig "edition", "EE"
    go
    sp_lmconfig "license type", "DT"
    go
  7. If required, install the SAP Host Agent. Some SAP ASE configurations (for example, HADR) require the SAP Host Agent. See SAP Host Agent Installation for more information.
  8. Edit the interfaces file to replace the <hostname> with the machine IP address. Use your Elastic IP address for the instance. The interfaces file is at %SYBASE%\ini\sql.ini (if you included sybatch -D parameter, the interfaces file is at D:\ase\config\ini\sql.ini .

Next Steps

Configure your Windows AWS instance to allow remote connections. See Enabling AWS Windows Host Instance to Allow Connections for information.