Setting Up the Report Repository

Defining ReportRepositoryPath

The ReportRepositoryPath specifies the location of a directory for the Report Repository. You can specify the location for the Report Repository Path on the General page of the Web Profile during installation. If you do not set the location in the Web Profile, the location given by ReportRepositoryPath in the configuration.properties file is used for the default location. Note that the value entered for Report Repository Path in the Web Profile overrides any entry in the configuration.properties file.

See PeopleTools: Portal Technology, "Configuring Web Profiles."

Use the following formats to enter the name for the directory that you want to use for the ReportRepositoryPath. The examples below give the default values. Note that you must use a forward slash ('/') in both cases:

Microsoft Windows: ReportRepositoryPath=c:/psreports

Defining the Report Node to Use HTTP/HTTPS

To define the report node to use HTTP/HTTPS:

  1. Select PeopleTools > Process Scheduler > Process Scheduler Report Nodes.

  2. Select the Add a New Value link and enter the Report node name.

  3. On the Report Node Definition page, select HTTP or HTTPS from the Protocol drop-down list.

    Select the HTTP option if you are not using SSL. Select the HTTPS option if you are using SSL. The pages for HTTP and HTTPS have the same fields. These examples show HTTP.

    Note that if you are using SSL you need to have Client Certificates installed on your web server.

    Figure 20-7 Report Node Definition page for the HTTP protocol

    Report Node Definition page for the HTTP protocol
  4. Enter the following information in the Distribution Node Details area:

    • URLID: Enter the URL of the web server using the following format:

      http://<machine_name>
                                 :
                                 <port_number>/psreports/<site_name>
                              

      Replace <machine_name> with the name of your machine. Use the fully qualified host name for your web server. If you are using an HTTP or HTTPS port other than the defaults, you need to specify the port number.

      Note:

      If you specify the Authentication Token Domain name during the PIA installation, you must include a fully qualified domain name for the URL instead of the IP address.

    • Description: Enter a description of the server (optional).

    • Operating System: Select the web server operating system, Windows or UNIX.

  5. Enter the following information in the Login Details area:

    • Login ID: Enter the Login ID. This is not required, unless basic authentication has been set up on the web server by the Web Administrator.

    • Password and Confirm Password: Enter the password, and confirm it, for the user ID specified in the Login ID field. This is not required, unless basic authentication has been set up on the web server by the Web Administrator.

      Note:

      The setup of authentication is optional, but is recommended for security of the Report Repository when using the HTTP to transfer files. For information on setting up authentication on the web server where the Report Repository resides, refer to the PeopleTools: Security Administration product documentation.

  6. Enter the following information in the URI Details area:

    • URI Host: Enter the machine name for the report repository.

      Note:

      In a basic setup, the machine name for the report repository will match the machine name of the web server URL. However, under certain circumstances—for example, if you are using a reverse proxy server—the URL and URI Host may have different machine names.

    • URI Port: Enter the port number, which must match the port number of your web server (defaults are HTTP = 80, HTTPS = 443). If you change a port number you will lose the default values for both protocols.

    • URI Resource: Enter SchedulerTransfer/<site name>.

  7. Click Save to save your entries.

  8. Click Validate to confirm that your entries are complete and correct.

    The validation confirms that the necessary parameters are present and correct, and simulates a file transfer with the entered information. You either see a message that confirms the success of the validation, or a message that displays an error for missing parameters or an unsuccessful transfer simulation.

  9. To add additional report nodes, click Add to return to the Search page.

Defining the Report Node to Use XCOPY

To define the report node to use XCOPY:

  1. Select PeopleTools > Process Scheduler > Process Scheduler Report Nodes.

  2. Select Add a New Value, enter the Report node name, and click Add.

  3. On the Report Node Definition page, select XCOPY from the Protocol drop-down list.

    Figure 20-8 Report Node Definition page for the XCOPY protocol

    Report Node Definition page for the XCOPY protocol
  4. Enter the following information in the Distribution Node Details area:

    • URLID: Enter the URL of the web server using this format:

      http://<machine_name>:<port_number>/psreports/<site_name>
                              

      Replace <machine name> with the name of your web server. Replace <site name> with the directory where you installed the PIA files.

      If you installed the web server software with the default TCP port of 80, you do not need to specify the port number in the URL path. However, if you installed the web server to some other port, you must specify the port number in the URL path.

    • Description: Enter an optional description for the node.

    • Network Path: Enter the path that points to your Report Repository share, using this format (where <machine_name> refers to the web server machine):

      \\<machine_name>\psreports

      Make sure that this directory is shared with the login accounts used to start Process Scheduler. Use UNC format instead of mapped drive format.

  5. Select Save to save your entries.

  6. Click Validate to confirm that your entries are correct.

    The validation confirms that the necessary parameters are present and correct, and simulates a file transfer with the entered information. You either see a message that confirms the success of the validation, or a message that displays an error for missing parameters or an unsuccessful transfer simulation.

  7. To add additional report nodes, select Add to return to the Search page.

