Retrieving information about versions

Learn how to retrieve information about replication version for a single node or all nodes.

About this task

Procedure

  1. Log in to the Netezza Performance Server container as the nz user.
    ssh nz@APPLIANCE HOSTNAME -p 51022
  2. Locate the nzdr utility in the /nrs directory.
  3. Retrieve information about version.
    nzdr version [--node-name] [-j]
    Example:
    • To retrieve information about version for a single node, run:
      ./nzdr version --node-name NODE NAME
      Example:
      [root@e1n1 nps]# ./nzdr version --node-name CPDS-A
      +-------------+-----------+
      | node-name   | version   |
      +=============+===========+
      | CPDS-A      | 3.0.0.0   |
      +-------------+-----------+ 
    • To retrieve information about version for a single node in JSON, run:
      ./nzdr version --node-name NODE NAME -j
      Example:
      [root@e1n1 nps]# ./nzdr version --node-name CPDS-A -j
      [
        {
          "node_name": "CPDS-A",
          "version": "3.0.0.0"
        }
      ]
    • To retrieve information about versions for all nodes, run:
      ./nzdr version
      Example:
      [root@e1n1 nps]# ./nzdr version
      +-------------+-----------+
      | node-name   | version   |
      +=============+===========+
      | CPDS-A      | 3.0.0.0   |
      +-------------+-----------+
      | CPDS-B      | 3.0.0.0   |
      +-------------+-----------+ 
    • To retrieve information about versions for all nodes in JSON, run:
      ./nzdr version -j
      Example:
      [root@e1n1 nps]# ./nzdr version -j
      [
        {
          "node_name": "CPDS-A",
          "version": "3.0.0.0"
        },
        {
          "node_name": "CPDS-B",
          "version": "3.0.0.0"
        }
      ]