For portal and psconsole to be accessed through gateway, the related URLs must be added to the Non-Authenticated URLs of the gateway profile and certain entries should be added to the Map URIs to Rulesets of the gateway profile. Also portal URL should be added to the URLs to which User Session Cookie is forwarded. Cookie management should be enabled if psconsole is to be accessed through the gateway. The psadmin provision-sra command provides a simpler way to perform these steps. It uses the abstraction provided by the framework in terms of portal-Id and instance-Id for generating the URLs.
psadmin provision-sra --adminuser admin_user [--passwordfile password_file] [--debug] [--portal portal_id] [--loadbalancer-url protocol://loadbalancer_host:loadbalancer_port/portaluri] [--instance instance_id] [--console] [--console-url protocol://console_host:console_port/psconsoleuri] --gateway-profile gateway_profile --enable|--disable
psadmin provision-sra -u admin_user -f password_file [--debug] [-p portal_id] [--loadbalancer-url protocol://loadbalancer_host:loadbalancer_port/portaluri] [-i instance_id] [--console] [--console-url protocol://console_host:console_port/psconsoleuri] --gateway-profile gateway_profile --enable|--disable
The following options are required:
Specifies the administrator's distinguished name (DN) or user ID.
Specifies the administrator's password in the password file.
Specifies the SRA profile name.
The following options are optional:
Specifies the identifier of the Portal that this command is operated on.
Specify the URL of the load balancer if portal is being accessed through a load balancer.
Specifies the identifier of the Portal Server Instance.
Specifies whether the psconsole related URLs should be added to the Non-Authenticated URLs of the psconsole.
Access URL of psconsole. If --console-url is not specified and the --console option is present, then /psconsole will be used as the console URI.
This flag is used for debugging purpose only, set this flag to true to see exceptions that caused the error. (false)
For enabling SRA access for portal and/or psconsole.
For disabling SRA access for portal and/or psconsole