<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://petersap.nl/SybaseWiki/index.php?action=history&amp;feed=atom&amp;title=Installation_guidelines_ASE_15.5</id>
		<title>Installation guidelines ASE 15.5 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://petersap.nl/SybaseWiki/index.php?action=history&amp;feed=atom&amp;title=Installation_guidelines_ASE_15.5"/>
		<link rel="alternate" type="text/html" href="http://petersap.nl/SybaseWiki/index.php?title=Installation_guidelines_ASE_15.5&amp;action=history"/>
		<updated>2026-04-04T20:48:19Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://petersap.nl/SybaseWiki/index.php?title=Installation_guidelines_ASE_15.5&amp;diff=1970&amp;oldid=prev</id>
		<title>Psap: /* All done */</title>
		<link rel="alternate" type="text/html" href="http://petersap.nl/SybaseWiki/index.php?title=Installation_guidelines_ASE_15.5&amp;diff=1970&amp;oldid=prev"/>
				<updated>2013-11-08T11:44:11Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;All done&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 11:44, 8 November 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 312:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 312:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:ASE]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:ASE]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[category:Installation Guidelines]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key website-mw_:diff:version:1.11a:oldid:1940:newid:1970 --&gt;
&lt;/table&gt;</summary>
		<author><name>Psap</name></author>	</entry>

	<entry>
		<id>http://petersap.nl/SybaseWiki/index.php?title=Installation_guidelines_ASE_15.5&amp;diff=1940&amp;oldid=prev</id>
		<title>Psap: Created page with 'This page describes how to install and configure a Sybase ASE server version 15.5.  ==Get the software== First download ASE.  For a licensed version you need to go here: http://s…'</title>
		<link rel="alternate" type="text/html" href="http://petersap.nl/SybaseWiki/index.php?title=Installation_guidelines_ASE_15.5&amp;diff=1940&amp;oldid=prev"/>
				<updated>2010-10-24T18:40:39Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;This page describes how to install and configure a Sybase ASE server version 15.5.  ==Get the software== First download ASE.  For a licensed version you need to go here: http://s…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page describes how to install and configure a Sybase ASE server version 15.5.&lt;br /&gt;
&lt;br /&gt;
==Get the software==&lt;br /&gt;
First download ASE.&lt;br /&gt;
&lt;br /&gt;
For a licensed version you need to go here: http://sybase.subscribenet.com (account required) or to the eShop at sybase.com: http://eshop.sybase.com/eshop/buy?id=19517&lt;br /&gt;
&lt;br /&gt;
To get a free download you can go to this page http://www.sybase.com/ase_1500devel. You can download ASE 15.5 for various operating systems and chipsets. When you install ASE you can choose to run without a license (limited features) or install a licenced version and buy a license from Sybase.&lt;br /&gt;
&lt;br /&gt;
Downloads are also available at the Sybase download center at http://downloads.sybase.com/swd/base.do?client=support. Once registered you can download the latest EBF (patch) for the desired platform. An EBF can also be used for a full installation. &lt;br /&gt;
&lt;br /&gt;
==Prepare the Operating System==&lt;br /&gt;
Make sure that the filesystem for the Sybase software is big enough. A full installation needs approx. 1.2 Gb so 4 Gb should give you enough room to handle upgrades too. In this case we install the software in /opt/sybase/ase155. Database files will be stored on raw devices and/or in /var/sybase.&lt;br /&gt;
&lt;br /&gt;
Become root and add a group &amp;quot;sybase&amp;quot; and a user &amp;quot;sybase&amp;quot; to the system. Also create the needed directories.&lt;br /&gt;
Strictly spoken, the usage of the username and groupname called &amp;quot;sybase&amp;quot; is not needed, any username is fine.&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /opt/sybase&lt;br /&gt;
 mkdir -p /var/sybase&lt;br /&gt;
 groupadd sybase&lt;br /&gt;
 useradd -g sybase -d /opt/sybase sybase&lt;br /&gt;
 passwd sybase&lt;br /&gt;
 chown sybase:sybase /opt/sybase&lt;br /&gt;
 chown sybase:sybase /var/sybase&lt;br /&gt;
&lt;br /&gt;
Enable the operating system to allow more than the default value for shared memory.&lt;br /&gt;
&lt;br /&gt;
*Solaris (pre version 10) /etc/system&lt;br /&gt;
set shmsys:shminfo_shmmax = 4294967295&lt;br /&gt;
&lt;br /&gt;
*Solaris (system 10) /etc/project&lt;br /&gt;
 projadd -c &amp;quot;sybase&amp;quot; 'user.sybase'&lt;br /&gt;
 projmod -s -K &amp;quot;project.max-shm-memory={privileged,4GB,deny}&amp;quot; 'user.sybase'&lt;br /&gt;
