server task virtualhost online
The server task virtualhost online command places the server that is located at this virtual host junction in an online operational state.
Requires authentication (administrator ID and password) to use this command.
Syntax
server task instance_name-webseald-host_name virtualhost online [–i server_uuid] vhost_label
Description
The server task virtualhost online command places the server that is located at this virtual host junction in an online operational state. The server now resumes normal operation. If a server is not specified, all servers that are located at this virtual host junction are placed in an online operational state.
Options
- instance_name-webseald-host_name
- Specifies the full server name of the installed WebSEAL instance.
You must specify this full server name in the exact format as displayed
in the output of the server list command.
The instance_name specifies the configured name of the WebSEAL instance. The
websealddesignation indicates that the WebSEAL service performs the command task. The host_name is the name of the physical machine where the WebSEAL server is installed.For example, if the configured name of a single WebSEAL instance is
default, and host machine name where the WebSEAL server is installed isabc.ibm.com, the full WebSEAL server name isdefault-webseald-abc.ibm.com.If an additional WebSEAL instance is configured and named
web2, the full WebSEAL server name isweb2-webseald-abc.ibm.com. - –i server_uuid
- UUID of the server to place in an online operational state. If a server is not specified, all servers that are located at this virtual host junction are placed in an online operational state. Use the server task virtualhost show command to determine the ID of a specific back-end server.
- vhost_label
- Specifies the label name of the virtual host junction.
Authorization
Users and groups that require
access to this command must be given the c (control)
permission in the ACL that governs the /WebSEAL/host_name-instance_name/@vhost_label object.
For example, the sec_master administrative
user has permission by default.
Return codes
- 0
- The command completed successfully. Note: For WebSEAL server task commands, the return code will be
0when the command is sent to the WebSEAL server without errors. Even if the command was successfully sent, the WebSEAL server might not be able to successfully complete the command and can return an error message. - 1
- The command failed. When a command fails, the pdadmin command provides a
description of the error and an error status code in hexadecimal format (for example,
0x14c012f2).See "Error messages" in the IBM Knowledge Center which provides a list of the Verify Identity Access error messages by decimal or hexadecimal codes.
Examples
In the following example, the
virtual host junction with the label support-vhost-https,
configured on the WebSEAL server abc.ibm.com, supports
the virtual host support.ibm.com, located on the
back-end junctioned server int3.ibm.com.
int3.ibm.com server
in an online operational state. To determine the UUID of this junctioned
server, run the server task virtualhost show command
(entered as one line): pdadmin> server task default-webseald-abc.ibm.com
virtualhost show support-vhost-https Output is similar
to: Virtual Host label: support-vhost-https
Type: SSL
...
Virtual hostname: support.ibm.com
Alias: ibm.com
Alias: support
Virtual Host junction protocol partner: support-vhost-http
Server 1:
ID: bacecc66-13ce-11d8-8f0a-09267ea5aa77
Server State: running
Operational State: Offline
Hostname: int3.ibm.com
Port: 443
Server DN:
Query_contents URL: /cgi-bin/query_contents
Query-contents: unknown
Case insensitive URLs: no
Allow Windows-style URLs: yes
Current requests: 0
Total requests: 1pdadmin> server task default-webseald-cruz virtualhost online
-i bacecc66-13ce-11d8-8f0a-09267ea5aa77 support-vhost-httpsSee also
server task offline
server task online
server task throttle
server task virtualhost offline
server task virtualhost throttle