Storage Management and Reporting

I've just installed IBM Spectrum Control, 5.4.3. How do I remove a DB2 license from a Linux, Unix, or Windows machine

  • 1.  I've just installed IBM Spectrum Control, 5.4.3. How do I remove a DB2 license from a Linux, Unix, or Windows machine

    Posted Fri September 24, 2021 02:37 PM

    The DB2 Connect Server is not needed for IBM Spectrum Control. The permanent license for Db2 Advanced Workgroup Server Edition is what Spectrum Control uses. Remember, if you remove the license, you do not want to uninstall the application (IBM Spectrum Control).

    If you need to remove the Db2 license,  use either of the following methods:

    Method 1:

    Login as the SYSADM user on UNIX/Linux or a user which belongs to the Local Administrators group on Windows. Run "db2licm -r product identifier". To get the product identifier for a specific product, invoke the db2licm command with the -l option.

    Method 2:

    Login as user ROOT on UNIX/Linux or a user which belongs to the Local Administrators group on Windows. Rename the nodelock file to nodelock.bak and re-add any licenses that you want to keep on the machine. To re-add the license run "db2licm -a filename". The filename will end with a .lic extension. For example "db2licm -a db2ese_c.lic".

    Please note the location of the nodelock:

    On Unix/Linux systems the nodelock file is located in the /opt/ibm/db2/<DB2 copy name>/license

    On Windows systems:

    Windows 2008, 7: C:\Program Data\<DB2 copy name>\license directory
    Windows XP: \Documents and Settings\All Users\Applications Data\IBM\DB2\<DB2 copy name>\license

    References:

    db2licm - License management tool command: https://www.ibm.com/docs/en/db2/11.5?topic=licenses-db2licm-license-management-tool-command

    Licensing Db2: https://www.ibm.com/docs/en/spectrum-control/5.4.4?topic=db2-licensing




    ------------------------------
    Robert Graczyk
    ------------------------------