ccm.sh

The ccm.sh script is installed to the crystal directory of your installation. This script provides you with a command-line version of the CCM. This section lists the command-line options and provides some Examples.

Note:    

This table describes the options that make up the argument denoted by other authentication information.

Authentication Option Valid arguments Description

-aps

apsname:port#

Specify the APS that you want to log on to. If not specified, the CCM defaults to the local machine and the default port (6400).

-username

username

Specify an account that provides administrative rights to Crystal Enterprise. If not specified, the default Administrator account is attempted.

-password

password

Specify the corresponding password. If not specified, a blank password is attempted.

-authentication

secEnterprise, secWindowsNT, secLDAP

Specify the appropriate authentication type for the administrative account. If not specified, secEnterprise is attempted.

The CCM reads the server launch strings and other configuration values from the ccm.config file. For details, see ccm.config.

Examples

These two commands start and enable all the servers. The Automated Process Scheduler (APS) is started on the local machine and the default port (6400):

ccm.sh -start all
ccm.sh -enable all

These two commands start and enable all the servers. The APS is started on port 6701, rather than on the default port:

ccm.sh -start all
ccm.sh -enable all -aps MACHINE01:6701

These two commands start and enable all the servers with a specified administrative account named SysAdmin:

ccm.sh -start all
ccm.sh -enable all -aps MACHINE01:6701 -username SysAdmin -password 35%bC5@5 
-authentication LDAP

This single command logs on with a specified administrative account to disable a Job Server that is running on a second machine:

ccm.sh -disable MACHINE02.crystaldecisions.com.reportserver -aps MACHINE01:6701 -username SysAdmin -password 35%bC5@5 -authentication secLDAP

ccm.config

This configuration file defines the server launch strings and other values that are used by the CCM when you run its commands. This file is maintained by the CCM itself, and by the other Crystal Enterprise script utilities. You typically edit this file only when you need to modify a server's command line. For details, see Command lines overview.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com