SAND CDBMS Administration Guide
The SAND Enterprise Service Scripting Language

 

Previous Topic:
SAND Enterprise Scripting Clients
Chapter Index
Next Topic:
Working with Instances

 

Basic Operations


Connecting to the SE Service

CONNECT

The CONNECT command connects the sescmd scripting client to the SAND Enterprise Service. A connection must be successfully established in order to execute any of the SES script commands.

Syntax:

connect [-hostname host-name] [-port port-number] [-domain domain-name] [user-name[/password]]


Optional Parameters:

host-name Network ID name of the computer on which the SAND Enterprise Service is running
port-number Port on which the SAND Enterprise Service is set to listen
domain-name Windows network domain to which user-name belongs; if the network does not support domains, this can be omitted
user-name A valid user on host-name; this account will be used to administer the service

Defaults for optional parameters:

  1. Connection parameters previously specified with sescmd and then saved using the SAVE command. This information is recorded in encrypted form in the [nesop] section of the nes.ini file.

  2. If no connection information has been previously saved, sescmd will use the parameters specified during SAND Enterprise Service installation. In this case, user-name and password are required. Once a connection has been established, the SAVE command can be executed to save the connection parameters for automatic reuse in later connection requests.


Saving Connection Parameters

SAVE

When the SAVE command is executed after sescmd has successfully established a connection to the SAND Enterprise Service, the current connection parameters are written in encrypted form to the [nesop] section of the nes.ini file. These parameters then become the default for subsequent execution of sescmd, and are required in order to connect using sesop.

Syntax:

save


Disconnecting from the SE Service

DISCONNECT

The DISCONNECT command disconnects the currently connected client from the SAND Enterprise Service, but does not exit from sescmd. To reconnect, use the CONNECT command.

Syntax:

disconnect


Getting Help with SAND Enterprise Service Script Commands

HELP

When the HELP command is issued with no argument, sescmd displays a help screen showing command syntax for all SES script commands. If a particular command is specified after the HELP keyword, sescmd displays the syntax for that command.

Syntax:

help [command-name]


Closing the Scripting Client

QUIT/EXIT

Use either the QUIT or EXIT command to disconnect from the SAND Enterprise Service and quit sescmd.

Syntax:

quit

-or-

exit

 
Previous Topic:
SAND Enterprise Scripting Clients
Chapter Index
Next Topic:
Working with Instances