Updating Subscription Count for On-Premises Account

Modified on Sun, 11 May at 4:00 PM

Overview:

This document provides guidance on how to update the subscription count for an On-Premises admin using the Ancor CLI. Use this process if it becomes necessary to adjust the subscription count. Proceed only after receiving confirmation from the SecPod Team that the subscription count has been increased\reduced.


Applicable Platform: 

On-premises Deployment


Steps to update subscription count in the Ancor for admin account:

Please do a manual sync, then update the Expiry date via CLI using the below steps,

  1. Log in to your ancor server via the terminal.
  2. Type ancor-cli and enter the password.
  3. To synchronize definitions and data between the on-premises Ancor and SecPod Cloud:

    -Type ancormgmt to go to the Ancor Management CLI.
    -Type sync -o all and press ENTER
    > Ancor:>ancormgmt>sync -o all


  4. Once the sync is completed, type ‘exit’ to come out of it:
    >Ancor:>ancormgmt>exit


  5.  Type 'accountmgmt' to go to the Account Management CLI.
    >Ancor>AccountMgmt>listallusers
    It will show the admin ID

  6.  Then type 'updateadmin' in the below format and update the subscription count:
    >updateadmin -u <admin id> -agent <Total Subscription count>
    for eg: updateadmin -u <admin ID> -agent 1000

    Note: To increase your subscription count, calculate the total as:

      Total Subscription Count = Existing Subscription + Add-on Subscription

      
For example, if your current subscription count is 800 and you've purchased an additional 200, the total subscription count should be updated to 800 + 200 = 1000.

      
If you wish to reduce the subscription count, you must first make the changes through the UI before updating it via the CLI.

7. To verify if the expiry date has been set, you can use the command below:

getadminaccountinfo -u <admin ID>

This command will provide information on admin account along with all information.


Need Assistance?

If you encounter any issues during the updating subscription count process or require help, please reach out to our support team. We’re here to assist you.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article