This procedure uses the psconfig command and a configuration file to create a Gateway instance. You begin with the appropriate configuration file as a template and edit the file to specify parameter values that are needed for the reference configuration.
Create a config-sra1 configuration file.
Use the example10.xml file as a template.
# cd /opt/SUNWportal/samples/psconfig
# cp example10.xml config-sra1.xml
Open the config-sra1.xml file in a text editor.
Modify config-sra1.xml to use the values in the following table.
Parameter |
Value |
---|---|
ConfigurationHostName |
sra1.pstest.com |
AdministratorUID |
amadmin |
AdministratorUserPassword |
access-manager-admin-password |
LDAPUserId |
amldapuser |
LDAPUserIdPassword |
access-manager-LDAP-password |
DirectoryManagerDn |
cn=Directory Manager |
directory-manager-password |
directory-manager-password |
PortalAccessURL |
http://ps.pstest.com:80/portal |
PrimaryPortalHost |
ps1.pstest.com |
Protocol |
https |
Host |
sra1.pstest.com |
Port |
443 |
IPAddress |
10.0.4.1 |
LogUserPassword |
log-user-password |
RestrictiveMode |
true |
Organization |
your-organization |
Division |
your-division |
CityOrLocality |
your-city |
StateProvince |
your-state |
CountryCode |
your-country |
CertificateDatabasePassword |
cert-DB-password |
The modified config-sra1.xml file is reproduced in Example Configuration File: Gateway Instance on sra1.
Run the psconfig command with the configuration file input.
# cd /opt/SUNWportal/bin
# ./psconfig --config /opt/SUNWportal/samples/psconfig/config-sra1.xml
The output should resemble the following:
Creating directory: /etc/opt/SUNWportal Copying config templates from: /opt/SUNWportal/template/config Successfully created PortalDomainConfig.properties file Validating the Input Config XML File Configuring Cacao Agent for Portal Software Connecting to Cacao MBean Server ... Closing MBean Server connection Resetting log level Configuration successful