Changing time zones in the Netezza container

Netezza Performance Server for Cloud Pak for Data System

If you decide to change the timezone on Cloud Pak for Data System nodes, you must also perform additional steps to change the time zone in the Netezza container.

Procedure

  1. Change the time zone on the control nodes as described in System network configuration YAML file
    1. On Cloud Pak for Data System, locate the .yml file with your system network configurations:
      cd /opt/ibm/appliance/platform/apos-comms/customer_network_config/ansible
      ls -al
      Look for a .yml file that has the most recent edit date and open it. Usually, the file is named System_Name.yml or customer.yml.

      Only one .yml file must exist in the /opt/ibm/appliance/platform/apos-comms/customer_network_config/ansible directory apart from the template file that you are editing. Otherwise, you might face issues when you are configuring the network.

    2. Change the time zone in the .yml file.
      Note: Make sure the .yml file is formatted correctly. Further information can be found in Common network configuration values.
    3. Apply the changes as described in Testing the YAML file and running playbooks .
  2. Stop Netezza.
    As the nz user, inside the container, run:
    nzstop
  3. In the container, run:
    systemctl disable ipsstart
  4. Restart the container.
    From the bare metal servers, run:
    docker stop ipshost1
    docker start ipshost1
  5. In the container, run:
    timedatectl set-timezone <TIMEZONE_SET_ON_BM>
  6. In the container, run:
    systemctl enable ipsstart
  7. Redeploy the container .
    Follow the procedure that is detailed in Redeploying the container.
  8. Start Netezza.
    As the nz user, inside the container, run:
    nzstart