Sybase 15 manual Starting and stopping network license servers

Page 58

Starting and stopping network license servers

Starting and stopping network license servers

Manually starting SySAM servers

1 Go to $SYBASE/SYSAM-2_0/bin.

2 Execute:

sysam start

Manually stopping a SySAM server

1 In a Command Prompt window, go to $SYBASE/SYSAM-2_0/bin.

2 Enter:

sysam stop

Starting and stopping SySAM as an automatic service

To configure SySAM to start automatically when a host server is restarted:

1Using an account with root privileges, log on to the machine where you installed the Sybase Software Asset Management (SySAM) software.

2Create a script that the system will use to start and shutdown. The main purpose of such a script is to avoid running the License Manager with root privileges, as these are not required. The following example script assumes that the SySAM License Manager will be run as the user sybase, and was installed into /opt/sybase. Change these parameters to match your specific installation:

#!/bin/sh

#

SYBUSER=sybase

SYBASE=/opt/sybase SYSAM=$SYBASE/SYSAM-2_0 case "$1" in

'start')

su $SYBUSER -c "echo `date` starting lmgrd >> $SYSAM/log/boot.log"

nohup su $SYBUSER -c "umask 022; $SYSAM/bin/sysam start >> $SYBASE/log/boot.log"

;;

'stop')

su $SYBUSER -c "echo `date` stopping lmgrd

>> $SYSAM/log/boot.log"

su $SYBUSER -c "$SYSAM/bin/sysam stop -q

46

Replication Server

Image 58 Contents
Replication Server Document ID DC32237-01-1500-03 Contents Contents About This Book Replication Server About This Book Finding the latest information on component certificationsViii Replication definitions, and subscriptions, are in italics One item in square brackets choose it or omit it Your area Xii Introduction Replication Server componentsSybase Software Asset Management Installation task overviewSybase Software Asset Management How SySAM works Using an unserved licenseBefore You Begin Using a network license server Setting up an unserved configurationSetting up a network license server LimitationsUsing multiple network license servers Setting up multiple network serversUsing three-server redundancy Setting up three-server redundancyUsing alternative license file locations Co-existing with earlier versions of SySAMUsing a central license server only for new licenses License usage and enforcement Managing licenses from multiple vendorsLicense availability and grace periods If a SySAM license cannot be acquired Acquiring SySAM licenses during the grace periodPre-installation tasks Read the release bulletinReview system requirements Pre-installation tasksPlan your replication system Review operating system patch requirementsIncrease operating system threads Understand the installation directory structure Configure the operating system for asynchronous I/OBefore You Begin Review the Sybase installation directory contents Set the required environment variable for dsedit utility Perform administrative tasks Creating the sybase user accountSySAM pre-installation tasks Choosing the appropriate license server configurationInstalling a new license server IBM AIXLaunch the Sybase installer program by entering $SYBASE/$SYBASESYSAM/bin b Enter A P T E R 2 Installing Replication Server Using InstallShield for installationUsing InstallShield for installation Installing Replication Server Installing Replication ServerLog out as root Log in as sybase HP-UX Installing Replication Server SySAM License Server window opens and displays this prompt Click Finish. The InstallShield wizard closes Installing in command line mode Installing with a response file Installing in console mode with a response file Installing in silent modeTroubleshooting installation Checking for a valid installationUninstalling Sybase products Uninstalling Sybase products A P T E R 3 Post-Installation Tasks Review the log filesStart the sample Replication Server Start Adaptive Server for the RssdStart Adaptive Server for the Rssd Post-Installation Tasks Set environment variables Set environment variables Describes the environment variablesP E N D I X a SySAM Administration Managing licensesManaging licenses Using the options file to manage licenses Appendix a SySAM AdministrationStarting and stopping network license servers Starting and stopping network license serversHP-UX Borrowing a license to work offline Borrowing a license to work offlineConnect to the network Shut down Replication Server Enabling the network license server Reportlog file Using SAMreportEnabling the network license server Reportlog file SAMreport system requirements Installing SAMreport Installing the Java Runtime EnvironmentUsing SAMreport Samreport-36-hp700u11.bin -isjavahome JRE directory Post-installation tasks for SAMreport Starting and Stopping SAMreportUsing SySAM utilities Managing and collecting logsUsing SySAM utilities Index Index $SCROOT $SYBROOT $SYBASESYSAM $SYBASEUALog.txt file SYBASE.csh file Vpd.properties file Index