Sybase ASE Developer Edition Windows

Installation Guide
Installation and getting started guide for SAP Sybase ASE
Developer Edition on Windows

..................................................................................................Sybase ASE Developer Edition Windows Installation Guide TABLE OF CONTENTS INSTALLING ADAPTIVE SERVER ......................... 7 Server Start-up Parameters ................................. 7 Specifying Additional Server Start-up Parameters .......................................................................................................................................................................... 8 Adaptive Server Default Configuration Parameters .......................................... 9 CONNECTING TO ADAPTIVE SERVER WITH ISQL .................................................................................. 8 ADAPTIVE SERVER DEFAULT CONFIGURATION ........................................................................................................................................................................................................................... 3 Prerequisites ........................................................................................................................................................ 9 STOPPING ADAPTIVE SERVER ................................................................................................................................................................................................................................................. 3 Installing Adaptive Server with the GUI Wizard .. 3 Microsoft Windows System requirements for ASE 15............................................................................. 8 Adaptive Server Error Logging ................................................... 10 2 ............................................................................. 7 Start and Stop Servers Using the Control Panel ........... 4 Task ....................................................................................................................................................... 4 STARTING AND STOPPING ADAPTIVE SERVER ..........7 ESD#2: .............................

review the parameters described in the table below and verify they work for your site. 3 . Before you perform the Adaptive Server installation process. The GUI wizard offers default values for the parameters while it installs Adaptive Server. Alter them as necessary during the installation Item Default Value Name Adaptive Server Name Network Support TCP/IP Socket Number 5000 Named Pipes \pipes\sybase\server Command Line Options None Error Log Path %SYBASE%\%SYBASE_ASE%\install/errorlog Event Logging Not configure Language English Character Set English Sort order order Binary ordering Login Security Mode Standard Installing Adaptive Server with the GUI Wizard Use GUI mode to install Adaptive Server and related products. Prerequisites Shut down all programs before running the installer.Sybase ASE Developer Edition Windows Installation Guide INSTALLING ADAPTIVE SERVER SAP Sybase recommends that you use the GUI wizard to install Adaptive Server ®.

Sybase recommends installing products as a system administrator. in screen typical of above.7 ESD #2 may result in one or more products not working correctly. while versions of Adaptive Server earlier than 15. At the end of the installation. 4 . If you downloaded the product from SPDC or SAP Service Marketplace. Some components are automatically installed if they are required to run selected components. including all the supported language modules o Customize: Lets you select the components to install. go to the directory where you extracted the installation image and start the installer: . You must have either one of the above patches installed before proceeding with this ASE installation Microsoft Windows System requirements for ASE 15.7 ESD#2:  Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package and KB2565063 or  Microsoft Visual Studio 2010 Service Pack 1 and KB2565057 Task The installer creates the target directory (if it does not yet exists) and installs the selected components into that directory.5 and other Sybase products use InstallShield Multiplatform. you can verify the product installation. However. Accept the default directory or enter a new path. read the license terms./setup. Select the type of installation: Typical | Full | Customize o Typical: (Defaults) Installs the default components.exe     Select the language.5 and later uses InstallAnywhere for its installation. following screen will come to configure New Adaptive Server – Make sure that “create sample databases” option is selected. Click Next. then click Next. The installer creates the target directory (if necessary) and installs the selected components into that directory.  After installation. If you chose a typical installation. however. You may need to perform additional configuration procedures before you can use some products. You may need to perform additional configuration procedures before using some products. as this creates files to be installed incorrectly and overwritten without warning.Sybase ASE Developer Edition Windows Installation Guide Note: Only 64 bit systems are supported. This is recommended for most users o Full: Installs every Adaptive Server component. installing other products on top of Adaptive Server version 15. the installer asks you following options . root permissions are not required to run the installer.  Select Free Developer Edition of Adaptive Server Suite software license type for the Adaptive Server suite:  Choose the most appropriate region. then click I agree. you can verify the product installation. install Adaptive Server version 15.7 ESD #2 last.7 ESD #2 into its own directory if possible.7 ESD #2 includes new major versions of Adaptive Server and many supporting components.7ESD#2 into the same directory with existing products should not impact the existing products. If you must install other products into the same directory. On the Introduction screen. Sybase strongly recommends that you install Adaptive Server version 15. Do not use both installers to install products into the same directory. Adaptive Server version 15. Note: Adaptive Server Enterprise 15. click Next. At the end of the installation. Installing Adaptive Server version 15.