&lt;br /&gt;
*Linux:&lt;br /&gt;
Use &amp;quot;sysctl kernel.shmmax&amp;quot; to see the current value.&lt;br /&gt;
Configure a new value with &amp;quot;sysctl -w kernel.shmmax=78643200&amp;quot;&lt;br /&gt;
Then add kernel.shmmax=78643200 to /etc/sysctl.conf&lt;br /&gt;
&lt;br /&gt;
==Raw devices or filesystem files==&lt;br /&gt;
Sybase recommends, and I fully 100% agree, to store all database files on raw devices except for temporary databases like tempdb. Some Unix adminstrators do not like raw devices and then you need to put everything on filesystems.&lt;br /&gt;
&lt;br /&gt;
===Raw devices===&lt;br /&gt;
When you use raw devices, create the following:&lt;br /&gt;
* master (60Mb but 100Mb is better)&lt;br /&gt;
* sybsystemprocs (200M)&lt;br /&gt;
* sybsystemdb (20M)&lt;br /&gt;
* data01 (for instance 32G but for testing purposes 100Mb is also good. You can always add more)&lt;br /&gt;
* log01(for instance 5G but for testing purposes 20Mb is also good. You can always add more).&lt;br /&gt;
Do not forget to chown the raw devices to the sybase user. Check if this setting is persistent after a reboot.&lt;br /&gt;
===Temporory databases===&lt;br /&gt;
Files for temporary databases (like tempdb) should be stored on the filesystem. Allow at least for 200Mb but, depending on your application, several Gb's or much more is not uncommon.&lt;br /&gt;
&lt;br /&gt;
==Determine your license policy==&lt;br /&gt;
Since ASE 15.0 you cannot run a production server without license file. License files can reside on the network or on the local system. Think about the license policy that suits you best. For small sites choose for license files on each Unix server.&lt;br /&gt;
&lt;br /&gt;
When there is no valid license after the installation ASE will run with a grace time of 30 days. After that it will shutdown and it cannot be rebooted anymore until you install a license.&lt;br /&gt;
&lt;br /&gt;
==Installation of the software==&lt;br /&gt;
Now, switch to the newly created user:&lt;br /&gt;
 su - sybase&lt;br /&gt;
You should now be in the directory /opt/sybase. Make a work directory and put the downloaded Sybase software in it.&lt;br /&gt;
 mkdir install&lt;br /&gt;
 cd install&lt;br /&gt;
 &amp;lt;put the software in this directory&amp;gt;&lt;br /&gt;
 tar -xf &amp;lt;software-distro&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start the installation (when using an EBF download as installation file you may need to go into a subdirectory)&lt;br /&gt;
&lt;br /&gt;
 ./setup.bin&lt;br /&gt;
&lt;br /&gt;
When you get a message like &amp;quot;A suitable JVM could not be found&amp;quot; or “exec: 2470: /tmp/install.dir.1392/Linux/resource/jre/bin/java: not found” check the following document for a solution: [[Ubuntu 64 bit ASE installation]]&lt;br /&gt;
&lt;br /&gt;
Use /opt/sybase/ase155 as the destination directory, do a full installation. At the list of possible servers to configure, deselect all options. We will do a manual configuration.&lt;br /&gt;
&lt;br /&gt;
When the installation has finished successful you can safely remove the work directory.&lt;br /&gt;
&lt;br /&gt;
==Setup your environment==&lt;br /&gt;
In /opt/sybase/ase155 you will find files like SYBASE.csh, SYBASE.sh and SYBASE.env. Depending on the type of shell you use you need to source in one of these. For instance, when your default shell is bash you should do this:&lt;br /&gt;
&lt;br /&gt;
 . /opt/sybase/ase155/SYBASE.sh&lt;br /&gt;
&lt;br /&gt;
By doing:&lt;br /&gt;
&lt;br /&gt;
 echo $SYBASE&lt;br /&gt;
