#NFL v2 license, can we lump all clusternode's license files into one file and install from one file?

1 messages · Page 1 of 1 (latest)

brittle yew
#

Before 9.10 with 28 character license file, it's real easy to grep the serial number and put all nodes in one cluster's license codes and install. With NFL v2 file, now it's a file and one json per package. If we get an order for dozens of clusternodes (for different clusters), can we concatenate all license files into one file, and ansbile installation will automatically recognize license with correct serial to install?

new NFL v2 license install syntax:

- name: Add NLF licenses
  netapp.ontap.na_ontap_license:
    state: present
    license_codes:
      - "{{ lookup('file', nlf_filepath) | string }}"
mellow tulip
brittle yew
#

ok, thanks Chris. Will do some tests.

warm solar
#

Hi @brittle yew, I have 4 new nodes to configure and apply licenses and as of today, we are applying license using 28 character license codes, i would like to make use of NLF file but just curious if we can just use NLF file for all 4 nodes and apply licenses?

cyan crest
#

@JohnZ When I add NLFv2 license files it does not return either of those messages if the node based license is already installed. Note that the license module requires 'deepdiff' to be installed (see the doc comments after the options table and before the examples) to handle the idempotence. Also, if you add a license (file or key) that does not belong to the node/cluster - ONTAP will add it regardless - it just won't be complaint. So I do a cleanup to remove any noncompliant/expired licenses and check to make sure the needed protocols, etc are compliant.