Sybase ASE Developer Edition Windows Installation Guide Configure New Adaptive Server  Adaptive Server name  System administrator password  Port number  Error Log  Application Type.OLTP/DSS  Page Size  Default Language  Default Character set  Default Sort Order  Optimize ASE Configuration  Create sample database Configure New Adaptive Server  Master Device  Master Device size  Master Database size  System Procedure device 5 .

The installer configures the SCC agent Two commands for starting an SCC agent are: To enable the SCC agents:  %SYBASE%/SCC-3_2/bin/sccinstance -enable To start the SCC agents in debug mode:  $SYBASE/scc-3_2/bin/scc. then click Next..Configure Self Discovery Service Service Adaptor  Configure UDP Adaptor ( Recommended) Sybase Control Center (SCC)  Configure RMI Port -RMI Port.Integer between 1025-65535 SCC Login Module  SCC administrator password  -SCC agent administrator password Review the summary of selections you made for SCC. 6 .. -m DEBUG .Sybase ASE Developer Edition Windows Installation Guide        System procedure Device size System Procedure Database size System Device Size System Database Size Tempdb Device Tempdb Device Size Tempdb database size Configure New Backup Server  Backup Server Name  Port Number  Error Log Configure New XP Server  XP Server Name  Port number 5002 Configure custom configuration values for the new Job Scheduler  Job scheduler agent name  -Port Number  -Management Device  -Mangement device size  -Managemetn Database size Configure Self-Management  Self-management user name  Sybase Control Center.

In Windows Services at Start > Settings > Control Panel > Administrative Tools >Services. 5. stop. or right-click Adaptive Server service entry and select Properties. and pause a server both automatically and manually from the Services applet in the Control Panel. Scroll through the list of available services until you find the listings for your Sybase servers. wheren is a number from 0 to 8. even after the viewed process is closed. Start and Stop Servers Using the Control Panel You can start. 2. each with its own Registry key. The selected server now starts automatically each time you restart the computer. where server_name is the name of the server you installed. See your Windows documentation or online help for more information about setting up automatic services Server Start-up Parameters Adaptive Server and Backup Server store their default start-up parameters in the Windows Registry file. Setting Up Adaptive Server as an Automatic Service Use the Control Panel to set up the server as an automatic service. This allows you to start and manage servers as Windows services. Backup Server server names are appended with “_BS”. Note: You can install multiple servers. Select Automatic as the start-up type. 7 . This is because the ProcessViewer holds some Registry resources. Shut down the Process Viewer before you restart Adaptive Server. 1. You can verify the status of the server by examining the status column in the Services applet. Note: If you are running Adaptive Server and the Windows Process Viewer. you may not be able to restart Adaptive Server after you shut it down. and allows servers to start automatically when you start your computer. The default start-up parameters are stored under the Registry key \\HKEY_LOCAL_MACHINE\SOFTWARE\SYBASE\Server\ server_name\Parameters. The number of the argument indicates the order in which the server reads the parameter. Server names use this format: Sybase typeServer _ servername_suffix where servername is the name of the Adaptive Server and type and _suffix represent the server type:  SQL – Adaptive Server  BCK and _BS – Backup Server  XP and _XP – XP Server Double-click Adaptive Server. and Adaptive Server is listed in the Process Viewer. Start-up parameters are listed under Registry values named Argn. Click Close.Sybase ASE Developer Edition Windows Installation Guide STARTING AND STOPPING ADAPTIVE SERVER Follow the instructions in the sections below to start Adaptive Server using Sybase Control Center or from the command line.

12. If you are configuring Adaptive Server. 11. 8. 10. 4. 7. enter the login name and password of a user with system administrator privileges. and choose Continue. Exit Server Config. you can use Server Config to specify additional start-up parameters.dat Location of the master device file Arg1 -s server_name Name of the Adaptive Server Arg2 -e%SYBASE%\%SYBASE_ASE%\install\errorlog Location and name of error log file Arg3 -i %SYBASE%\ini Directory containing the sql. 3. However. Start Server Config at Start > Programs > Sybase > Adaptive Server Enterprise > Server Config. Select Configure Adaptive Server or Configure Backup Server to display a list of available servers on your system. Server Config asks you to start it now. ADAPTIVE SERVER DEFAULT CONFIGURATION Adaptive Server Error Logging 8 . Select the name of the server to configure. Edit the text in the Command Line Parameters box to include the additional start-up parameters and values you require. Specifying Additional Server Start-up Parameters Additional start-up parameters include any valid server command line options listed for the sqlsvr and bcksrvr descriptions. 2.Sybase ASE Developer Edition Windows Installation Guide Parameter Switch Description Arg0 -d %SYBASE%\data\master. 1. 9. Do not specify the default command line parameters. Choose Save in the server’s configuration dialog box. and choose Continue. choose Yes.ini file Arg4 --M %SYBASE%\%SYBASE_ASE% Directory that stores shared memory file Arg5 N %SYBASE%\$SYBASE_ASE%\ sysam \<srv_name>. Select Command Line. If Adaptive Server is not running. Choose OK. Select the Adaptive Server or Backup Server icon to indicate the type of server to configure. 5.properties Location and name of license cache file You cannot change any of these default start-up parameters unless you directly edit the Windows Registry values. Log in to Windows using an account with Windows administrator privileges. 6.