&lt;br /&gt;
it should return /opt/sybase/ase155.&lt;br /&gt;
Is is fairly common to activate the SYBASE.sh script (or similar one) from your login script. &lt;br /&gt;
&lt;br /&gt;
When you have generated a licence file through http://sybase.subscribenet.com install it in the directory $SYBASE/SYSAM-2_0/licences&lt;br /&gt;
==Create the ASE server==&lt;br /&gt;
Most installations run multiple ASE's and backup servers from a single Sybase software installation. For a good overview it is quite handy to store files that are specific for a server in it's own directory. In this example we create two servers: an ASE called ASE1 and a backupserver called SYB_BACKUP. Configuration files and the errorlog are stored in the admin directory, database files are stored in /var/sybase.&lt;br /&gt;
&lt;br /&gt;
Create the directories for these servers:&lt;br /&gt;
 cd /opt/sybase&lt;br /&gt;
 mkdir admin&lt;br /&gt;
 mkdir admin/ASE1&lt;br /&gt;
 mkdir admin/SYB_BACKUP&lt;br /&gt;
 mkdir /var/sybase/ASE1&lt;br /&gt;
&lt;br /&gt;
When you choose to use raw device it's quite handy when you create symbolic links from /var/sybase/ASE1 to those devices. For example:&lt;br /&gt;
 ln -s /dev/hda4 /var/sybase/ASE1/master.dat&lt;br /&gt;
Do this also for the other raw devices that you have made.&lt;br /&gt;
&lt;br /&gt;
Now go to the &amp;quot;/opt/sybase/admin/ASE1&amp;quot; directory and create a resource file. Use the following template as an example, call it ASE1.rs. You can also use the Sybase supplied resource file, it's $SYBASE/$SYBASE_ASE/init/sample_resource_files/srvbuild.adaptive_server.rs&lt;br /&gt;
&lt;br /&gt;
 sybinit.release_directory: USE_DEFAULT&lt;br /&gt;
 sybinit.product: sqlsrv&lt;br /&gt;
 sqlsrv.server_name: ASE1&lt;br /&gt;
 sqlsrv.new_config: yes&lt;br /&gt;
 sqlsrv.do_add_server: yes&lt;br /&gt;
 sqlsrv.network_protocol_list: tcp&lt;br /&gt;
 sqlsrv.network_hostname_list: &amp;lt;your hostname&amp;gt;&lt;br /&gt;
 sqlsrv.network_port_list: 4000&lt;br /&gt;
 sqlsrv.application_type: MIXED&lt;br /&gt;
 sqlsrv.server_page_size: USE_DEFAULT&lt;br /&gt;
 sqlsrv.force_buildmaster: no&lt;br /&gt;
 sqlsrv.master_device_physical_name: /var/sybase/ASE1/master.dev&lt;br /&gt;
 sqlsrv.master_device_size: 100&lt;br /&gt;
 sqlsrv.master_database_size: 60&lt;br /&gt;
 sqlsrv.errorlog: /opt/sybase/admin/ASE1/errorlog&lt;br /&gt;
 sqlsrv.do_upgrade: no&lt;br /&gt;
 sqlsrv.sybsystemprocs_device_physical_name: /var/sybase/ASE1/sybsystemprocs.dev&lt;br /&gt;
 sqlsrv.sybsystemprocs_device_size: 200&lt;br /&gt;
 sqlsrv.sybsystemprocs_database_size: 200&lt;br /&gt;
 sqlsrv.sybsystemdb_device_physical_name: /var/sybase/ASE1/sybsystemdb.dev&lt;br /&gt;
 sqlsrv.sybsystemdb_device_size: 20&lt;br /&gt;
 sqlsrv.sybsystemdb_database_size: 20&lt;br /&gt;
 sqlsrv.tempdb_device_physical_name: /var/sybase/ASE1/tempdb.dev&lt;br /&gt;
 sqlsrv.tempdb_device_size: 100&lt;br /&gt;
 sqlsrv.tempdb_database_size: 100M&lt;br /&gt;
 sqlsrv.default_backup_server: SYB_BACKUP&lt;br /&gt;
 #sqlsrv.addl_cmdline_parameters:&lt;br /&gt;
 sqlsrv.do_configure_pci: no&lt;br /&gt;
 sqlsrv.sybpcidb_device_physical_name: PUT_THE_PATH_OF_YOUR_SYBPCIDB_DATA_DEVICE_HERE&lt;br /&gt;
 sqlsrv.sybpcidb_device_size: USE_DEFAULT&lt;br /&gt;
 sqlsrv.sybpcidb_database_size: USE_DEFAULT&lt;br /&gt;
 # If sqlsrv.do_optimize_config is set to yes, both sqlsrv.avail_physical_memory and sqlsrv.avail_cpu_num need to be set.&lt;br /&gt;
 sqlsrv.do_optimize_config: no&lt;br /&gt;
 sqlsrv.avail_physical_memory: PUT_THE_AVAILABLE_PHYSICAL_MEMORY_FOR_ASE_IN_OPTIMIZATION&lt;br /&gt;
 sqlsrv.avail_cpu_num: PUT_THE_AVAILABLE_NUMBER_CPU_FOR_ASE_IN_OPTIMIZATION&lt;br /&gt;
