Go to primary content
Oracle® Application Integration Architecture Agile Product Lifecycle Management for SAP: Design to Release Install Guide
Release 3.5
E73101-01
  Go To Table Of Contents
Contents

Previous
Previous
 
 

3 Installing and Configuring Design to Release: Agile - SAP

This chapter discusses how to configure and deploy the Agile Product Lifecycle Management for SAP: Design to Release (Design to Release: Agile - SAP) pre-built Integration.

3.1 Web Services Security Configurator

The Web Services Security (WSS) Configurator integrates the Design to Release: Agile - SAP pre-built integration with the Agile PLM 9.3.5 security environment. If you are running Agile PLM 9.3.3, 9.3.4, or 9.3.5 in a non-WSS environment, the Web Services Security Configurator does not need to be run.

3.1.1 Starting the Web Services Security Configurator

After you install the Agile PLM PIP, the Web Services Security Configurator files are located in the $SERVICES_LOCATION/pips/AgileToSAP/Tool directory.

Make sure that the WebLogic Server is started and that the WebLogic console is accessible before running the configurator tool.

To start the Web Services Security Configurator:

  1. Open a Command Prompt window.

  2. Make sure the JAVA_HOME and WLS_HOME environment variables point to the correct locations.

  3. Change to the $SERVICES_LOCATION/pips/AgileToSAP/Tool directory.

  4. Open the wssconfig-d2rpip file and update the value of the wlstlocation variable, based on the example path in the file.

  5. Run the wssconfig-d2rpip script.

3.1.2 Using the Web Services Security Configurator

When the Web Services Security Configurator initializes, you have the option to review your current security policy, to support the Agile PLM 9.3.5 security policy, or to restore the security policy to the default policy (oracle/wss_http_token_client_policy).

For more information on the Agile PLM 9.3.5 security policy, see the Agile Product Lifecycle Management Security Guide.

Figure 3-1 Web Services Security Configurator

Surrounding text describes Figure 3-1 .

3.1.3 Viewing the Current Web Services Security Policy

To view the current web services security policy:

  1. Enter 1 at the prompt.

  2. Enter your SOA server URL, username, and password ad the designated prompts.


  3. Note:

    If you are running a standalone server, the SOA server URL should be the URL of the Admin Server. If you are running a cluster environment, the SOA server URL should be the URL of one of the Managed SOA servers.

  4. Press Enter.

The current web services security policy displays and the configurator tool closes. If you need to update or rollback your security policy, you must restart the tool.

3.1.4 Updating to the Agile PLM 9.3.5 Security Policy

Enter option 2 on the Web Services Security Configurator to update your security policy to the Agile PLM 9.3.5 policy (oracle/wss_username_token_over_ssl_client_policy). After enter the required information, the updated policy is attached and the endpoint address is updated for the related web services.

Figure 3-2 Sample output when updating the security policy

Surrounding text describes Figure 3-2 .

You can validate the updated policy with Oracle Enterprise Manager.

3.1.4.1 Updating MDS

