2.3. Controlling the SGD Gateway

This section describes how to control the SGD Gateway. The following tasks are described:

2.3.1. Starting the SGD Gateway

To start the SGD Gateway, use the following command:

# /opt/SUNWsgdg/bin/gateway start

2.3.2. Stopping the SGD Gateway

Caution

Stopping the SGD Gateway disconnects all user sessions and application sessions that are running through the SGD Gateway. This means that application data can be lost if the SGD Gateway is stopped unexpectedly.

To stop the SGD Gateway, use the following command:

# /opt/SUNWsgdg/bin/gateway stop

When you use the gateway stop command a warning message is displayed, prompting you to confirm that you want to stop the SGD Gateway. Use the --force option of the gateway stop command if you do not want to display this message.

Note

If the SGD Gateway is stopped, users from outside your network cannot connect to SGD using the SGD Gateway. Client devices that have been enabled using the --security-gateway attribute to access SGD directly without going through the SGD Gateway, can still access SGD. See Section B.31, “The --security-gateway Attribute”.

2.3.3. Restarting the SGD Gateway

Caution

Restarting the SGD Gateway disconnects all user sessions and application sessions that are running through the SGD Gateway. This means that application data can be lost if the SGD Gateway is restarted unexpectedly.

To restart the SGD Gateway, use the following command:

# /opt/SUNWsgdg/bin/gateway restart

When you use the gateway restart command a warning message is displayed, prompting you to confirm that you want to stop the SGD Gateway. Use the --force option of the gateway restart command if you do not want to display this message.