• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

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.

Add Server

  • The confirmation prompt appears asking for confirmation. Click Yes or No and Confirm.

Add Server Cofirmation Prompt

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.

Delete Server

  • A prompt will appear asking for server deletion confirmation.

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.

Delete Environment

  • A prompt will appear asking for environment deletion confirmation.

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:

Cluster Info Cloud Portal

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.
  • .NET
  • Java
CacheConnectionOptions cacheConnectionOptions = new CacheConnectionOptions();
string serverIp = "10.0.0.4";
CacheConnectionOptions.ServerList = new List <ServerInfo>
{
    new ServerInfo(serverIp);
}
ICache cache = CacheManager.GetCache("demoCache", cacheConnectionOptions);
String serverIp = "10.0.0.4";
List<ServerInfo> serverList = new  ArrayList<ServerInfo>();
serverList.add(new ServerInfo(serverIp));
CacheConnectionOptions cacheConnectionOptions = new CacheConnectionOptions();
cacheConnectionOptions.setServerList(serverList);
Cache 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.

Help and Support

See Also

NCache Installation
Getting Started with NCache

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Community
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top