Creating a Configuration and Key File
Starting and Stopping Servers > Configuring the Node Manager to Start and Stop Servers > Using the WebLogic Scripting Tool on Linux or UNIX
In order to automate the startup of the administration server and managed servers of your P6 EPPM deployment, you must create a configuration (userConfigFile
) and key (userKeyFile) file. For more information about configuration and key files, refer to the Oracle Fusion Middleware Command Reference for Oracle WebLogic Server guide.
To create a configuration and key file:
- Start the WebLogic Domain's Administration Server by launching startWebLogic.sh
<WebLogic_Home>/user_projects/domains/<P6_EPPM_Domain>/bin/
Where:
- <WebLogic_Home> is the WebLogic home directory. The default is Oracle/Middleware/Oracle_Home.
- <P6_EPPM_Domain> is the WebLogic domain for P6 EPPM that was set during configuration.
- Browse to the P6 home directory and create a new directory called scripts.
- Open the terminal console and run the following commands:
cd <WebLogic_Home>/user_projects/domains/<P6_EPPM_Domain>/bin
source setDomainEnv.sh
<Java_Home>/bin/java.exe weblogic.WLST
Note: If the <Java_Home> directory contains a space in the path, it should include quotations around the full path and executable being called.
Where:
- <Java_Home> is the path to the JDK that is used by WebLogic.
- <WebLogic_Home> is the WebLogic home directory. The default is Oracle/Middleware/Oracle_Home.
- <P6_EPPM_Domain> is the WebLogic domain for P6 EPPM that was set during configuration.
- At the wls:/offline> prompt, enter the following command:
connect('<WebLogic_Username>','<WebLogic_User_Password>','<Admin_Server_Hostname>:<Admin_Server_Port>')
Where:
- <WebLogic_Username> is the name of the WebLogic administrator user for the domain.
- <WebLogic_Password> is the password for the weblogic administrator.
- <Admin_Server_Hostname> is the hostname where the administration server was installed.
- <Admin_Server_Port> is the port number of administration server.
- At the wls:/mydomain/serverConfig> prompt, enter the following command:
storeUserConfig('<P6_EPPM_Home>/scripts/primaveraConfig.secure', '<P6_EPPM_Home>/scripts/primaveraKeyfile.secure')
Where: <P6_EPPM_Home> is the P6 EPPM home directory that was set during installation.
- Enter y at the following prompt:
Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Do you want to create the key file? y or n
- Confirm that the following two files were created under the
<P6_EPPM_Home>/scripts
directory:primaveraConfig.secure and primaveraKeyfile.secure
If these files were not created, repeat the previous steps.
Related Topics
Using the WebLogic Scripting Tool on Linux or UNIX
Associating the Administration Server with Machines on a P6 EPPM Domain
Configure a boot.properties File for the Administration and Managed Servers
Using WebLogic Scripting to Start the P6 EPPM WebLogic Domain
Using WebLogic Scripting to Stop the WebLogic Domain for P6 EPPM
Daemonizing the P6 EPPM WebLogic Domain Processes
Starting the Node Manager with WebLogic
Setting the Node Manager as a Windows Service
Last Published Monday, November 4, 2024