Configuring a Domain
Regardless of how you specify domain values, ultimately you must run PSADMIN to generate some necessary files that include your specific values. In the following example, PSADMIN invokes another PeopleSoft executable, UBBGEN, which reads the values and format in the psappsrv.cfg, psappsrv.val, and psappsrv.ubx files, and generates the psappsrv.ubb and psappsrv.env files.
Where you see Do you want to change any config values? (y/n), regardless of what you enter, PSADMIN calls UBBGEN.
If you have already entered values manually in the psappsrv.cfg file and enter n, UBBGEN reads those values and writes to the necessary files.
If you enter y, you see the PSADMIN prompt interface, which is actually a wrapper to UBBGEN. UBBGEN reads the previous values in the psappsrv.cfg, presents those values, and allows you to change them. It presents the values in the format that is derived from reading the PSAPPSRV.UBX file, and it validates selected values based on criteria in the PSAPPSRV.VAL file.
Note:
In the previous example, UBBGEN both reads from and writes to the psappsrv.cfg file. It reads the previous values or defaults and, if any values are modified, it writes the new values to the new psappsrv.cfg file.
Here are the scenarios by which you can configure a domain:
-
Start PSADMIN, and enter values at all of the prompts.
This generates all of the necessary files automatically.
-
Edit the psappsrv.cfg file.
If you decide not to use PSADMIN you must complete the following tasks in order:
-
From the command line, create a domain based on a particular template.
-
Edit the psappsrv.cfg file in a text editor.
-
Issue the configure command from the PSADMIN command line. This is the command that calls UBBGEN. You see the following after issuing this command:
n:\<ps_home>\appserv>psadmin -c configure -d HRDOM01Performing load prechecks ... Loading validation table... Loading new configuration... Domain configuration complete.
-