Upgrade Procedure

This section describes the upgrade procedure when upgrading MURAL from version 5.0.2.p4 to version 5.0.2.p5.

Running the installer

To upgrade MURAL from version 5.0.2.p4 to version 5.0.2.p5, perform the following steps in specified order:

  1. Use the following command to navigate to to the reflex-provisioner directory:

    cd /etc/reflex-provisioner
  2. Execute the following command to run the installer:

    ansible-playbook -i inventory/generated/<stage-type>/<inentory-name>/hosts playbooks/mrx/deploy.yml -k --skip-tags spetomcat,haproxy,azkacli
  3. To verify that the preceding step is successfully executed , enter the URL https://<lb-vip-fqdn>/loginin the browser to verify if the UI is up and running.

  4. Perform the following steps to edit the property files and put the property and query files on the HDFS.

    1. Run the following command to change the directory to reportConfigFiles

      cd /opt/repos/mrx/5.6/5.6.2.rc1/reportConfigFiles
    2. Run the following command to edit input.tableName property value to currently used table names in GRTCemusReport.properties and DailyCemusReport.properties files and edit input.tableName and input.tableName2 properties in MonthlyCemusReport.properties file:

      vi GRTCemusReport.properties DailyCemusReport.properties MonthlyCemusReport.properties
    3. Run the following command to verify the table names in property files.

      grep tableName GRTCemusReport.properties DailyCemusReport.properties MonthlyCemusReport.properties
      

      The sample output may resemble as follows:

      GRTCemusReport.properties:input.tableName=hourly_points_new
      DailyCemusReport.properties:input.tableName=5min_points_new
      MonthlyCemusReport.properties:input.tableName=daily_points_new
      MonthlyCemusReport.properties:input.tableName2=monthly_points_new
      
    4. Execute the following commands to put the property and report files into HDFS:

      hdfs dfs -put -f DailyQueriesCemus.txt DailyCemusReport.properties protocol-values.txt /data/streaming
      hdfs dfs -put -f MonthlyQueriesCemus.txt MonthlyCemusReport.properties /data/streaming
      hdfs dfs -put -f GRTQueriesCemus.txt GRTCemusReport.properties grt-protocol-values.csv /data/streaming

Verify Core Analytics Report Configurations

Perform the following steps on both the master nodes in the same order to verify and update the CAR files:

  1. Run the following command to verify gds_list file:

    [root@nn1 scripts]# cat /opt/etc/scripts/gds_list
    

    The sample output may resemble the following:

    VoIP
    web applications
    streaming applications
    file transfer
    P2P  application
    IM
  2. Run the following command to verify ods_list file:

    [root@nn1 scripts]# cat /opt/etc/scripts/ods_list

    The sample output may resemble the following:

    Netflix
    NowTV
    amazon-video
    sky-sport-streaming
  3. As highlighted in the following sample output, update the values of site specific hive database, table_name, lb_vip_server address as hive_serverand SMTP server in file monthly_conf_vodafone:

    [root@nn1 scripts]# vi /opt/etc/scripts/monthly_conf_vodafone
    table_name=kafkaconnectdb.monthly_points
    output_dir=/data/customer
    run_duration=monthly
    hive_server=192.168.193.15
    hive_port=10000
    smtp_server=192.168.104.25
    server_port=25
    sender_address=support-mrx@guavus.com
    receiver_addresses=receiver-address1@gdomain.com,receiver-address2@gdomain.com
    ods1_file=/opt/etc/scripts/ods_list
  4. As highlighted in the following sample output, update the values of site specific hive database, table_name, lb_vip_server address as hive_server and SMTP server in the weekly_conf_vodafone file:

    [root@nn1 scripts]# vi /opt/etc/scripts/weekly_conf_vodafone
    table_name=kafkaconnectdb.hourly_points
    output_dir=/data/customer
    run_duration=weekly
    hive_server=192.168.193.15
    hive_port=10000
    smtp_server=192.168.104.25
    server_port=25
    sender_address=support-mrx@guavus.com
    receiver_addresses=receiver-address1@gdomain.com,receiver-address2@gdomain.com
    gds_file=/opt/etc/scripts/gds_list