B.6 gateway config edit

Edits the current SGD Gateway configuration.

Syntax

gateway config edit [ --binding int:port ]
                    [ --routes-http-maxcon num ]
                    [ --routes-aip-maxcon num ]
                    [ --routes-ws-maxcon num ]
                    [ --routes-reverseproxy-redirect port ]
                    [ --services-reflection-binding int:port ]
                    [ --services-reflection-auth-binding int:port ]

Description

The command-line options enable you to edit specific configuration settings. You must specify at least one command-line option.

The current SGD Gateway configuration is stored in the /opt/SUNWsgdg/etc/gatewayconfig.xml file.

You must restart the SGD Gateway to enable any configuration changes you make.

The following table shows the available options for this command.

Option

Description

--binding

Interface and port that the SGD Gateway listens on for incoming proxy connections. The default is TCP port 443, on all interfaces.

--routes-http-maxcon

Maximum number of HTTP connections. The default value is configured at install time and depends on the memory resources available on the SGD Gateway. See Section C.1, “Tuning the SGD Gateway”.

--routes-aip-maxcon

Maximum number of AIP connections. The default value is configured at install time and depends on the memory resources available on the SGD Gateway. See Section C.1, “Tuning the SGD Gateway”.

--routes-ws-maxcon

Maximum number of websocket connections. Websocket connections are used for data connections between the SGD Gateway and tablet devices, and for connections to the SGD workspace when Java technology is not enabled in the client browser.

The default value is configured at install time and depends on the memory resources available on the SGD Gateway. See Section C.1, “Tuning the SGD Gateway”.

--routes-reverseproxy-redirect

HTTP redirection port. The default is TCP port 8080.

--services-reflection-binding

Interface and port used for unauthenticated access to the SGD Gateway reflection service. The default is TCP port 81 on the localhost loopback interface.

--services-reflection-auth-binding

Interface and port used for authenticated access to the SGD Gateway reflection service. The default is TCP port 82 on all interfaces.

Examples

The following example changes the maximum number of HTTP and AIP connections for the SGD Gateway.

# /opt/SUNWsgdg/bin/gateway config edit --routes-http-maxcon 200
# /opt/SUNWsgdg/bin/gateway config edit --routes-aip-maxcon 3000