Deploying a company from the user interface

To deploy a company, you can use the user interface to export your company data model from a source instance of IBM® Product Master and import it into a target instance.

Before you begin

Before you can deploy a company from the user interface, you must:
  • Ensure that a company is designed, and the data model exists.
  • Ensure that a target instance of Product Master exists as the target of your company deployment.
  • If you plan to deploy a company between multiple production instances of Product Master, ensure that you create a system backup of the target instance before you start the import.
  • Ensure that your Product Master is configured for the deployment process. To configure the Product Master, you must:
    • Ensure that you have the following memory configuration for the scheduler service in the .bashrc file:
      export SCHEDULER_MEMORY_FLAG="-Xmx1024m -Xms48m" 
    • Ensure that a compressed file of 200 MB or larger can be deployed into the target instance.
    • Ensure that you have the following browser timeout setting in the common.properties file:
      max_inactive_interval=36000

Procedure

  1. Create a report type in the source instance:
    1. Open the Reports Console in the user interface: Product Manager > Reports > Reports Console
    2. Create a report by clicking New.
    3. Create a report type by clicking Select on the first row of the Create/Edit Report window.
  2. Create your export script to select the object types you want to deploy:
    Restriction: Do not use the default company "trigo" in your product environment. For instance, not all the scripts are loaded into the document store if company "trigo" is used.
    Option Description
    To use the Selective Export window to generate your export script: See Generating export scripts for details on using the Selective Export window.
    To configure a script input spec and use a predefined export script: See Configuring the script input spec and using a predefined export script for details on creating your export script.
    To write your whole export script:
    1. Select any script from the Select Import Parameters Spec menu and click Select.
    2. Enter a report type name in the Report Type field and click Next.
    3. Select Regular from the Select Type menu and click Select.
    4. In the Scriptlet Editor, enter your deployment export script. For additional information on writing your export script:
  3. Click Save above the Report Type window, then click Back to return to the Create/Edit Report window.
  4. Create the report:
    1. Select your report type from the Select Report Type menu and click Select.
    2. Type a report name in the Report Name field and click Next.
    3. Specify a distribution type:
      To select an existing distribution:
      Select a distribution type from the Select Distribution menu then click Select.
      To create a new distribution:
      1. Click New on the third row of the Create/Edit Report window.
      2. Type a distribution name in the Distribution Name field and click Next.
      3. Select the distribution type from the Select Distribution Type menu and click Select.
      4. Depending on the distribution type you select, enter the requested information, then click Save.
    4. Click Back to return to the Report Console window.
  5. Set the parameter values:
    1. In the Report Console window, click your report name to open the Parameters Value Set window.
    2. In the Enter Values window, click each Value checkbox that you want to deploy.
    3. Click Save above the Parameters Value Set window.
    4. Click Backabove the Parameters Value Set window.
  6. Run the export. In the Report Console window, click Run job to run the export.
  7. To check the status of the job, click Schedule status information in the Schedule column.
    Your compressed file is stored in the directory you specify in the document store when the export completes.

    The status bar reflects the percentage of the total number object types that are exported or imported and does not reflect the actual progress of the export or import process regarding file size or time.

  8. Go to the target instance and import the compressed file:
    Option Description
    Use the Import Company Environment window:
    1. In the target instance, open the Import Company Environment window: System Administrator > Import Environment
    2. In the File field, specify the fully qualified directory of your compressed file or click Browse to locate the file.
    3. Click Import to import the compressed file.
    4. To view the files or the status, click the linked import results statement that appears in the Import Company Environment window.
    Use the Selective Import window: See Selectively importing objects for details on using the Selective Import window.

What to do next

You should log in to the target system and confirm that your data model is imported correctly. View Limitations for importing a company for details on the objects that you must ensure is imported.