To update MDS:

  1. Download the Configuration File from MDS

  2. Update $DOMAIN_LOCATION/soa/aia/MDSUtils/DownloadMetaDataFileDP.xml content:

    <?xml version="1.0" standalone="yes"?>
    <DeploymentPlan>
        <Configurations>
            <DownloadMetadataFile downloadLocation="${env.DOMAIN_LOCATION}/soa/aia/bin/" fileToDownload = "/soa/configuration/default/AIAConfigurationProperties.xml" wlserver="fp" />
        </Configurations>
    </DeploymentPlan>
      
    source <DOMAIN_LOCATION>/soa/aia/bin/aiaenv.sh
    ant -f $SOA_HOME/aiafp/Install/AID/AIAInstallDriver.xml -DPropertiesFile=$DOMAIN_LOCATION/soa/aia/bin/AIAInstallProperties.xml -DDeploymentPlan=$DOMAIN_LOCATION/soa/aia/MDSUtils/DownloadMetaDataFileDP.xml
    
  3. Update AIAConfigurationProperties.xml and AIAInstallProperties.xml in $DOMAIN_LOCATION/soa/aia/bin.

    • If you are updating to the Agile PLM 9.3.5 security policy with web service security configurator:

      • In /properties/participatingapplicatons/agile of AIAInstallProperties.xml, update port to https port and update protocol to https.

      • In AIAConfigurationProperties.xml, replace all Agile URLs from http to https. Fourteen (14) locations should be replaced.

    • If you are restoring the web service security policy with Web Service Security Configurator:

      • In /properties/participatingapplicatons/agile of AIAInstallProperties.xml, update port to http port and update protocol to http.

      • In AIAConfigurationProperties.xml, replace all Agile URLs from https to http. Fourteen (14) locations should be replaced.

  4. Upload into MDS.

  5. Update $DOMAIN_LOCATION/soa/aia/MDSUtils/UpdateMetaDataFileDL.xml content:

    <?xml version="1.0" standalone="yes"?>
    <DeploymentPlan>
        <Configurations>
            <UpdateMetadataFile wlserver="fp" mdslocation="apps/AIAMetaData/config">
                <fileset dir="${env.DOMAIN_LOCATION}/soa/aia/bin">
                    <include name="AIAInstallProperties.xml" />
                </fileset>
            </UpdateMetadataFile>
            <UpdateMetadataFile wlserver="fp" mdslocation="/soa/configuration/default">
                <fileset dir="${env.DOMAIN_LOCATION}/soa/aia/bin">
                    <include name="AIAConfigurationProperties.xml" />
                </fileset>
            </UpdateMetadataFile>
        </Configurations>
    </DeploymentPlan>
     
    source <DOMAIN_LOCATION>/soa/aia/bin/aiaenv.sh
    cd $DOMAIN_LOCATION/soa/aia/MDSUtils/
    ant -f $SOA_HOME/aiafp/Install/AID/AIAInstallDriver.xml -DPropertiesFile=$DOMAIN_LOCATION/soa/aia/bin/AIAInstallProperties.xml -DDeploymentPlan=$DOMAIN_LOCATION/soa/aia/MDSUtils/UpdateMetaDataFileDP.xml
    

3.1.4.2 Setting the SSL Environment

After updating the security policy, you must set the SSL environment between Agile PLM 9.3.5 and the Design to Release: Agile - SAP pre-built Integration. For more information on installing Agile PLM 9.3.5, see Agile Product Lifecycle Management Application Installation Guide, Release 9.3.5.

Here's an example of how to set the SSL environment between Agile PLM 9.3.5 and the Design to Release PIP with self-signed certificates.

To set the SSL environment for Agile PLM 9.3.5:

  1. Create a directory named agile-keystore935 on the machine where the WebLogic files are located.

  2. Change to the newly created directory and run the following command to create the agile-keystore.jks file:

    keytool -genkey -keyalg RSA -alias ssl -keystore agile-keystore.jks -keysize 2048 -storepass <password>

  3. Enter the following information for the key generation command:

    CN=<Weblogic hostname>, OU=<organizationUnit>,O=<organizationName>, L=<localityName>, ST=<stateName>, C=<countryName>

  4. Run the following command to create and export the SSL certificate, agile-ssl-cert:

    keytool -export -file agile-ssl-cert.cer keystore agile-keystore.jks -storepass <password> -alias ssl

  5. Run the following command to import the SSL certificate and create the Trust store:

    keytool -import -file agile-ssl-cert.cer keystore agile-trust-store.jks -storepass <password>

  6. In a web browser, go to http://<Weblogic_hostname:portnumber>/console to open the WebLogic Console.

  7. In the left pane of the Console, select Environment>Servers, then click the Server name on the right pane.

  8. From ServerName>Configuration>General, check SSL Listen Port Enabled.The default port is 7002.

  9. Select Configuration>Keystores, choose Custom Identity and Custom Trust.

  10. In the Identity section, define the following attributes for the identity keystore:

    • Custom Identity Keystore: (Windows example) C:\agile-keystore-935\agile-keystore.jks

    • Custom Identity Keystore Type: JKS

    • Custom Identity Keystore Passphrase: <password>

  11. In the Trust section, define the following properties for the trust keystore:

    • Custom Trust Keystore: (Windows example)

      C:\agile-keystore-935\agile-trust-store.jks

    • Custom Trust Keystore Type: JKS

    • Custom Trust Keystore Passphrase: <password>

  12. Activate the changes in the WebLogic Console.

  13. Connect to the Agile PLM system.

