B.3 Setting up the Active NOAM as Controller

  1. Place the TPD OL7 DIU ISO and SDS 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: SDS DIU ISO name should be given
    For the SDS Dual hop upgrade, use the groups as mentioned below:
    • Divide the servers into the groups with the xmi IP of the servers that need to be upgraded, as shown in the example below.
    • group1 → We have included the IP of Stanby Noam in group1, as this would be the first server we want to upgrade.
    • group2 → In this group Active Noam IP is included. (Stanby noam after switchover) and Query Server
    • group3 → This group will contain the IP of Standby Soam.
    • group4 → This group will contain the IP of Active Soam.
    • group5 and group6→ These groups will contain 50% 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 OL7 DIU ISO
    image_name_sds=SDS DIU 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
    host3 ansible_host=<XMI IP of Query Server>  ansible_user=admusr ansible_port=22
    
    [group3]
    host4 ansible_host=<XMI IP of Standby SOAM> ansible_user=admusr ansible_port=22
    
    [group4]
    host5 ansible_host=<XMI IP of Active SOAM> ansible_user=admusr ansible_port=22
    
    [group5]
    host6 ansible_host=10.75.237.93  ansible_user=admusr ansible_port=22  -----> DMP00
    .
    .
    .
    [group6]
    host8 ansible_host=10.75.237.141ansible_user=admusr ansible_port=22  -----> DMP01
    .
    .
    .
  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