Skip to content

Fix NativeOS DPK Issues on Windows

The NativeOS DPK’s for PeopleSoft Images are a welcome change. With the NativeOS DPK, you can deploy the PeopleSoft Images on Windows. This is great news for PeopleSoft customers who run Windows; the PeopleSoft Image can be on the same platform as the rest of your systems. The DPK process is great. There are so many advantages with DPK over the previous methods, but there are a few rough edges in the DPK process. Here are some changes I made to our HR 9.2 Image 16 virtual machine. We ran the NativeOS DPK on this Windows 2012 R2 server, with no changes to the configuration.

Services

The DPK installation will create a Windows service for the PIA, but no service is created for the Tuxedo domains. And, the services are set to “Manual”. So, when you reboot the VM, the web, app and batch server’s won’t start. This is an easy fix, but an annoying change to make when the DPK’s are supposed to automate everything. In psadmin,

  1. Select “Services Setup” option (6).
  2. Select “Configure Windows Service” (1).
  3. Enter “Y” to change the values.
  4. Enter “Y” to change the values (yes, you have to do this twice…)
  5. I changed the service delay to 10.
  6. Add APPDOM for the Application Server Domain.
  7. Add PRCSDOM for the Process Scheduler Domain.
  8. Leave the Search Server Domain blank
  9. Enter “N” – we are done with our chagnes.
  10. On the Services Administraton menu, select “Install Windows Service” (2).

Now we have a service for the Tuxedo domains, but the service is configured to start manually. Let’s go change that.

  1. From the Start menu, select Run and enter services.msc.
  2. Find the new service “PeopleSoft …” and double-click it.
  3. Change the Startup Type to “Automatic” and close the window.

We also want to change the PIA service to start automatically.

  1. Find the service “PIA Domain peoplesoft Service” and double-click it.
  2. Change the Startup Type to “Automatic” and close the window. The same is true for the Oracle services.

Let’s set those to start automatically.

  1. Find the service “OracleServiceCDBxxx” and double-click it.
  2. Change the Startup Type to “Automatic” and close the window.
  3. Find the service “OracleOraDB12cHomeTNSListener” and double-click it.
  4. Change the Startup Type to “Automatic” and close the window. The next time you reboot the server, your PeopleSoft and Oracle services will start automatically. But, you’ll probably run into this next error on the reboot.

Oracle Listener

After rebooting the NativeOS DPK installed server, the Oracle listener cannot find the database, which also prevents the app and batch server from starting. If you try to connect to the database you’ll get a

ORA-12514: TNS:listner does not currently know of service requested in connect descriptor error. This is a pretty easy fix (although I spent a few hours testing many different “fixes”). Change the port number for the Listener.

UPDATE: There is a different/better way to make this change if you haven’t run the DPK for your PeopleSoft Image yet

  1. In the tnsnames.ora file, change the port to 1521. The DPK default path is [base folder]dbtnsnames.ora
  2. In the listner.ora file, change the port to 1521. The DPK default path is [base folder]dboracle-server12.1.0.2networkadminlistener.ora. Restart the Oracle services and test your listener configuration. From the command prompt, try to connect to the database with SQL*Plus:

sqlplus sysadm/sysadm@hr92u016

Once you can connect to the database, you can boot the app and batch servers. Or, reboot the entire server and make sure all the services start automatically.

Final Thoughts

While there are some issues with the DPK process right now, it’s easy to get frustrated. The effort to build the DPK’s was incredible and a huge task. So, it’s not surprising that there are some rough edges with the DPK’s and the new PeopleSoft Image process. But, I’m trying to keep an eye on where these changes are taking us. The DPK’s are a very large undertaking from the PeopleTools group and will substantially improve the way we manage PeopleSoft installations.

5 thoughts on “Fix NativeOS DPK Issues on Windows”

  1. Pingback: Fix NativeOS DPK Issues on Windows | Dinesh Ram Kali.

  2. Pingback: Fix NativeOS DPK Issues on Windows (Part 2) – psadmin.io

  3. Hi Dan,

    Thanks for the excellent information & truly helpful posts regarding the NativeOS installation.

    I am running through following problem,

    I have PeopleSoft FS 8.55 installed on my machine. Now I want to add campus module to it. I followed the steps as mentioned, But I received an error at step,
    ‘Deploying oracle database error’ – FAILED

    Error message in logs –
    /Stage[main]/Pt_profile::Pt_oracleserver/Pt_deploy_oracleserver[oracleserver]/ensure (err): change from ‘absent’ to ‘present’ failed: Oracle server listener port 1521 already in use
    psft_environment.py DEBUG : Puppet apply of [pt_profile::pt_oracleserver] failed

    I tried changing the port but no success. Can you please help?

  4. Hi,

    I am installing campus solution pum image 25 on windows machine. However, it is failing while deploying the database. Tried multiple time but no luck.

    Fresh — Demo —Default method

    1] jdk 11 installed.

    2] Set-ExecutionPolicy unrestricted

    3] Doc ID 2805939.1 — Perform installation in C drive only — Done

    4] Doc ID 2855367.1 —- To have 8GB minimum RAM available — Available

    5] Disabled the Antivirus

    6] Disable firewall

    Logs:-

    2022-05-24 19:58:54 +0530 Puppet Error: Installation of oracle home C:\PSHOME\db\oracle-server\19.3.0.0 failed, error:

    C:/PSHOME/dpk/puppet/production/modules/pt_deploy/lib/pt_deploy_utils/database.rb:277:in `block in install_oracle_home’

    2022-05-24 19:58:54 +0530 Puppet Error: /Stage[main]/Pt_profile::Pt_oracleserver/Pt_deploy_oracleserver[oracleserver]/ensure: change from ‘absent’ to ‘present’ failed: Installation of oracle home C:\PSHOME\db\oracle-server\19.3.0.0 failed, error:

    2022-05-24 19:58:54 +0530 Puppet Debug: Class[Pt_profile::Pt_oracleserver]: Resource is being skipped, unscheduling all events

    2022-05-24 19:58:54 +0530 Puppet Info: Class[Pt_profile::Pt_oracleserver]: Unscheduling all events on Class[Pt_profile::Pt_oracleserver]

    2022-05-24T19:58:55India Standard Time psft_environment.py DEBUG : Puppet apply of [pt_profile::pt_oracleserver] failed

    2022-05-24T19:58:55India Standard Time psftutils.py DEBUG : Script execution ended at [2022-05-24:19:58:55]

    2022-05-24T19:58:55India Standard Time psftutils.py DEBUG : Script execution status [Failed], time taken [00:20:57]

    1. Hi Nitin,
      Were you able to get through this issue? I’m preforming a Native install of PUM 45 and receiving the same error as you. Please respond if and when you see my email. Thanks in advance for your help!

Leave a Reply to Nitin Patil Cancel reply

Your email address will not be published. Required fields are marked *