L.3 Setting up the Active NOAM as Controller

  1. Place the TPD OL7 DIU ISO and DSR DIU ISO on /var/TKLC/db/filemgmt of Active NOAM.
  2. Create diuMajHosts file in /home/admusr of Active NOAM.

    Note:

    Description of diuMajHosts file:
    • image_name_tpd: TPD OL7 DIU ISO name should be given
    • image_name_dsr: DSR DIU ISO name should be given
    For DSR dual hop upgrade, use the groups as mentioned below:
    • Divide the servers into the groups with the XMI IP of the servers, which are required to be upgraded.
    • group1: We have included IP of Standby NOAM in group1, as this would be the first server that must be upgraded.
    • group2: In this group Active NOAM IP is included (Standby NOAM after switchover).
    • group3: This group contains the IP of Standby SOAM.
    • group4: This group contains the IP of Active SOAM.
    • group5 and group6: These groups contains the 50% of IP's of C level servers respectively.
    There can be n number of groups in the below file.

    Host name (host1, host2....) must be different for different groups.

    For example:
    [all:vars]
    image_name_tpd=TPD.install-8.0.0.0.0_90.12.0-OracleLinux7.4-x86_64-DIU.iso
    image_name_dsr=DSR-9.0.2.0.0_98.5.0-x86_64.iso
    
    [group1]
    host1 ansible_host=<XMI IP of StandBy NOAM> ansible_user=admusr ansible_port=22
    
    [group2]
    host2 ansible_host=<XMI IP of Active NOAM> ansible_user=admusr ansible_port=22
    
    [group3]
    host3 ansible_host=<XMI IP of Standby SOAM> ansible_user=admusr ansible_port=22
    
    [group4]
    host4 ansible_host=<XMI IP of Active SOAM> ansible_user=admusr ansible_port=22
    
    [group5]
    host5 ansible_host=10.75.237.93  ansible_user=admusr ansible_port=22  -----> DMP00
    host6 ansible_host=10.75.236.97  ansible_user=admusr ansible_port=22  -----> DIP00
    .
    .
    .
    [group6]
    host7 ansible_host=10.75.237.141ansible_user=admusr ansible_port=22  -----> DMP01
    host8 ansible_host=10.75.237.161ansible_user=admusr ansible_port=22  -----> DIP01
    .
    .
    .
  3. Create the vault.yml file in /home/admusr of Active NOAM.
    ansible_ssh_pass: secret_password(password for admusr)
  4. Place the majorUpgrade.sh script in /var/TKLC/db/filemgmt of Active NOAM.
  5. Run the following command:
    chmod 777 /var/TKLC/db/filemgmt/majorUpgrade.sh