Deployment

Deploy R Scripts for the First Time

Before You Begin

The following table outlines the steps that you must complete to deploy and configure this module for the first time. These instructions assume that you have completed the steps for deploying the basic system architecture.

These tasks may be completed by multiple people in your organization. GE Digital recommends, however, that the tasks be completed in the order in which they are listed.

If you are deploying this module in APM Now, before you begin completing these tasks, review the system requirements for this module to identify the supported features for this module in APM Now. Unless noted, all deployment tasks in the following table are applicable for the deployment of this module in APM Now.

Results

StepTaskNotes
1Ensure that your R Server is configured according to the R Scripts system requirements. For more information, refer to the APM System Requirements documentation.This step is required.
2In GE Digital APM, specify the R Server credentials.This step is required.

Upgrade or Update R Scripts to V4.3.1.0.0

Before You Begin

The following tables outline the steps that you must complete to upgrade this module to V4.3.1.0.0. These instructions assume that you have completed the steps for upgrading the basic GE Digital APM system architecture.

These tasks may be completed by multiple people in your organization. We recommend, however, that the tasks be completed in the order in which they are listed.

Procedure

  • Upgrade from any version V4.3.0.0.0 through V4.3.0.7.7

    This module will be updated to V4.3.1.0.0 automatically when you update the components in the basic GE Digital APM system architecture. No additional steps are required.

  • Upgrade from any version V4.2.0.0 through V4.2.0.9.3
    StepTaskNotes
    1.

    Ensure that your R Server is configured according to the R Scripts system requirements. For more information, refer to the APM System Requirements documentation.

    This step is required.
    2.In GE Digital APM, specify the R Server credentials.This step is required.
  • Upgrade from any version V4.1.0.0 through V4.1.7.4.0
    StepTaskNotes
    1.

    Ensure that your R Server is configured according to the R scripts system requirements.

    This step is required.
    2.In GE Digital APM, specify the R Server credentials.This step is required.
  • Upgrade from any version V4.0.0.0 through V4.0.1.0
    StepTaskNotes
    1.

    Ensure that your R Server is configured according to the R scripts system requirements.

    This step is required.
    2.In GE Digital APM, specify the R Server credentials.This step is required.
  • Upgrade from any version V3.6.1.0.0 through V3.6.1.7.4
    StepTaskNotes
    1.

    Ensure that your R Server is configured according to the R scripts system requirements.

    This step is required.
    2.In GE Digital APM, specify the R Server credentials.This step is required.
  • Upgrade from any version V3.6.0.0.0 through V3.6.0.12.9
    StepTaskNotes
    1.If you are upgrading directly from V3.6.0.8.0, run a script in order to upgrade R script metadata.This step is required only if you are upgrading from V3.6.0.8.0. This step is not required if you are upgrading from any V3.x version that is covered by this section.
    2.

    Ensure that your R Server is configured according to the R scripts system requirements.

    This step is required.
    3.In GE Digital APM, specify the R Server credentials.This step is required.

Upgrade R Script Metadata

About This Task

If you are upgrading directly from V3.6.0.8.0, after upgrading your database to V4.3.1.0.0, you must run a script in order to upgrade existing R script metadata. This step is not required if you are upgrading from any V3.x version other than V3.6.0.8.0.

Note: If you are unsure whether you need to complete this step, or if you would like assistance, please contact GE Digital Support.

Procedure

  1. Copy the script corresponding to your type of database.

    Oracle

    
                        -- select * from dbo.[MI_CTIT_RSCRIPTS]
                        UPDATE MI_CTIT_RSCRIPTS
                        SET CTIT_RSCR_DEFN_MEM = REPLACE(CTIT_RSCR_DEFN_MEM, '"DataType":"n"', '"DataType":"N"');
                        UPDATE MI_CTIT_RSCRIPTS
                        SET CTIT_RSCR_DEFN_MEM = REPLACE(CTIT_RSCR_DEFN_MEM, '"DataType":"c"', '"DataType":"C"');
                        UPDATE MI_CTIT_RSCRIPTS
                        SET CTIT_RSCR_DEFN_MEM = REPLACE(CTIT_RSCR_DEFN_MEM, '"DataType":"d"', '"DataType":"D"');
                        UPDATE MI_CTIT_RSCRIPTS
                        SET CTIT_RSCR_DEFN_MEM = REPLACE(CTIT_RSCR_DEFN_MEM, '"DataType":"l"', '"DataType":"L"');
                    

    SQL

    
                        -- select * from dbo.[MI_CTIT_RSCRIPTS]
                        UPDATE dbo.[MI_CTIT_RSCRIPTS]
                        SET CTIT_RSCR_DEFN_MEM = CAST(REPLACE(CAST(CTIT_RSCR_DEFN_MEM as NVarchar(MAX)),'"DataType":"n"', '"DataType":"N"') AS NText)
                        UPDATE dbo.[MI_CTIT_RSCRIPTS]
                        SET CTIT_RSCR_DEFN_MEM = CAST(REPLACE(CAST(CTIT_RSCR_DEFN_MEM as NVarchar(MAX)),'"DataType":"c"', '"DataType":"C"') AS NText)
                        UPDATE dbo.[MI_CTIT_RSCRIPTS]
                        SET CTIT_RSCR_DEFN_MEM = CAST(REPLACE(CAST(CTIT_RSCR_DEFN_MEM as NVarchar(MAX)),'"DataType":"d"', '"DataType":"D"') AS NText)
                        UPDATE dbo.[MI_CTIT_RSCRIPTS]
                        SET CTIT_RSCR_DEFN_MEM = CAST(REPLACE(CAST(CTIT_RSCR_DEFN_MEM as NVarchar(MAX)),'"DataType":"l"', '"DataType":"L"') AS NText)
                    
  2. Using SQL Server Management Studio (for SQL) or SQL Developer (for Oracle), run the script.

    The R script metadata is upgraded.

Specify R Server Credentials

Before You Begin

You must be a Super User or member of the MI Configuration Role security group to modify the R Server credentials.

Procedure

  1. In the module navigation menu, select Admin > Operations Manager > Connections.
    The Connections page appears.
  2. Select R Server.
    The R Server workspace appears.

  3. In the R Server Version box, specify the version of R Server.
  4. In the Server Address box, enter the URL of the R Server (for example, http://MyRServer:7400/deployr).
  5. In the User Name and Password boxes, enter the DeployR user name and password that you want to use for the connection.
  6. Select Save.
    The R Server credentials are saved.
  7. Select Perform Connection Test to confirm that the connection is valid.