&lt;br /&gt;
This resource file will a create a Sybase server with the following characteristics:&lt;br /&gt;
* The name of the server will be ASE1, can be changed later with the sp_addserver stored procedure.&lt;br /&gt;
* The server will have a listener on the ip-address as indicated with &amp;lt;hostname&amp;gt; and port 4000. This can be changed later in the interfaces file.&lt;br /&gt;
* Application type is mixed, so you expect both oltp and dss type of queries. This can be changed later by modification of the “optimization goal” setting with sp_configure).&lt;br /&gt;
* Server page size will be 4 Kb, which is the default. This cannot be changed, a complete server rebuild is needed then.&lt;br /&gt;
* The master device will be 100 Mb, the size of the master database will be 60 Mb. The master devices will contain the master database, the master database contains important meta-data about the server. The master device can be increased with the “disk resize” command, the master database can be increased with the “alter database” command. There are no documented methods for shrinking devices or databases.&lt;br /&gt;
* The location of the errorlog is /opt/sybase/admin/ASE1/errorlog, can be changed later in the configuration file.&lt;br /&gt;
* A device of 200 Mb will be created for the sybsystemprocs database, also with a size of 200 Mb. The size of the device can be increased with the “disk resize” command, the database can be increased with the “alter database” command.&lt;br /&gt;
* A device of 20 Mb will be created for the sybsystemdb database, also with a size of 20 Mb. A small portion will also reside on the master device. The size of the device can be increased with the “disk resize” command, the database can be increased with the “alter database” command.&lt;br /&gt;
* A temporary database 'tempdb' will be created on a device with a size of 100 Mb, the database will also be 100 Mb. In fact, it will be a bit larger since also a small portion will reside on the master device. Again, the device and the tempdb database can be increased in size. You can also create multiple temporary databases for improved concurrency.&lt;br /&gt;
* We will build a backup server called SYB_BACKUP. The name can be changed later with sp_addserver.&lt;br /&gt;
* We will not use a PCI (Pluggable Component Interface) database. This database is mainly used for Java in the server.&lt;br /&gt;
* We will not use the optimize configuration feature now. When trying to use this feature through sqlsrv.do_optimize_config: yes can expect the error “Unable to find SQL file to run optimization task”. Configuration of the server will be done at a later stage.&lt;br /&gt;
&lt;br /&gt;
Now build the server with the command:&lt;br /&gt;
 srvbuildres -r ASE1.rs&lt;br /&gt;
&lt;br /&gt;
When the srvbuildres command fails with:&lt;br /&gt;
 Task failed&lt;br /&gt;
 Unable to boot server 'ASE1'.  &lt;br /&gt;
 Server 'ASE1' was not created.&lt;br /&gt;
or&lt;br /&gt;
 Optimizing server configuration...&lt;br /&gt;
 Unable to find SQL file to run optimization task.&lt;br /&gt;
 Task failed&lt;br /&gt;
then go to this page for tips how to solve this: [[srvbuildres task failed]].&lt;br /&gt;
&lt;br /&gt;
After a successful creation you can connect to the server using the command line tool isql. At the prompt of isql you can type a command or execute a stored procedure. Type exit to exit.&lt;br /&gt;
 isql -Usa -P -SASE1&lt;br /&gt;
 sp_helpdb&lt;br /&gt;
 go&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
==Basic ASE configuration==&lt;br /&gt;
&lt;br /&gt;
===Move and modify configuration files===&lt;br /&gt;
In this step we will move the configuration files to the admin directory. First shutdown ASE&lt;br /&gt;
&lt;br /&gt;
 isql -Usa -P -SASE1&lt;br /&gt;
 shutdown&lt;br /&gt;
 go&lt;br /&gt;
&lt;br /&gt;
 cd $SYBASE/$SYBASE_ASE&lt;br /&gt;
 mv ASE1.cfg /opt/sybase/admin/ASE1&lt;br /&gt;
 rm ASE1.*&lt;br /&gt;
 cd install&lt;br /&gt;