After you have configured SSL on the Agile PLM system, you must make the Integration Server trust the Agile Server.

To make the Integration server trust the Agile Server:

  1. Open a command prompt window and change to the %MW_HOME%/wlserver/server/lib directory.

  2. Copy the agile-ssl-cert.cer file from the Agile PLM server to the Integration server.

  3. Run the following command to import agile-ssl-cert.cer in the Integration server's key store using the DemoTrust keystore:

    keytool -import -file agile-ssl-cert.cer -alias a9-ssl-cert -keystore DemoTrust.jks -storepass DemoTrustKeyStorePassPhrase

  4. In a web browser, go to http://<Weblogic_hostname:portnumber>/console to open the WebLogic Console.

  5. In the left pane of the Console, select Environment>Servers, then click the Server name on the right pane.

  6. Select Configuration>Keystores, choose Custom Identity and Custom Trust.

  7. In the Trust section, define the following properties for the trust keystore:

    • Custom Trust Keystore:%MW_Home%/wlserver/server/lib/DemoTrust.jks

    • Custom Trust Keystore Type: JKS

    • Custom Trust Keystore Passphrase: DemoTrustKeyStorePassPhrase

  8. Save changes.

3.1.5 Restoring Web Services Security Policy

If there is a need to restore the default web services security policy (oracle/wss_http_token_client_policy), enter option 3 on the Web Services Security Configurator. After entering the required information, the default policy is attached and the endpoint address is updated for the related web services.

Figure 3-3 Sample output when restoring the default security policy

Surrounding text describes Figure 3-3 .

3.2 Installing and Deploying Design to Release: Agile - SAP Pre-Built Integration

This section discusses the integration configuration and deployment process. There are two steps:

  1. Install Design to Release: Agile - SAP Pre-built Integration using the Oracle Agile PLM PIP Installer.

  2. Deploy the integration to the Fusion Middleware server.

3.2.1 Installing the Design to Release: Agile - SAP Pre-Built Integration

The screens that appear prompt you to enter the data that is required for successful configuration of the Design to Release: Agile - SAP Pre-Built Integration. Keep the completed worksheet of the Design to Release: Agile - SAP Pre-Built Integration screens ready before you launch the Oracle Agile PLM PIP Installer.


Note:

If you are harvesting content to OER, perform the first three steps. Else start from step 4.

To install the Design to Release: Agile - SAP Pre-Built Integration:

  1. Navigate to /slot/emsxxxx/oracle/Middleware/user_projects/domains/soa_domain/bin/ and open setDomainEnv.sh for Linux based systems and setDomainEnv.bat for Microsoft Windows.

  2. In the setDomainEnv.sh (or .bat) file, replace the following line:

    WLS_JDBC_REMOTE_ENABLED="-Dweblogic.jdbc.remoteEnabled=false"

    with the following changes

    WLS_JDBC_REMOTE_ENABLED="-Dweblogic.jdbc.remoteEnabled=true".


    Note:

    The values specified are baseline values. You can modify the values to improve performance. Your server class machines must have 8GB RAM or more of available space for the above memory settings to be valid.

  3. Restart the server.

  4. Follow the instructions in "Downloading and Starting the Agile PLM for SAP: Design to Release Installer" to launch the PIP 3.5 Installer.

  5. Click Next.

3.2.1.1 Specify SOA Admin Server Details

