Remote Install NCache in Professional Edition
To install NCache remotely, you need to use the PowerShell script installNCache.ps1 shipped with NCache. This is located at %NCHOME%/Integrations/PowerShell.
Pre-requisites:
- All remote machines must be logged in as Administrator.
- The NCache setup MSI file must be placed in the same location on all remote machines.
To remote install NCache, do the following:
From the machine from where you’re installing NCache remotely, search for PowerShell and select Run as Administrator.
Go to the directory %NCHOME%/Integrations/PowerShell.
Execute either of the following commands, modifying the values according to your environment. Note that these examples install Cache Server edition with credentials for John Smith. It is assumed that the NCache setup MSI file is available on D:/ drive root of all remote machines and also that NCache is to be installed on the default path C:/Program Files.
- Single Server Installation
This example installs NCache Cache Server edition on remote machine 20.200.20.29. Please replace the server IP
20.200.20.29
with your own remote machine IP.
./installNCache.ps1 /i 0 /k XXXXXXXXXXXXXXXXX /file "ncache.pro.x64.msi" /file-path "D:\" /f "John" /l "Smith" /email "john@alachisoft.com" /c "Alachisoft" /s 20.200.20.29
- Multiple Server Installation This example installs NCache Cache Server edition on three machines (20.200.20.29,20.200.20.30 and 20.200.20.31). Please replace these servers IPs with your own remote cache server machine IPs.
./installNCache.ps1 /i 0 /k XXXXXXXXXXXXXXXXX /file "ncache.pro.x64.msi" /file-path "D:\" /f "John" /l "Smith" /email "john@alachisoft.com" /c "Alachisoft" /s 20.200.20.29,20.200.20.30,20.200.20.31
- Single Server Installation
This example installs NCache Cache Server edition on remote machine 20.200.20.29. Please replace the server IP
Upon successful installation you will see a message with
ReturnValue:0
.
Remote Installation Properties
Argument | Description |
---|---|
/file |
The name of the setup file along with the file extension. |
/file-path |
The complete file-path/file-location of the setup file. |
/k |
Valid evaluation key obtained from Alachisoft. |
/servers |
A comma separated list of Server Names or IP Addresses of machines where NCache is going to be installed. |
/f |
User's first name. |
/l |
User's last name. |
/i |
NCache installation edition. 0 : Cache Server installation 2 : Developer installation 3 : Remote Client installationDefault is 0 . |
/email |
The email address which is used during registration with Alachisoft. |
/company |
Company name. |
/install-dir |
Path to install NCache. Default is "C:/Program Files". |
/set-per |
Sets permissions for quite mode. Default is 1. |
/? |
Displays command syntax and options for the utility. |
See Also
Evaluation Period Management
License Management
Command Line Installation
Windows Installation