Appdynamics / Appdynamics/HA-toolkit

Need more robust procedure for license handling

Open
#85 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Shell
Stars
13
Forks
11
PR merge metrics
No merged PRs in 30d

Description

1) Currently HA toolkit compares license.lic.$secondary on primary server and if the creation date is newer than the license on secondary then that file is copied from secondary to primary but as the secondary servers license file. Same goes with primary as well.

2) Issue happens when customer manually copies a license file to secondary and that is newer than the existing secondary license (license.lic.$secondary) on primary and a failover never happens (and hence license is not yet validated by controller). So the if the new license file on secondary is invalid it is carried over to primary server on running replicate and if customer replaces a correct license file on secondary but with an older creation date, because the older license is valid, HA toolkit copies invalid license from primary during next replicate because the creation date is new.

3) In addition to creation date we also need to check the MAC address and see if the license belongs to the host, else reject it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.