&lt;br /&gt;
Modify RUN_ASE1 and make the following changes:&lt;br /&gt;
* Make the -s flag the first option. This has the advantage that a listing of running processes on the system will show the name of the Sybase server.&lt;br /&gt;
* Change the location of the configuration files, as specified with the -c flag, to the admin directory&lt;br /&gt;
Each line must end with a backslash.&lt;br /&gt;
Example RUN_ASE1 file:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #&lt;br /&gt;
 # ASE page size (KB):   2K&lt;br /&gt;
 # Master device path:   /var/sybase/ASE1/master.dev&lt;br /&gt;
 # Error log path:       /opt/sybase/admin/ASE1/errorlog&lt;br /&gt;
 # Configuration file path:      /opt/sybase/ase155/ASE-15_0/ASE1.cfg&lt;br /&gt;
 # Directory for shared memory files:    /opt/sybase/ase155/ASE-15_0&lt;br /&gt;
 # Adaptive Server name: ASE1&lt;br /&gt;
 #&lt;br /&gt;
 /opt/sybase/ase155/ASE-15_0/bin/dataserver \&lt;br /&gt;
 -sASE1 \&lt;br /&gt;
 -d/var/sybase/ASE1/master.dev \&lt;br /&gt;
 -e/opt/sybase/admin/ASE1/errorlog \&lt;br /&gt;
 -c/opt/sybase/admin/ASE1/ASE1.cfg \&lt;br /&gt;
 -M/opt/sybase/ase155/ASE-15_0 \&lt;br /&gt;
&lt;br /&gt;
Now restart the Sybase server&lt;br /&gt;
 ./startserver -f ./RUN_ASE1&lt;br /&gt;
&lt;br /&gt;
===Load instmsg.ebf file===&lt;br /&gt;
The instmsgs.ebf file contains the latest update for Sybase error messages. You can load it with isql.&lt;br /&gt;
 isql -Usa -P -SASE1 &amp;lt; $SYBASE/$SYBASE_ASE/scripts/instmsgs.ebf&lt;br /&gt;
&lt;br /&gt;
===Configure the server using optase.sh===&lt;br /&gt;
With the tool optase.sh you can configure your server. You need to supply the following information:&lt;br /&gt;
* The amount of memory that the Sybase server can use. A rough guideline is approx 80 % of total physical memory but lower the value if your other servers or application software at the same time.&lt;br /&gt;
* The number of CPU's that the Sybase server can use. Again, leave a safe margin for other processes and the operating system.&lt;br /&gt;
* The pagesize of the ASE server, as specified in the ASE1.rs file. When you have used the default page size it will be 4Kb.&lt;br /&gt;
* Type of product edition. Some ASE features are not available in certain editions.&lt;br /&gt;
* Application type, as specified in the ASE1.rs file.&lt;br /&gt;
You can run optase.sh and have you prompted per item, or supply all the required information when you start the tool.&lt;br /&gt;
Example&lt;br /&gt;
 $SYBASE/$SYBASE_ASE/bin/optase.sh 1024 2 2 EE MIXED /tmp/config.sql&lt;br /&gt;
&lt;br /&gt;
When done, run the configuration script.&lt;br /&gt;
&lt;br /&gt;
 isql -Usa -P -SASE1 -i /tmp/config.sql&lt;br /&gt;
&lt;br /&gt;
Then reboot the ASE server, stop it first&lt;br /&gt;
 isql -Usa -P -SASE1&lt;br /&gt;
 shutdown&lt;br /&gt;
 go&lt;br /&gt;
&lt;br /&gt;
Start again&lt;br /&gt;
 startserver -f $SYBASE/$SYBASE_ASE/install/RUN_ASE1&lt;br /&gt;
