30: Install target agent
On the navigation bar, click Target.
The Target Hosts window appears displaying all the target hosts that have been added to the system.
Click the (+) sign in the bottom of the agents list
Choose Remote deploy (to deploy the agent automatically) or Register agent (to deploy the agent manually)
Remote deploy
This is the default and the recommended option for Linux. Other OS are not supported in this option - use the Register agent manual approach.
Fill all the fields:
Name - name of the agent
Description - an optional description
Host - the IP or hostname of the source server
Agent port - pick a port that is available on the server. The default is 8443.
SSH Username - Make sure that the SSH user is either
root
or hassudo
privilegeChoose authentication - SSH password or SSH key
Enter the SSH password of SSH key
Optionally change advanced parameters:
Mount options - used for NFS mount when building Golden Image. If not specified, the default is:
-t nfs -o rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,nolock
Protocol - the protocol that is used by the agent. Choose between HTTPS (default) or HTTP.
Force creation - If not chosen - then any error will stop the deployment process. If chosen - then ignore all errors during the deployment process.
Click “Add” in the end - the agent will be start deploying.
The process will automatically connect to the target server, perform verifications, deploy the agent and register it in the application.
Register agent
This is the less recommended option. Use it as plan B , when the automatic deploy did not work
Choose OS - either Linux, Windows or AIX
Click “download Target agent” to get the agent’s installation kit. Wait about 2 minutes until the file appears in the downloads box.
For Linux or AIX:
Login as root to the target server
Choose an app directory for the agent, e.g.
/apps/accelario/target_agent
Unzip the agent installation kit into the app directory
Change into the app directory and execute
chmod +x Accelario_linux_target_agent_installation.sh
./Accelario_linux_target_agent_installation.sh
By default the port is 8443. If you want to use another port - specify it as the first parameter:
./Accelario_linux_target_agent_installation.sh 8555
For Windows:
Login as administrator to the target server
Choose an app directory for the agent, e.g.
C:\Acc\target_agent
Unzip the agent installation kit into the app directory
By default the port is 8443. If you want to use another port - edit file
service_parameters.list
Change into the app directory and execute command:
service_install.cmd my_user_name my_password target acc_target_agent .\jre1.8
my_user_name
- the OS user that will be used for the service. If using domain user then use in format ofdomain\username
, if using local user then use the format.\username
my_password
- the password of the above user. If your password consists of special characters, then add an escape (^) character before each of them and put the whole password into double quotes. Additional information can be found in this link: Quotes, Escape Characters, Delimiters - Windows CMD - SS64.comtarget
- type of the agent, here alwaystarget
acc_target_agent
- optional parameter of short service name, defaultacc_target_agent
.\jre1.8
- optional parameter of JRE, default.\jre1.8
, make sure it exists
Go to Services, locate the newly created service with name “Accelario Virtualization target agent acc_target_agent", start it
Go back to the application’s dialog box and fill all the fields:
Agent port - pick a port that was selected during the installation, by default 8443
Click “Add” in the end - the agent will be registered