ENABLE SESSIONS (Resume user activity on the server)
Use this command after issuing the DISABLE SESSIONS command to start new sessions that can access a server. For a particular server, you can specify whether to enable inbound sessions, outbound sessions, or both.
The processing of this command does not affect system processes,
such as migration and reclamation.
Use the QUERY STATUS command to display the availability of the server.
Privilege class
To issue this command, you must have system privilege or operator privilege.
Syntax
>>-ENable SESSions----------------------------------------------> .-CLIent------------------------------------------------------. >--+-------------------------------------------------------------+->< '-+-CLIent--------------------------------------------------+-' +-ALL-----------------------------------------------------+ +-ADMin---------------------------------------------------+ '-SERVer--+---------------------------------------------+-' | .-DIRection--=--Both---------. | '-server_name--+----------------------------+-' '-+-DIRection--=--Both-----+-' +-DIRection--=--INbound--+ '-DIRection--=--OUTbound-'
Parameters
Specifies the type of session to be enabled. This parameter is optional. The default value is CLIENT. You can specify one of the following values:
- CLIent
- Enables only backup and archive client sessions.
- ALL
- Enables all session types.
- ADMin
- Enables only administrative sessions.
- SERVer
- Enables only server-to-server sessions. You can also specify whether
to enable inbound sessions, outbound sessions, or both for a particular
server.
- server_name
- Specifies the name of a particular server whose sessions you want
to enable. This parameter is optional. If you do not specify this
parameter, new sessions with all other servers are enabled.
- DIRection
- Specifies whether to enable inbound sessions, outbound sessions,
or both. This parameter is optional. The default is BOTH. The following
values are possible:
- Both
- Specifies that inbound sessions from the specified server and outbound sessions to the specified server are enabled.
- INbound
- Specifies that only inbound sessions to the specified server are enabled.
- OUTbound
- Specifies that only outbound sessions from the specified server are enabled.
Example: Resume client node activity on the server
Resume normal operation, permitting client nodes to access the server.enable sessions
Example: Resume all activity on the server
Resume normal operation, permitting all sessions to access the server.enable sessions all
Example: Enable outbound sessions to a server
Enable outbound sessions to a server named REPLSRV.enable sessions server replsrv direction=outbound
Related commands
Command | Description |
---|---|
ACCEPT DATE | Accepts the current date on the server. |
CANCEL SESSION | Cancels active sessions with the server. |
ENABLE REPLICATION | Allows outbound replication processing on a server. |
DISABLE SESSIONS | Prevents new sessions from accessing Tivoli Storage Manager but permits existing sessions to continue. |
QUERY SESSION | Displays information about all active administrator and client sessions with Tivoli Storage Manager. |
QUERY STATUS | Displays the settings of server parameters, such as those selected by the SET commands. |