将所需 SRA 组件的模板属性文件从 PortalServer-base\template\sra 目录复制到 portalserver-base\ data。
模板属性文件为:
Gateway:GWConfig.properties.template
Netlet Proxy:NLPConfig.properties.template
Rewriter Proxy:RWPConfig.properties.template
启动 Directory Server。
启动 Cacao 实例。
启动 Web 容器。
编辑模板属性文件。
开启 SRA。
PortalServer-base\bin\psadmin.bat switch-sra-status -u admin-user-name -f password-file on
启用 SRA。
PortalServer-base\bin\psadmin.bat provision-sra -u admin-user-name -f password-file -p PortalName --gateway-profile gateway_profile -enable
创建 SRA 组件实例。
PortalServer-base\bin\psadmin.bat create-sra-instance -u admin-user-name -f password-file -S PortalServer-base/data/template-property-file -t gateway/nlproxy/rwproxy
启动 SRA 实例。
PortalServer-base \bin\psadmin.bat start-sra-instance -u admin-user-name -f password-file -N gateway_profile -t gateway/nlproxy/rwproxy