Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Generate cortx py utils configuration templates for 1 node and 3 node

Udayan Yaragattikar edited this page Apr 1, 2021 · 5 revisions

Generate cortx-py-utils configuration templates for 1-node required post_install and config phases:

post_install

  • Template file path: /opt/seagate/cortx/utils/conf/utils.post_install.tmpl.1-node
  • Replace "<server-FQDN>" with hostname of node. Sample template will look like:
    {
     "cortx": {
      "software": {
        "common": {
          "message_bus_type": "kafka"
        },
        "kafka": {
          "servers": ["<server-FQDN>"]
          }
        }
      }
    }

config

  • Template file path: /opt/seagate/cortx/utils/conf/utils.config.tmpl.1-node
  • Replace "<server-FQDN>" with hostname of node. Sample template will look like :
    {
     "cortx": {
      "software": {
        "common": {
          "message_bus_type": "kafka"
        },
        "kafka": {
          "servers": ["<server-FQDN>"]
          }
        }
      }
    }

Generate cortx-py-utils configuration templates for 3-node required post_install and config phases:

post_install

  • Template file path: /opt/seagate/cortx/utils/conf/utils.post_install.tmpl.3-node
  • Replace "<server-FQDN>" with hostname of node. Sample template will look like:
    {
     "cortx": {
      "software": {
        "common": {
          "message_bus_type": "kafka"
        },
        "kafka": {
          "servers": ["<server-FQDN-1>","<server-FQDN-2>","<server-FQDN-3>"]
          }
        }
      }
    }

config

  • Template file path: /opt/seagate/cortx/utils/conf/utils.config.tmpl.3-node
  • Replace "<server-FQDN>" with hostname of node. Sample template will look like :
    {
     "cortx": {
      "software": {
        "common": {
          "message_bus_type": "kafka"
        },
        "kafka": {
          "servers": ["<server-FQDN-1>","<server-FQDN-2>","<server-FQDN-3>"]
          }
        }
      }
    }