IBM License Metric Tool (ILMT)

IBM License Metric Tool (ILMT)

Connect with Db2, Informix, Netezza, open source, and other data experts to gain value from your data, share insights, and solve problems.

 View Only
Expand all | Collapse all

Defining "lmt_server" in the Ansible method of using LMT

  • 1.  Defining "lmt_server" in the Ansible method of using LMT

    Posted Fri January 27, 2023 05:41 AM
    I keep seeing references to the parameter "lmt_server" in the instructions, talking about making sure to 'tag' the LMT server. I see clear instructions on defining values for the various LMT-parameters needed in the LMT Playbooks, but nowhere does it seem to suggest where the "lmt_server" entry should be. For the purposes of this discussion, let's pretend our LMT server name is "IBMLMT0206" (trust me, it is nothing that easy to remember - LOL).

    I wonder if this is a 'tag' or label that is entered in the variable section of the LMT server's (IBMLMT0206) Ansible inventory record (YAML/JASON such as host:lmt_server)? Theoretically, that would create a reference to our LMT server anytime "lmt_server" was used in a template or playbook.
    Or maybe it is an Ansible inventory group called "lmt_server" with a single host - that of the LMT server (IBMLMT0206).

    My confusion stems from the word 'tag' as the usage surrounding this value doesn't appear to be a traditional Ansible 'tag' within the various playbooks - other than a reference to "host:lmt_server" - a format that is highly suggestive of the "lmt_server" being a reference to just the one specific LMT server (IBMLMT0206).

    And it doesn't seem to be an Ansible "Job tag", which would specify which sections of a playbook were to be executed during the running of a large, modular playbook.

    If someone could let me know where they have set/defined that "lmt_server" value and the format they used it would be greatly appreciated.

    Thanks,
    Gary Latter
    Peraton

    ------------------------------
    Gary Latter
    Solution Architect
    Peraton
    CA
    ------------------------------


  • 2.  RE: Defining "lmt_server" in the Ansible method of using LMT

    Posted Sun January 29, 2023 05:33 AM

    Hi Gary,

    Or maybe it is an Ansible inventory group called "lmt_server" with a single host - that of the LMT server (IBMLMT0206).

    That's a good understanding. The word tag was used in general English, 'to mark sth,' rather than specific Ansible lingo.

    An example is here:

    https://github.com/IBM/ansible-automation-for-lmt/blob/master/docs/doc_automating_with_ansible_new.md

    I hope that helps.

    Best regards,

    Grzegorz



    ------------------------------
    Grzegorz Szczepanik
    ------------------------------