Environment Management
This section covers the core tasks involved in managing your NCache environments. You can add or delete cache servers, remove entire environments, and view detailed cluster information - ensuring that your deployment is complete, to monitor the health and performance of your deployments. Additionally, you can register remote clients to enable external access to the cache. These operations are same for Azure and AWS.
However, this page specifically demonstrates operations for Azure.
Add Servers
To add servers, proceed with the following steps:
Click on Add Server in the Servers section at the top bar.
Add the required details and click Confirm.
- The confirmation prompt appears asking for confirmation. Click Yes or No and Confirm.
Delete Servers
To delete servers, proceed with the following steps:
- Select the Server in the Server Name column that you want to delete in the Servers tab. Click Delete icon at the top bar.
- A prompt will appear asking for server deletion confirmation.
Note
Additionally, you can create and delete environments in the similar way.
Delete Environment
Similar to deleting servers, you can also delete your environment when you no longer require them.
- Select the environment that you want to delete in the Environments tab. Click Delete icon at the top bar.
- A prompt will appear asking for environment deletion confirmation.
Cluster Info
To learn about how to create a cluster, click on the Cluster Info tab in the Servers section of the Overview page, which will open the following page:
Remote Client
For remote client installation and configuration, click on the Remote Client tab which will open a new page providing you two options to configure your remote cache connections:
- Option 1: Through Configuration File (client.ncconf):
Copy and paste the following configuration in your application's client.ncconf file. Please ensure to use your cache name here.
<configuration>
<ncache-server connection-retries="3" retry-connection-delay="0" retry-interval="1" command-retries="3" command-retry-interval="0.1" client-request-timeout="90" connection-timeout="5" port="9800" enable-keep-alive="false" keep-alive-interval="30"/>
<cache id="demoCache" client-cache-id="" skip-client-cache-if-unavailable="true" reconnect-client-cache-interval="10" load-balance="false" enable-client-logs="False" log-level="error">
<server name="10.0.0.4"/>
<server name="10.0.0.4"/>
</cache>
</configuration>
- Option 2: Through Code (Programmatically): Run the following code (.NET or Java) in your application (client.ncconf) to connect to NCache.
CacheConnectionOptions cacheConnectionOptions = new CacheConnectionOptions();
string serverIp = "10.0.0.4";
CacheConnectionOptions.ServerList = new List <ServerInfo>
{
new ServerInfo(serverIp);
}
ICache cache = CacheManager.GetCache("demoCache", cacheConnectionOptions);
Help (?)
Moreover, the subscription dashboard also contains the ? icon that provides a quick-access help, linking you directly to key NCache documentation resources—including the Administration Guide, Programmer’s Guide, and NCache Cloud Guide. It also provides relevant code samples available on GitHub to assist with implementation.
For additional assistance, you can click on Help & Support to contact our support team.