To specify SOA Admin server details:

  1. Enter information related to your integration server in the SOA Admin Server Details screen as described in "SOA Admin Server Details Screen."

  2. Click Next.

3.2.1.2 Specify SOA Server Details

To specify SOA Server details:

  1. Enter information about your SOA Server in the SOA Server Details screen as described in "SOA Server Details Screen."

  2. Click Next.

3.2.1.3 Specify SOA Server Cluster Details (Optional)

To specify SOA Server Cluster details:

  1. Enter information about your SOA Server Cluster, if installed, in the SOA Server Cluster Details screen as described in "SOA Server Details Screen."

  2. Click Next.

3.2.1.4 Specify SAP Application Server Details

To specify SAP Application Server details:

  1. Enter information about your SAP Application Server installation in the SAP Application Server Details screen as described in "SAP Application Server Details Screen."

  2. Click Next.

3.2.1.5 Specify Agile PLM Server Connect Details

To specify Agile PLM Server Connect details:

  1. Enter information about your Agile PLM installation in the Agile PLM Server Connect Details screen as described in "Agile PLM Server Connect Details Screen."

  2. Click Next.

3.2.1.6 Specify Agile PLM Server Details

To specify Agile PLM Server details:

  1. Enter information about your Agile PLM server version in the Agile PLM Server Details screen as described in "Agile PLM Server Details Screen."

  2. Click Next.

3.2.1.7 Specify PIP Database Connect Details

To specify PIP Database details:

  1. Enter information about your pre-built integration database instance in the PIP Database Connect Details screen as described in "PIP Database Connect Details Screen."

  2. Click Next.

3.2.1.8 Specify PIP Schema Details

To specify PIP Schema details:

  1. Enter information about your PIP Schema details in the PIP Schema Details screen as described in "PIP Schema Details Screen."

  2. Click Next.

3.2.1.9 Specify PIP Item Initial Load Data Location Details

To specify PIP Item Initial Load Data Location details:

  1. Enter information about your initial load instance in the PIP Item Initial Load Data Location Details screen as described in "PIP Item Initial Load Data Location Details Screen."

  2. Click Next.

3.2.1.10 Complete Installation

To complete installation:

  1. Review the configuration information on the Pre-Installation Summary screen.


    Note:

    If you want to make changes to the configuration, click the Back button to go to the screen you want to edit. You can create a response file based on the input provided in the Installer and use it in future when you want to deploy the integration.

    Start the Installer with the -r option to create a response file. On Windows: setup_win.exe -r <response file path and name>. On Linux: ./setup_lin.bin -r <response file path and name>.

    You can install using the steps described in Section 3.2.2, "Installing using the Response File."


  2. Click Install to start the installation.

    The system displays progress of the configuration in the Installation Progress screen.

    The system displays any warnings or errors as necessary. You can review the configuration log for additional details.

  3. When the configuration process completes without errors, the Installer displays the Install Complete screen.

  4. Click Done to close the Installer.

3.2.2 Installing using the Response File

To install using the response file:

  1. Navigate to $DOMAIN_LOCATION/soa/aia/bin and run the command source aiaenv.sh for Linux based systems and aiaenv.bat for Microsoft Windows to configure the environment.

  2. Navigate to PIP 3.5 Installer folder and run the command./setup_lin.bin-f <Response File Location and Name> for Linux based systems and ./setup_win.exe -f <Response File Location and Name> for Microsoft Windows.

3.2.3 Deploying the Design to Release: Agile - SAP Pre-Built Integration

To deploy the integration to Fusion Middleware server:

  1. Navigate to $DOMAIN_LOCATION/soa/aia/bin and run the command source aiaenv.sh for Linux based systems and aiaenv.bat for Microsoft Windows to configure the environment.

  2. Run the command for your platform.

    Table 3-1 Deployment Command for the Design to Release: Agile - SAP Pre-Built Integration

    Platform Deployment Command

    Linux x86-64

    sh $SERVICES_LOCATION/pips/AgileToSAP/DeploymentPlans/AgileToSAPDP.sh
    

    Microsoft Windows x64 (64-bit)

    %SERVICES_LOCATION%\pips\AgileToSAP\DeploymentPlans\AgileToSAPDP.bat
    


    Note:

    In Windows 2008, 2008 R2 and Vista, run the command prompt as an administrator (elevated mode). If the command prompt is invoked in normal mode, the integrations are not displayed.

  3. Review the log file in the location specified in the command to verify successful deployment.

