Edits the current SGD Gateway configuration.
gateway config edit [ --bindingint
:port
] [ --routes-http-maxconnum
] [ --routes-aip-maxconnum
] [ --routes-reverseproxy-redirectport
] [ --services-reflection-bindingint
:port
] [ --services-reflection-auth-bindingint
:port
]
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 |
---|---|
| Interface and port that the SGD Gateway listens on for incoming proxy connections. The default is TCP port 443, on all interfaces. |
| 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”. |
| 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”. |
| HTTP redirection port. The default is TCP port 8080. |
| Interface and port used for unauthenticated access to the SGD Gateway reflection service. The default is TCP port 81 on the localhost loopback interface. |
| Interface and port used for authenticated access to the SGD Gateway reflection service. The default is TCP port 82 on all interfaces. |
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