&lt;br /&gt;
==Create the backup server==&lt;br /&gt;
Create the backup server using the following steps.&lt;br /&gt;
&lt;br /&gt;
Go to the &amp;quot;/opt/sybase/admin/SYB_BACKUP&amp;quot; directory and create a resource file. Use the following template as an example, call it SYB_BACKUP.rs. You can also use the Sybase supplied resource file, it's $SYBASE/$SYBASE_ASE/init/sample_resource_files/srvbuild.backup_server.rs&lt;br /&gt;
&lt;br /&gt;
 sybinit.release_directory: USE_DEFAULT&lt;br /&gt;
 sybinit.product: bsrv&lt;br /&gt;
 bsrv.server_name: SYB_BACKUP&lt;br /&gt;
 bsrv.new_config: yes&lt;br /&gt;
 bsrv.do_add_backup_server: yes&lt;br /&gt;
 bsrv.do_upgrade: no&lt;br /&gt;
 bsrv.network_protocol_list: tcp&lt;br /&gt;
 bsrv.network_hostname_list: prd-syb-ase2&lt;br /&gt;
 bsrv.network_port_list: 4001&lt;br /&gt;
 bsrv.language: USE_DEFAULT&lt;br /&gt;
 bsrv.character_set: USE_DEFAULT&lt;br /&gt;
 bsrv.tape_config_file: USE_DEFAULT&lt;br /&gt;
 bsrv.errorlog: USE_DEFAULT&lt;br /&gt;
 sqlsrv.related_sqlsrvr: ASE1&lt;br /&gt;
 sqlsrv.sa_login: sa&lt;br /&gt;
 sqlsrv.sa_password: USE_DEFAULT&lt;br /&gt;
 #bsrv.addl_cmdline_parameters: PUT_ANY_ADDITIONAL_COMMAND_LINE_PARAMETERS_HERE&lt;br /&gt;
&lt;br /&gt;
Build the server with the command:&lt;br /&gt;
 srvbuildres -r SYB_BACKUP.rs&lt;br /&gt;
&lt;br /&gt;
===Move and modify configuration files===&lt;br /&gt;
In this step we will move the configuration files to the admin directory. First shutdown the backup server:&lt;br /&gt;
 isql -Usa -P -SASE1&lt;br /&gt;
 shutdown SYB_BACKUP&lt;br /&gt;
 go&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
Modify the RUN_SYB_BACKUP, located at $SYBASE/$SYBASE_ASE/install. Change the location of the log file,as specified with the -e flag. Change it to the admin directory. Also, move the line with the -s flag to the top. Sample RUN_SYB_BACKUP:&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #&lt;br /&gt;
 # Error log path:       /opt/sybase/ase155/ASE-15_0/install/SYB_BACKUP.log&lt;br /&gt;
 # Maximum number of network connections:        25&lt;br /&gt;
 # Maximum number of server connections: 20&lt;br /&gt;
 # Multibuf executable path:     /opt/sybase/ase155/ASE-15_0/bin/sybmultbuf&lt;br /&gt;
 # Backup Server name:   SYB_BACKUP&lt;br /&gt;
 #&lt;br /&gt;
 /opt/sybase/ase155/ASE-15_0/bin/backupserver \&lt;br /&gt;
 -SSYB_BACKUP \&lt;br /&gt;
 -e/opt/sybase/admin/SYB_BACKUP/SYB_BACKUP.log \&lt;br /&gt;
 -N25 \&lt;br /&gt;
 -C20 \&lt;br /&gt;
 -M/opt/sybase/ase155/ASE-15_0/bin/sybmultbuf \&lt;br /&gt;
 &lt;br /&gt;
Remove the old log file&lt;br /&gt;
 rm $SYBASE/$SYBASE_ASE/install/SYB_BACKUP.log&lt;br /&gt;
&lt;br /&gt;
Restart the backupserver&lt;br /&gt;
 startserver -f $SYBASE/$SYBASE_ASE/install/RUN_SYB_BACKUP&lt;br /&gt;
&lt;br /&gt;
==Create a user database==&lt;br /&gt;
 disk init name = data01,size=&amp;quot;1G&amp;quot;,physname=&amp;quot;/var/sybase/ASE1/data01.dat&amp;quot;&lt;br /&gt;
 go&lt;br /&gt;
 disk init name = log01,size=&amp;quot;100M&amp;quot;,physname=&amp;quot;/var/sybase/ASE1/log01.dat&amp;quot;&lt;br /&gt;
 go&lt;br /&gt;
 create database my_database on data01=&amp;quot;1G&amp;quot; log on log01 = &amp;quot;100M&amp;quot;&lt;br /&gt;
 go&lt;br /&gt;
==All done==&lt;br /&gt;
Happy Sybase-ing with your new server!!&lt;br /&gt;
&lt;br /&gt;
Further reading:&lt;br /&gt;
&lt;br /&gt;
Installatin guide for Linux http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc30119.1550/doc/html/title.html&lt;br /&gt;
&lt;br /&gt;
Sybase System administration http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc31654.1550/html/sag1/title.htm&lt;br /&gt;
&lt;br /&gt;
[[Category:ASE]]&lt;/div&gt;</summary>
		<author><name>Psap</name></author>	</entry>

	</feed>