Software Installation - How To

 

How can I image a Linux computer with Desktop Central Agent on it?

Description

This document will guide you to image a Linux computer with Desktop Central Agent on it. There are few pre-requisites which are described below.

Cause

Desktop Central Agent has a unique id which represents the machine with its name and system details. If more than one Desktop Central Agent is identified with the same id, the details listed in the Desktop Central Console will be overwritten. This would end up listing details of only one computer thought there are several computers with the same id. So in order to avoid this issue, follow the steps mentioned below to image a computer with Desktop Central Agent on it.

Steps

Steps to be performed on the computer which is to be used for imaging.

  1. Install Desktop Central Agent in the computer.
  2. Ensure that you have super user privileges to perform the below actions.
  3. Open terminal and run this command "dcservice -p" to stop DC Agent Service.
  4. Download "LinuxOSImager" in the Machine. 
  5. Navigate to the location where "LinuxOSimager" is stored, open terminal and run this command "chmod +x LinuxOSImager". This prepares the file for execution.
  6. Run this command : "./LinuxOSImager set". Now the machine will be marked as imaged.
  7. Take the Image of the OS. 
  8. Run the command : "./LinuxOSImager reset". This is needed for the machine to contact Desktop Central Server.
  9. Restart the DC Agent Service by running the command "dcservice -t &".

Steps to be performed on the computer where the image will be deployed.

  1. Deploy the OS image in the new machine.
  2. Rename the New machine.
  3. Restart the machine or open terminal and run the command "dcconfig refresh" as root user.
  4. This machine will be now added in Desktop Central.

 

‚Äč