1. However. which is located in %SYBASE%. The SQL Server is terminating this process. Enter: 1> shutdown 2> go The default for the shutdown command is with wait. Adaptive Server error log stores: • Start-up messages from Adaptive Server • Backtraces and stack traces from Adaptive Server • Fatal error messages (severity level 19 and higher) • Kernel error messages • Informational messages Adaptive Server Default Configuration Parameters Installing or updating Adaptive Server automatically sets some default parameters and settings. disable new logins. Many of Adaptive Server settings are determined by the configuration file. you can move it. This file: • Stores information about the success or failure of each start-up attempt • Logs error and informational messages generated by the server during its operations • Remains open until you stop the server process • Retains its contents until you rename.Sybase ASE Developer Edition Windows Installation Guide Upon start-up. perform a checkpoint in each database. you must configure it to your system’s needs and install other optional features. Using a shutdown command minimizes the amount of work that automatic recovery needs to do when the servers are restarted. you can: • Use sp_errorlog to dynamically change its path. A message similar to this prints to the stderr file: Server SHUTDOWN by request. • Stop the Adaptive Server and delete logged messages. and includes several auxiliary programs. and make space available. when you create or modify a specific userdefined message. Logging to the Adaptive Server error log is always enabled. Log in to an Adaptive Server account with System Administrator privileges: isql -Usa -Ppassword -Sserver_name 2. move. and set with the sp_configure system procedure. and perform other shutdown tasks. CT-LIBRARY error: This is normal behavior. The preferred method of stopping Adaptive Server is to use the Transact-SQL shutdown command. you can set it to be omitted from the log. The with wait option allows Adaptive Server to finish executing SQL statements or procedures. After installing and testing this “default” Adaptive Server. or empty the file If this file becomes too large. Adaptive Server begins to write information to a local error log file: %SYBASE %\%SYBASE_ASE%\install\errorlog. STOPPING ADAPTIVE SERVER Only the system administrator can issue a shutdown command. Once the older error log is not being used by Adaptive Server. 9 .

and you must stop Adaptive Server immediately. you can use the shutdown with nowait command. shutdown with nowait does not wait for currently executing statements to finish. To log into Adaptive Server using isql: 1. CONNECTING TO ADAPTIVE SERVER WITH ISQL isql sends Transact-SQL commands to Adaptive Server. Open an MS-DOS Command Prompt window 2.Sybase ASE Developer Edition Windows Installation Guide If the message indicates that Adaptive Server is waiting for processes to complete. Start isql and connect to Adaptive Server: %SYBASE%\%SYBASE_OCS%\bin\isql -Usa -Ppass_word -Sserver_name where: • %SYBASE% – is the Sybase installation directory. Adaptive Server displays the isql prompt: 1> 10 . For more information about using Transact-SQL. There is no maximum size for an isql statement. • server_name – is the name of your Adaptive Server. see the Transact-SQL User’s Guide. formatting the results and printing them to standard output. Use the shutdown with nowait command only when necessary. nor does it perform checkpoints in every database.

Crystal Reports.com © 2012 SAP AG. Crossgate is an SAP company.www. R/3.sap. Sybase 365. All rights reserved. ByDesign. iAnywhere. without representation or warranty of any kind. Duet. BusinessObjects. m@gic EDDY. These materials are subject to change without notice. B2B 360°. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services. and B2B 360° Services are registered trademarks of Crossgate AG in Germany and other countries. and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. SAP BusinessObjects Explorer. and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Crystal Decisions. Xcelsius. PartnerEdge. All other product and service names mentioned are the trademarks of their respective companies. StreamWork. SAP NetWeaver. Crossgate. SAP HANA. and SAP Group shall not be liable for errors or omissions with respect to the materials. if any. . and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase Inc. SAP. SQL Anywhere. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only. Web Intelligence. Sybase is an SAP company. Data contained in this document serves informational purposes only. Business Objects is an SAP company. Nothing herein should be construed as constituting an additional warranty. National product specifications may vary. Business Objects and the Business Objects logo. Sybase and Adaptive Server.