Defining the Report Node to Use FTP

If you use the FTP report node protocol, note that:

  • If your FTP server is a Microsoft Windows server, you may have to set up the FTP service.

  • The Distribution Agent will perform a validation after FTP has transferred files into the Report Repository by sending a query request to the web server. For this task to be completed, it is critical that the value entered in the URL is accurate. Verify that the machine name, port number, and site number that you specify are correct.

    If this setup is not completed, the process request will get a status of NOT POSTED in the Process Monitor Detail page and will log the message “Unable to verify files posted.”

To define the report node to use FTP:

  1. Select PeopleTools > Process Scheduler > Process Scheduler Report Nodes.

  2. Select Add a New Value, enter the Report node name, and click Add.

  3. On the Report Node Definition page, select FTP from the Protocol drop-down list.

    Figure 20-9 Report Node Definition page for the FTP protocol

    Report Node Definition page for the FTP protocol
  4. In the Distribution Node Details area, enter the following information:

    • URLID: Enter the URL of the web server using this format:

      http://<machine_name>:<port_number>/psreports/<site_name>
                              

      Replace <machine name> with the name of your web server. If you are using an HTTP port other than 80, you need to specify the port number. The variable <site name> refers to the directory where you installed the PIA files; this will default to ps for the first installation.

      Note:

      If you specify the Authentication Token Domain name during the PIA installation, you must include a fully qualified domain name for the URL instead of the IP address.

      Note:

      If you installed the web server software with the default TCP port of 80, you do not need to specify the port number in the URL path. However, if you installed the web server to some other port, you must specify the port number in the URL path.

    • Description: Enter a description of the server (optional).

    • Operating System: Select the operating system of the Report Repository, Windows or UNIX.

    • Network Path: This information is not required for the FTP protocol

  5. In the Login Details area, enter the following information:

    • Login ID: Enter the FTP User ID.

    • Password and Confirm Password: Enter the password, and enter it a second time, for the FTP User ID specified in the Login ID field.

  6. In the File Transfer Details area, enter the following information:

    • Home Directory: Enter the directory specified during the PIA installation as the Report Repository. The FTP User ID must have write access to this directory. Note that this is not a required field for FTP transfer, as the system uses the Report Repository directory specified at install time or the current directory assigned to ReportRepositoryPath in configuration.properties. Note that the value you enter for the Report Repository Path in the Web Profile at install time overrides any entry for ReportRepositoryPath in configuration.properties.

      For Microsoft Windows operating systems, the directory needs to match the Report Repository path. Make sure that you do not include any drive information—as in c:\psreports\—because you are using the FTP protocol to interpret this parameter.

    • FTP Address: Enter the machine name or the IP address of the Report Repository. If the name of the machine is used, it must be included on a DNS server.

  7. If you need to specify additional properties, use the Connection Properties area. Specifying the Connection Properties is optional.

    Click the lookup button (magnifying glass) and select one of the properties in the following table. Click the plus sign to add another connection property.

    Property Name Property Value

    ACTIVEMODE

    To enable active mode, add the ACTIVEMODE property to the URL and set it to Y.

    The default FTP connection mode is extended passive mode.

    ACTIVEPORTOPTION

    This property can be used along with ACTIVEMODE. When active mode is enabled, you can use ACTIVEPORTOPTION to specify the IP address and port on which the FTP server can be accessed. This is useful when the server is behind a firewall. By default, ACTIVEPORTOPTION uses the default IP address of your system. If you want to use a particular IP address, set the ACTIVEPORTOPTION value to either the full IP address, a host name to resolve to an IP address, or a local network interface name.

    You can also specify a port range. For example: 10.176.147.111:10000-13000

    ENABLEEPRT

    This option can be used only with Active Mode. If Active Mode is enabled and ENABLEEPRT is set to N, then the system will use a PORT (IPv4) Active Mode connection.

    By default, ENABLEEPRT is Y, if Active Mode is set to Y.

    EXTENDEDPASSIVEMODE

    • 0: Disable EPSV

    • 1: Enable EPSV

    This property enables you to control whether extended passive mode (EPSV) will be used by FTP.

    EPSV is used by default. That is, by default, this value is considered to be 1.

    If the client fails to connect to the server with EPSV, then the system will try passive mode (PASV). To use PASV only, add EXTENDEDPASSIVEMODE to the URL Properties and set it to 0.

    JKSPASSWORD

    Specify the Java keystore (JKS) password.

    JKSPATH

    Specify the Java keystore (JKS) path.

    PASSWORD

    Specify the password associated with the USER property, which identifies the FTP User ID.

    USER

    Specify the FTP User ID used for authentication when accessing the FTP site.

  8. If you need to specify an encrypted password in any of the property fields, use the Password Encryption area to generate the encrypted password, as follows:

    1. In the Password field, enter a password.

    2. In the Confirm Password field, enter the password again.

    3. Click Encrypt.

      The encrypted password is displayed in the Encrypted Password field.

    4. From the Encrypted Password field, cut the encrypted password and then copy the encrypted value to the appropriate location.

  9. Select Save to save your entries.

  10. Click Validate to confirm that your entries are correct.

    The validation confirms that the necessary parameters are present and correct, and simulates a file transfer with the entered information. You either see a message that confirms the success of the validation, or a message that displays an error for missing parameters or an unsuccessful transfer simulation.

  11. To add additional report nodes, click Add to return to the Search page.