Oracle AIA ships artifacts in AIA Lifecycle Workbench which can be used in your integrations. These artifacts are created using FMW technologies such as BPEL and Mediator and are natively supported by SOA Core Extension tools such as Project Lifecycle Workbench, Harvester, Deployment Generator, AIA Deployment Driver (ADD). These are called native artifacts and they include SOA artifact types such as composites, DataSources, DVM, xRef, and so on. These artifacts can be modified or new natively supported artifacts can be added using the AIA Lifecyle Workbench and a BOM.xml file can be generated.

AIA integration development teams, most often, also require deployment of artifact types that are beyond what is supported by the Project Lifecycle Workbench and AIA Harvester. For instance, integration may require artifacts such as, Java applications, Shell Scripts, ANT based build scripts which constitute part of integration landscape in addition to the artifacts that are delivered by AIA. AIA also supports deployment of these supplementary artifacts. However, you must modify and add new non native artifacts outside AIA Lifecycle Workbench.

For more information on deploying artifacts, see Oracle Fusion Middleware Developer's Guide for Oracle Application Integration Architecture Foundation Pack, "Generating Deployment Plans and Deploying Artifacts".

3.3 Verifying Deployment

To verify the Design to Release: Agile - SAP Pre-Built Integration deployment:

  1. Open the log files from the following location and look for warnings and error messages:

    • For Linux Based Systems: Review the install log located at <DOMAIN_LOCATION>/soa/aia/logs to verify that the integration is successfully installed.

    • For Microsoft Windows: Review the install log located at <DOMAIN_LOCATION>\soa\aia\logs to verify that the integration is successfully installed.

  2. Confirm that the Design to Release: Agile - SAP Pre-Built Integration queue was installed.

    1. Navigate to the PLM integration Queue Management console (http://<server name>:<port number>/queue).

    2. Log in with the server admin user name. For access details, contact the system administrator.

  3. Confirm that the Design to Release: Agile - SAP / PIM Pre-Built Integration processes were installed.

    1. Navigate to the Oracle Enterprise Manager Fusion Middleware Control (http://<server name>:<port number>/em/).

    2. Log in with the server admin user name. For access details, contact the system administrator.

    3. Expand Farm_soa_domain, SOA, soa-infra, Default and look for the following items}

      Design to Release Agile-SAP integrations services

      Agile Services

    • ACSAXMLJMSConsumer

    • ChangeStatusDBAdapter

      RequesterABCS

    • CreateItemAgileReqABCS

    • CreateItemAgileReqABSCImpl

    • ProcessEngineeringChangeOrderAgileReqABCSImpl

      ProviderABCS

    • UpdateItemListAgileProvABCSImpl

      Utility Services

    • CreateQueueControlService

    • CreateQueueService

    • QueueProcessorService

    • QueueProcessorServiceImpl

      SAP Services

      Adapter Services

    • BOMServiceESB

    • ECOService

    • ItemServiceESB

    • ReserveItemService

      EBF

    • CreateEngineeringChangeOrderListEBF

      EBS

    • EngineeringChangeOrderEBS

    • EngineeringChangeOrderResponseEBS

    • ItemEBSV2

    • ItemResponseEBSV2

    • BillOfMaterialsEBS

    • BillOfMaterialsResponseEBS

      ProviderABCS

    • CreateBillofMaterialsListSAPProvABCSImpl

    • CreateEngineeringChangeOrderListSAPProvABCS

    • ProcessBillOfMaterialsListSAPProvABCS

    • ProcessBillOfMaterialsListSAPProvABCSImpl

    • ReserveItemsSAPProvABCS

    • SyncItemListSAPProvABCS

    • UpdateBillOfMaterialsListSAPProvABCSImpl

      RequesterABCS

    • UpdateItemListSAPReqABCS

    • UpdateItemListSAPReqABCSImpl

  4. Confirm that the SOA Core Extension Manager components were successfully installed.

    1. Navigate to the AIA Console URL: http://<server name>:<port number>/sce.

    2. Log in with server admin user name.

    3. Navigate to Setup, System to access the Application Registry page.

  5. Check the rows for the following sets of values:

    Table 3-2 Application Registry Values for Agile

    Field Value

    Internal ID

    AGILE_01

    System Code

    AGILE_01

    System Description

    Agile PLM Instance 01

    IP Address

    IP address of the Agile PLM system

    URL

    URL of the Agile PLM system

    System Type

    Agile

    Application Type

    PLM

    Version

    9.3.5 (Out of the Box)

    This can be edited to appropriate version of Agile PLM.


3.3.1 Validating Security Policies

For information on validating security policies for the Design to Release: Agile-SAP Pre-built Integration, see Agile Product Lifecycle Management Integration Pack for SAP: Design to Release Implementation Guide, "Security Policies Validation."

For more information about security validation, see Oracle Fusion Middleware Developer's Guide for Oracle Application Integration Architecture Foundation Pack, "Working with Security."

For integration Implementation, see Agile Product Lifecycle Management Integration Pack for SAP: Design to Release Implementation Guide.

3.4 Undeploying the Design to Release: Agile - SAP Pre-Built Integration

To undeploy the integration from Fusion Middleware Server:

  1. Navigate to $DOMAIN_LOCATION/soa/aia/bin and run the command source aiaenv.sh for Linux based systems and aiaenv.bat for Microsoft Windows to configure the environment.

  2. Run the command for your platform.

    Table 3-3 Undeployment Command for the Design to Release: Agile - SAP Pre-Built Integration

    Platform Undeployment Command

    Linux

    ant Uninstall -f $SOA_HOME/aiafp/Install/AID/AIAInstallDriver.xml
    -DPropertiesFile=$DOMAIN_LOCATION/soa/aia/bin/AIAInstallProperties.xml   
    -DDeploymentPlan=$SERVICES_LOCATION/pips/AgileToSAP/DeploymentPlans/AgileToSAPDPUndeployDP.xml 
    -DDeploymentPolicyFile=$SERVICES_LOCATION/pips/AgileToSAP/DeploymentPlans/AgileToSAPConditionalPolicyUndeploy.xml 
    -DSupplementaryDeploymentPlan=$SERVICES_LOCATION/pips/AgileToSAP/DeploymentPlans/AgileToSAPSupplementaryUndeployDP.xml 
    -l $SERVICES_LOCATION/pips/AgileToSAP/DeploymentPlans/AgileToSAPUndeployDP.log
    

    Microsoft Windows

    ant Uninstall -f %SOA_HOME%\aiafp\Install\AID\AIAInstallDriver.xml 
    -DPropertiesFile=%DOMAIN_LOCATION%\soa\aia\bin\AIAInstallProperties.xml   
    -DDeploymentPlan=%SERVICES_LOCATION%\pips\AgileToSAP\DeploymentPlans\AgileToSAPDPUndeployDP.xml 
    -DDeploymentPolicyFile=%SERVICES_LOCATION%\pips\AgileToSAP\DeploymentPlans\AgileToSAPConditionalPolicyUndeploy.xml 
    -DSupplementaryDeploymentPlan=%SERVICES_LOCATION%\pips\AgileToSAP\DeploymentPlans\AgileToSAPSupplementaryUndeployDP.xml 
    -l %SERVICES_LOCATION%\pips\AgileToSAPDeploymentPlans\AgileToSAPUndeployDP.log
    

  3. Restart the SOA server.

  4. Uninstall the integration.