Manually Activate NCache on Deployed Machine
User can activate the machine remotely i.e. accessing each server is not required.
Once you have access to your deployed VM, you need to activate NCache on that machine. Follow the steps mentioned in this chapter to activate NCache.
To activate your machine, you will need an activation key, which you will find on NCache Cloud Portal.
Access NCache Cloud Portal.
From the Subscription Dashboard, click on the Environment Activation Options button.
Under Manual Creation, you will find an activation key that you require to activate NCache on your deployed VM. Copy this key.
Once you have the key, access your machine that needs to be activated. To activate NCache, open PowerShell and follow these steps:
Online Activation Through PowerShell
Run the following command on the PowerShell window.
Register-NCache -Key xxxxxxxx-xxxxxx-xxxxxxxx -FirstName John -LastName Smith -Email firstname.lastname@example.org -Company your_company_name -Environment SaaSCloudEnv -Clients 2
- Provide the same
environmentname as the one you used while creating an environment through NCache Cloud Portal.
- Use the
-Clientsparameter with the number of clients to activate machine in the Client-Server license type.
key attribute takes the activation key you got from the NCache Cloud Portal.
- On executing the
Register-NCachetool, NCache will be activated on your machine if the provided activation key is accurate.
Offline Activation Through PowerShell
In case you want to activate NCache on your deployed machine , follow these steps:
- Open PowerShell and run the following
Register-NCachecmdlet with the
Register-NCache -key xxxxxxxx-xxxxxx-xxxxxxxx -ManualActivate -FirstName John -LastName Smith -Email email@example.com -Company your_company_name -Environment SaaSCloudEnv -Clients 2
-Clients parameter to activate machine with the Client-Server license type.
This command will return an activation request code. Copy this code.
Go to your Subscription Dashboard through NCache Cloud Portal and click on the Environment Activation Options button.
Under the Manual Creation section, click on the Offline Activation link.
Paste the copied activation request code in the Please paste the Activation Request Code here box and click on Verify.
If data is successfully fetched, you will be notified as thus: "Activation details fetched. Please verify activation data."
Verify that the fetched data is correct and click on Verify Data & Activate.
When verified, you will be provided with an authentication code. Copy this code.
Go to PowerShell window and use the copied authentication code in the following command:
Register-NCache -AuthCode <authentication_code> -ManualActivate
- This command will activate NCache on your deployed machine.
When you have an NCache activated machine, you can configure NCache in it by following the steps mentioned in the Configure NCache in Deployed Machine section.