Defining the Report Node to Use FTPS

To define the report node to use FTPS:

  1. Select PeopleTools > Process Scheduler > Process Scheduler Report Nodes.

  2. Select Add a New Value, enter the Report node name, and click Add.

  3. On the Report Node Definition page, select FTPS from the Protocol drop-down list.

    Figure 20-10 Report Node Definition page for the FTPS protocol

    Report Node Definition page for the FTPS protocol
  4. In the Distribution Node Details area, enter the following information:

    • URLID: Enter the URL of the web server using this format:

      http://<machine_name>:<port_number>/psreports/<site_name>
                              

      Replace <machine name> with the name of your web server. If you are using an HTTP port other than 80, you need to specify the port number. The variable <site name> refers to the directory where you installed the PIA files; this will default to ps for the first installation.

      Note:

      If you specify the Authentication Token Domain name during the PIA installation, you must include a fully qualified domain name for the URL instead of the IP address.

      Note:

      If you installed the web server software with the default TCP port of 80, you do not need to specify the port number in the URL path. However, if you installed the web server to some other port, you must specify the port number in the URL path.

    • Description: Enter a description of the server (optional).

    • Operating System: Select the operating system of the Report Repository, Windows or UNIX.

    • Network Path: This information is not required for the FTPS protocol.

  5. In the Login Details area, enter the following information:

    • Login ID: Enter the FTP User ID.

    • Password and Confirm Password: Enter the password, and enter it a second time, for the user ID specified in the Login ID field.

  6. In the File Transfer Details area, enter the following information:

    • Home Directory: Enter the directory specified during the PIA installation as the Report Repository. The FTP User ID must have write access to this directory. Note that this is not a required field for FTP transfer, as the system uses the Report Repository directory specified at install time or the current directory assigned to ReportRepositoryPath in configuration.properties. Note that the value you enter for the Report Repository Path in the Web Profile at install time overrides any entry for ReportRepositoryPath in configuration.properties.

      For Microsoft Windows operating systems, the directory needs to match the Report Repository path. Make sure that you do not include any drive information—as in c:\psreports\—because you are using the FTP protocol to interpret this parameter.

    • FTP Address: Enter the machine name or the IP address of the Report Repository. If the name of the machine is used, it must be included on a DNS server.

    • SSL Mode: Select Explicit or Implicit from the drop-down list.

      These are two separate methods developed to invoke the client security for use with FTP clients. With the explicit mode, FTPS-aware clients can invoke security with an FTPS-aware server without breaking overall FTP functionality with non-FTPS-aware clients. The implicit method requires that all clients of the FTPS server be aware that SSL is to be used on the session, and thus is incompatible with non-FTPS-aware clients.

  7. In the Connection Properties area, click the lookup button (magnifying glass) and select one of the properties in the following table:

    Click the plus sign to add another connection property.

    Property Name Property Value

    ACTIVEMODE

    To enable active mode, add the ACTIVEMODE property to the URL and set it to Y.

    The default FTPS connection mode is extended passive mode.

    ACTIVEPORTOPTION

    This property can be used along with ACTIVEMODE. When active mode is enabled, you can use ACTIVEPORTOPTION to specify the IP address and port on which the FTP server can be accessed. This is useful when the server is behind a firewall. By default, ACTIVEPORTOPTION uses the default IP address of your system. If you want to use a particular IP address, set the ACTIVEPORTOPTION value to either the full IP address, a host name to resolve to an IP address, or a local network interface name.

    You can also specify a port range. For example: 10.176.147.111:10000-13000

    CERTALIAS

    Certificate Alias: The Certificate Alias must be an alias name of a certificate stored in the database (using the PeopleSoft PeopleTools Digital Certificates page).

    Note: Currently, only PEM certificates are supported for FTPS.

    ENABLEEPRT

    This option can be used only with Active Mode. If Active Mode is enabled and ENABLEEPRT is set to N, then the system will use a PORT (IPv4) Active Mode connection.

    By default, ENABLEEPRT is Y, if Active Mode is set to Y.

    EXTENDEDPASSIVEMODE

    • 0: Disable EPSV

    • 1: Enable EPSV

    This property enables you to control whether extended passive mode (EPSV) will be used by FTP.

    EPSV is used by default. That is, by default, this value is considered to be 1.

    If the client fails to connect to the server with EPSV, then the system will try passive mode (PASV). To use PASV only, add EXTENDEDPASSIVEMODE to the URL Properties and set it to 0.

    JKSPASSWORD

    Specify the Java keystore (JKS) password.

    JKSPATH

    Specify the Java keystore (JKS) user.

    KEYSTOREPASSWORD

    This property is required for FTPS and HTTPS repositories. For attachments transferred from the PeopleSoft system to the FTPS or HTTPS repository, the system retrieves the key pair for the client certificate from the digital certificate store and writes the pair to a file in PKCS12 format with password protection. The value of this property will be used as the password for the PKCS12 file.

    The PKCS12 file enables connection and file transfer, and it exists only temporarily in <PS_SERVDIR>\files\<CERT ALIAS NAME> for the duration of the file transfer. The system deletes the file after the file transfer transaction.

    Note: If the system fails to delete the certificate alias file, a message will be written to the application server log. The maximum number of files that can exist at any time is equal to the total number of FTPS and HTTPS URL identifiers defined in the system.

    For information on setting the PS_SERVDIR environment variable, see the PeopleTools: Integration Broker product documentation.

    PASSWORD

    Specify the password associated with the USER property, which identifies the FTP User ID.

    SSLUAGELEVEL

    • 0 - No SSL: No SSL will be used.

    • 1 - Try SSL: Try using SSL, but proceed as normal otherwise.

    • 2 - Control: Require SSL for the control connection.

    • 3 - SSL Only: (Default) Require SSL for all communication.

    USER

    Specify the FTP User ID used for authentication when accessing the FTP site.

    VERIFYHOST

    • 0: Do not verify the server for host name.

    • 1: Check if there exists any value in the common name field in the server certificate. This check does not verify if it matches with what the client specifies.

    • 2: (Default) Check for a match with the host name in the URL with the common name or Subject Alternate field in the server certificate.

    VERIFYPEER

    • False: Do not verify the peer.

    • True: (Default) Verify the peer by authenticating the certificate sent by the server.

  8. If you need to specify an encrypted password in any of the property fields, use the Password Encryption area to generate the encrypted password, as follows:

    1. In the Password field, enter a password.

    2. In the Confirm Password field, enter the password again.

    3. Click Encrypt.

      The encrypted password is displayed in the Encrypted Password field.

    4. From the Encrypted Password field, cut the encrypted password and then copy the encrypted value to the appropriate location.

  9. Select Save to save your entries.

  10. Click Validate to confirm that your entries are correct.

    The validation confirms that the necessary parameters are present and correct, and simulates a file transfer with the entered information. You either see a message that confirms the success of the validation, or a message that displays an error for missing parameters or an unsuccessful transfer simulation.

  11. To add additional report nodes, click Add to return to the Search page.

