Deploying NCache Using PowerShell Cmdlets
You can use the NCache Azure PowerShell cmdlets to configure your environment automatically. This section elaborates on all the cmdlet
Prerequisites
However, you will need to install the NCache Azure PowerShell module before using them as shown below:
Install-Module -Name NCache.Azure
Warning
If your PowerShell packages haven't been updated, run the following commands and then restart PowerShell:
Install-Module -Name PackageManagement -Repository PSGallery -Force -AllowClobber
Install-Module -Name PowerShellGet -Repository PSGallery -Force -AllowClobber
- Additionally, you will have to connect your Azure account using the following cmdlet:
Connect-AzAccount
Using the PowerShell Cmdlets
After this you can use the following cmdlets to get a cache up and running:
And you can use public ip's you are provided with when creating your environment you can lauch and access the the NCache Management Center with "http://public-ip:8251", where you would specify the public IP of just one cache server. Similarly, you can refer to the documentation on Getting Started with NCache Cloud Azure.
Tip
You can refer to the NCache Administrators Guide guide to learn more about using the NCache Management Center.
In This Section
New Environment
Explains how to create a new NCache environment using PowerShell.
Get Environment
Explains how to retrieve information about the NCache environment using PowerShell.
Remove Environment
Explains how to remove an NCache environment using PowerShell.
Register Cache
Explains how to deactivates NCache on all servers using PowerShell.
Unregister Cache
Explains how to activates NCache on all servers using PowerShell.
Add Server
Explains how to add a new NCache server to the environment using PowerShell.
Remove Server
Explains how to remove an NCache server from the environment using PowerShell.
Get Server
Explains how to retrieve information about NCache servers using PowerShell.
New Cache
Explains how to create a new NCache cache in the environment using PowerShell.
Get Cache
Explains how to get a new NCache cache in the environment using PowerShell.
Remove Cache
Explains how to remove a cache from the environment using PowerShell.
Start Cache
Explains how to start a cache from the environment using PowerShell.
Stop Cache
Explains how to stop a cache from the environment using PowerShell.
Install Client
Explains how to install the NCache client on a node using PowerShell.
Add Client
Explains how to add the NCache client from the environment using PowerShell.
Remove Client
Explains how to remove the NCache client from the environment using PowerShell.
New Client Cache
Explains how to create a new client-side cache in NCache using PowerShell.
Remove Client Cache
Explains how to remove a client-side cache using PowerShell.
Get Connected Clients
Explains how to get all the clients connected to NCahche using PowerShell.
Enable Detailed Monitoring
Explains how to enables detailed monitoring on all servers using PowerShell.
Get Server Statistics
Explains how to retrieve performance statistics for NCache servers using PowerShell.
Test Stress
Explains how to simulate the cache usage using PowerShell.
Get Cluster Health
Explains how to check the health of the NCache cluster using PowerShell.