This chapter describes the following commands:
Creates a Gateway, Netlet Proxy or Rewriter Proxy instance.
create-sra-instance --adminuser uid --passwordfile password-filename --type instance-type --hostname [instance-hostname] --sraconfig sra-config-filename
create-sra-instance -u uid -f password-filename -t instance-type [-h instance-hostname] -S sra-config-filename
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 type of the SRA instance. Enter: gateway, nlproxy, or rwproxy.
Specifies the file name of the configuration file.
The following options are not required:
Specifies the host name where the instance is located.
Lists all instances of Gateway, Netlet Proxy, and Rewriter Proxy.
psadmin list-sra-instances --adminuser uid --passwordfile password-filename --type instance-type [--hostname instance-hostname]
psadmin list-sra-instances -u uid -f password-filename -t instance-type [-h instance-hostname]
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 type of Secure Remote Access instance. Enter: gateway, nlproxy, or rwproxy.
The following option is not required:
Specifies the host name where the instance is located.
Removes a Gateway, Netlet Proxy, or Rewriter Proxy instance.
psadmin delete-sra-instance --adminuser uid --passwordfile password-filename --name sra-instance-name --type instance-type --hostname instance-hostname
psadmin delete-sra-instance -u uid -f password-filename -N sra-instance-name -t instance-type -h instance-hostname
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 type of the Secure Remote Access instance. Enter: gateway, nlproxy, or rwproxy.
Lists the instance names for Gateway, Netlet Proxy and Rewriter Proxy.
The following options are not required:
Specifies the hostname where the instance is located.
Starts a Gateway, Netlet Proxy, or Rewriter Proxy instance.
psadmin start-sra-instance --adminuser uid --passwordfile password-filename --name sra-instance-name --type instance-type --hostname instance-hostname
psadmin start-sra-instance -u uid -f password-filename -N sra-instance-name -t instance-type -h instance-hostname
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 type of the SRA instance. Enter: gateway, nlproxy, or rwproxy.
Lists the instance names for Gateway, Netlet Proxy and Rewriter Proxy.
The following options are not required:
Specifies the hostname where the instance is located.
Stops a Gateway, Netlet Proxy, or Rewriter Proxy instance.
stop-sra-instance --adminuser uid --passwordfile password-filename --name sra-instance-name --type instance-type --hostname instance-hostname
stop-sra-instance -u uid -f password-filename -N sra-instance-name -t instance-type -h instance-hostname
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 type of Secure Remote Access instance. Enter: gateway, nlproxy, or rwproxy.
Lists the instance names for Gateway, Netlet Proxy and Rewriter Proxy.
The following options are not required:
Specifies the hostname where the instance is located.
Changes the Gateway logging user password.
psadmin change-loguser-password --adminuser uid --passwordfile password-filename --newpasswordfile new-password-filename --name sra-instance-name [--hostname instance-hostname]
psadmin change-loguser-password -u uid -f password-filename -F new-password-filename -N sra-instance-name -h [instance-hostname]
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 new name for the password file.
The following options are not required:
Specifies the hostname where the instance is located.
Specifies the gateway's instance name.
Configures watchdog for the Gateway, Netlet, Netfile, Proxylet, and Accesslist.
psadmin sra-watchdog --adminuser uid --passwordfile password-filename --type instance-type [--hostname instance-hostname ]on|off
psadmin sra-watchdog -u uid -f password-filename -t instance-type [-h instance-hostname] on|off
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 type of the SRA instance. Enter: gateway, nlproxy, or rwproxy.
The following options are not required:
Specifies the hostname where the instance is located.
The following operand is available:
Specifies to switch watchdog on or off for the particular instance.
Toggle the status of Secure Remote Access of the Portal domain between ON and OFF.
psadmin switch-sra-status --adminuser uid --passwordfile passwordfile [--hostname hostname --output output_file ] on | off
psadmin switch-sra-status -u uid -f passwordfile [-h hostname o output_file] on | off
The following options are required:
Specifies the administrator's distinguished name (dn) or user ID.
Specifies the administrator's password in the password file.
The following are the optional options:
Specifies the hostname where the instance is located.
Specifies a file for output.
The following operand is available:
Specifies to switch ON or OFF. That is the sra status of the portal domain.
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
Gets an attribute for a Portal Server Secure Remote Access component: Gateway, Netlet, Netfile, Proxylet, or Accesslist. If the component is gateway, use the --gateway-profile gateway-profile-filename option to specify the name to obtain the value of the attribute.
Lists all attributes for a Portal Server Secure Remote Access component: Gateway, Netlet, Netfile, Proxylet, or Accesslist. If the component is gateway, use the --gateway-profile gateway-profile-filename option to specify the name to obtain the value of the attribute.
Sets an attribute value for a Portal Server Secure Remote Access component: Gateway, Netlet, Netfile, Proxylet, or Accesslist. If the component is gateway, use the --gateway-profile gateway-profile-filename option to specify the name to obtain the value of the attribute.