Defining the Report Node to Use SFTP

To define the report node to use SFTP:

  1. Select PeopleTools > Process Scheduler > Process Scheduler Report Nodes.

  2. Select Add a New Value, enter the Report node name, and click Add.

  3. On the Report Node Definition page, select SFTP from the Protocol drop-down list.

    Figure 20-11 Report Node Definition page for the SFTP protocol

    Report Node Definition page for the SFTP protocol
  4. In the Distribution Node Details area, enter the following information:

    • URLID: Enter the URL of the web server using this format:

      http://<machine_name>:<port_number>/psreports/<site_name>
                              

      Replace <machine name> with the name of your web server. If you are using an HTTP port other than 80, you need to specify the port number. The variable <site name> refers to the directory where you installed the PIA files; this will default to ps for the first installation.

      Note:

      If you specify the Authentication Token Domain name during the PIA installation, you must include a fully qualified domain name for the URL instead of the IP address.

      Note:

      If you installed the web server software with the default TCP port of 80, you do not need to specify the port number in the URL path. However, if you installed the web server to some other port, you must specify the port number in the URL path.

    • Description: Enter a description of the server (optional).

    • Operating System: Select the operating system of the Report Repository, Windows or UNIX.

    • Network Path: This information is not required for the SFTP protocol.

  5. In the Login Details area, enter the following information:

    • Login ID: Enter the FTP User ID.

    • Password and Confirm Password: Enter the password, and enter it a second time, for the user ID specified in the Login ID field.

  6. In the File Transfer Details area, enter the following information:

    • Home Directory: Enter the directory specified during the PIA installation as the Report Repository. The FTP User ID must have write access to this directory. Note that this is not a required field for FTP transfer, as the system uses the Report Repository directory specified at install time or the current directory assigned to ReportRepositoryPath in configuration.properties. Note that the value you enter for the Report Repository Path in the Web Profile at install time overrides any entry for ReportRepositoryPath in configuration.properties.

      For Microsoft Windows operating systems, the directory needs to match the Report Repository path. Make sure that you do not include any drive information—as in c:\psreports\—because you are using the FTP protocol to interpret this parameter.

    • FTP Address: Enter the machine name or the IP address of the Report Repository. If the name of the machine is used, it must be included on a DNS server.

  7. In the Connection Properties area, click the lookup button (magnifying glass) and select one of the properties in the following table.

    Click the plus sign to add additional connection properties.

    Property Name Property Value

    AUTHTYPE

    Select one of the following the authentication types:

    • PUBLICKEY

    • PASSWORD

    • ANY

    PASSWORD

    Specify the user password. You can enter the password in the Password Encryption box, click Encrypt, and then copy the encrypted value to the Password property.

    PASSWORDKEY

    Enter the password for the private key.

    PRIVATEKEY

    Select the private key.

    PUBLICKEY

    Select the public key.

    SSHKEYALIAS

    Select the SSH certificate saved to the database using the PeopleTools Security, Digital Certificates page (select PeopleTools > Security > Security Objects > Manage Digital Certificates). The SSH certificate added through the Digital Certificates page contains both the public and private key data, identified by the Alias column value on the Digital Certificates page.

    If using the SSHKEYALIAS URL property, the Property Value prompt displays only the list of SSH certificates that have been added to the Digital Certificates page. If you have added the SSH certificate using the Digital Certificates page, and you have assigned an SSH certificate to the SSHKEYALIAS URL property, the system ignores the PUBLICKEY and PRIVATEKEY properties, regardless of whether they refer to valid key files in the file system.

    If you provided a password (or passphrase) when generating your SSH certificate, specify that value using the PASSWORDKEY URL property.

    See PeopleTools: Security Administration, "Configuring Digital Certificates."

    USER

    Specify the user ID to be authenticated.

  8. If you need to specify an encrypted password in any of the property fields, use the Password Encryption area to generate the encrypted password, as follows:

    1. In the Password field, enter a password.

    2. In the Confirm Password field, enter the password again.

    3. Click Encrypt.

      The encrypted password is displayed in the Encrypted Password field.

    4. From the Encrypted Password field, cut the encrypted password and then copy the encrypted value to the appropriate location.

  9. Select Save to save your entries.

  10. Click Validate to confirm that your entries are correct.

    The validation confirms that the necessary parameters are present and correct, and simulates a file transfer with the entered information. You either see a message that confirms the success of the validation, or a message that displays an error for missing parameters or an unsuccessful transfer simulation.

  11. To add additional report nodes, click Add to return to the Search page.

Defining the Report Node for Cloud Repositories

You can use the following cloud storage provider as repositories for your Process Scheduler reports.

See PeopleTools: Process Scheduler, "Defining Report Nodes."