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,
- Log in to your ancor server via the terminal.
- Type ancor-cli and enter the password.
- 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
- Once the sync is completed, type ‘exit’ to come out of it:
>Ancor:>ancormgmt>exit
- Type 'accountmgmt' to go to the Account Management CLI.It will show the admin ID
>Ancor>AccountMgmt>listallusers
- Then type 'updateadmin' in the below format and update the subscription count:for eg: updateadmin -u <admin ID> -agent 1000
>updateadmin -u <admin id> -agent <Total Subscription count>
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
Feedback sent
We appreciate your effort and will try to fix the article