适用于 UNIX 的 Sun Java Enterprise System 5 安装指南

启动和停止 Portal Server Secure Remote Access

Portal Server 的 Secure Remote Access 产品组件可提供基于浏览器的安全远程访问,允许用户从任何远程设备使用启用了 Java 技术的浏览器对 portal 内容和服务进行访问。Gateway 子组件通过单一接口从内部 Web 服务器和应用服务器向远程用户安全地提供内容。Portal Server Secure Remote Access 依赖于 Portal Server 和 Access Manager 或 Access Manager SDK。

完成安装后配置之后,按照以下说明启动和停止 Gateway。

Procedure启动 Portal Server Secure Remote Access Gateway

  1. 安装 Gateway 子组件并创建所需的配置文件后,启动 Gateway。例如:


    gateway-install-root/SUNWportal/bin/psadmin start-sra-instance --adminuser \
    amadmin --passwordfile /tmp/password --name default --type gateway

    default 是在安装期间所创建的默认网关配置文件。您可在以后创建您自己的配置文件,并且以新的配置文件启动 Gateway。

  2. 检验 Gateway 是在指定的端口上运行:


    netstat -an | grep port-number
    

    默认 Gateway 端口为 443

Procedure停止 Portal Server Secure Remote Access Gateway

  1. 停止 Gateway。例如:


    gateway-install-root/SUNWportal/bin/psadmin stop-sra-instance --adminuser /
    amadmin --passwordfile /tmp/password --name default --type gateway

    此命令将停止在该特定主机上运行的所有 Gateway 实例。

  2. 运行以下命令来检查 Gateway 进程是否已停止运行:


    /usr/bin/ps -ef | grep entsys5i