Java Cache Installer
This page guides you through the options available to Install NCache when they should employed, along with where you can find further details about the installation process.
Note
To learn about the supported Java versions, please refer to the NCache Installation Guide.
Java Cache Installation Type
NCache provides the following deployment configuration:
Cache Servers
This installs the server portion of NCache software. You must install this on atleast 2 servers for reliability. These can be dedicated servers or your web/app servers. For 3 or more web/app server environments, we recommend a dedicated caching tier. In this case, we recommend a 4:1 or 5:1 ratio between web/app servers and cache servers.
If you’re installing an NCache server on your web/app servers, then make sure you have sufficient memory and CPU power available for both your application and NCache.
For the NCache server mode installation, run the following command. Notice that -m server
indicates Cache Server installation.
sudo ./install -f John -l Smith -e johnsmith@yourdomain.com -c your_company_name -k XXXXXXXXXXXXXXXXX -m server
Remote Clients
This installs the remote client with NCache Service to host the InProc/OutProc Client Cache Installation. Install this on all your web/app servers from where you want to remotely access the cache servers.
Installing NCache Client involves the same steps as for the Server mode. To differentiate, simply write -m client
instead of -m server
.
sudo ./install -f John -l Smith -e johnsmith@yourdomain.com -c your_company_name -m client
Please refer to the Installation Guide for more details on Installation.
What has been Installed?
Once you have installed NCache Enterprise, the following components are installed in the directory specified at the time of installation. This directory will either be the default directory /opt/ncache/ or the custom directory specified.
After installation, you will find the following files in this directory:
bin: This contains the services and tools like NCache Management Center and Command Line.
config: This contains the configuration files that are required to configure and run NCache for Linux. These include config.ncconf and client.ncconf.
lib: This contains the common libraries used by NCache.
log-files: This folder contains the NCache logs i.e., cache logs, client logs, event logs, service logs, etc.
See Also
NCache Installation Guide
Create a Cache
Simulate Cache Usage