How can I image a Linux computer with Desktop Central Agent on it?
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.
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 to be performed on the computer which is to be used for imaging.
- Install Desktop Central Agent in the computer.
- Ensure that you have super user privileges to perform the below actions.
Open terminal and run this command "dcservice -p" to stop DC Agent Service.
Navigate to the location where "LinuxOSimager" is stored, open terminal and run this command "chmod +x LinuxOSImager". This prepares the file for execution.
Run this command : "./LinuxOSImager set". Now the machine will be marked as imaged.
Take the Image of the OS.
Run the command : "./LinuxOSImager reset". This is needed for the machine to contact Desktop Central Server.
Restart the DC Agent Service by running the command "dcservice -t &".
Steps to be performed on the computer where the image will be deployed.
Deploy the OS image in the new machine.
Rename the New machine.
Restart the machine or open terminal and run the command "dcconfig refresh" as root user.
This machine will be now added in Desktop Central.