Use the control command to start, stop, and disable classes and virtual servers. If you do not specify a virtual server, the command starts, stops or disables every virtual server in the class.
Use the options shown in Options with the control command to control classes and virtual servers.
Table A–2 Control command options
Options |
Value |
---|---|
-start |
Starts the specified virtual server, or all virtual servers in the class if no virtual server is specified. |
-stop |
Stops the specified virtual server, or all virtual servers in the class if no virtual server is specified. |
-disable |
Disables the specified virtual server, or all virtual servers in the class if no virtual server is specified. |
HttpServerAdmin control -cl classname, -control_option [-id virtual_server] -d server_root -sinst http_instance
Use these parameters with the command options to control virtual servers
Table A–3 Control command parameters
Parameters |
Value |
---|---|
-cl classname |
Designates the virtual server class |
-id virtual_server |
(optional) Designates the virtual server ID you are controlling. |
HttpServerAdmin control -cl myclass -start -id myvirtualserver -d /usr/sun/servers -sinst https-sun.com HttpServerAdmin control -cl myclass -stop -id myvirtualserver -d /usr/sun/servers -sinst https-sun.com HttpServerAdmin control -cl myclass -disable -id myvirtualserver -d /usr/sun/servers -sinst https-sun.com