Вы находитесь на странице: 1из 7

How to change the P6 EPPM schema password?

Author: Vinoth Kumar Subramani


Here are the steps to change the Primavera P6 EPPM DB schema password.
Check the DB status:
SQL> select name, open_mode from v$database;
NAME OPEN_MODE
--------- -------------------TMTN5O READ WRITE
SQL> show user;
USER is "SYS"
SQL>

select username,ACCOUNT_STATUS,EXPIRY_DATE from dba_users;


USERNAME
ACCOUNT_STATUS
EXPIRY_DA
------------------------------ -------------------------------- --------PXRPTUSER
OPEN
ADMUSER
OPEN
PRIVUSER
OPEN
BGJOBUSER
OPEN
PUBUSER
OPEN

Connect the DB as a sys user and reset the password for the following five P6 schemas:

SQL> alter user ADMUSER identified by Rw9Gkrqj;


User altered.
SQL> alter user PRIVUSER identified by Rw9Gkrqj;
User altered.
SQL> alter user PUBUSER identified by Rw9Gkrqj;
User altered.
SQL> alter user PXRPTUSER identified by Rw9Gkrqj;
User altered.

SQL> alter user BGJOBUSER identified by Rw9Gkrqj;


User altered.
Update the PRIVUSER password in databaselogins.sh.
Reference: How to Administer the Private Database Login Username and Password for P6 EPPM R8.x
(Doc ID 1348248.1)
Run the databaselogins.sh

Enter new password of privuser and other details as shown below. (Select Service if its cluster
environment else, select as SID.)

Find out the hostname and port details from the tnsnames.ora file.

Click Update Password and then save and press OK.

Note:
Dont invoke the ./adminpv.sh immediately after updating the PRIVUSER password. You will get the ORA
error like invalid username/password.
You need to invoke the ./dbconfigpv.sh and after complete this you can invoke the ./adminpv.sh file.
Run dbconfigpv.sh
Invoke the dbconfigpv.sh file from the P6 home.

Select Oracle and click Next.

Provide the new password for the pubuser and the required details and click Next. (Select Service if its
cluster environment else, select as SID.)

Select currently using the configuration file from the existing configuration and click Next. (Check the
BREBootStrap.xml file in P6 home.)

Click OK to come out from the Database Configuration wizard.


Run adminpv.sh
Invoke./adminpv.sh to test the new privuser credentials.
Modify the pubuser password to new password in the database section of the P6 configuration file and
also for P6 Web Services configuration file.

Provide the new privuser password.

Update pubuser new password under Primavera P6 Configuration_1->Database->instance[1]>password: and click Save Changes.

Click OK and come out of the wizard. Then start the services and do the sanity checks.

Вам также может понравиться