How to install the NS Agent for Unix without assigning a GUID

book

Article ID: 179824

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server)

Issue/Introduction

 

Resolution

Question
How do I do a non-networked installation of the NS Agent for Unix?

Scenario: A customer needs to install the NS agent for Unix to a client computer and use it as a master image for other Unix client computers. The computer should not have received a GUID from the NS server. The normal bootstrap program, aex-bootstrap, requires a network connection to the NS server to download the complete agent installation package, but that process will also request a GUID.

Answer
The NS Agent for Unix package is found in the C:\Program Files\Altiris\Notification Server\NSCap\Bin\Unix\6.0\Agent directory. There are subdirectories for each Unix or Linux platform, etc. It is possible to download the correct file and install the agent as a package without using aex-bootstrap. The network does not need to be connected. This method will also prevent the client from obtaining a GUID.

The following was performed on a client running RedHat Linux. Appropriate modifications to the procedure could be made for other
platforms:

  1. Download the following file to a temp location on the Linux client: http://<nsserver>/Altiris/NS/NSCap/Bin/Unix/6.0/Agent/Linux/x86/Kernel2.4/aex-nsclt-6.1-8654.i386.rpm
  2. Stop the network service or disconnect from the network: /etc/init.d/network stop.
  3. Install the client package: rpm -i aex-nsclt-6.1-8654.i386.rpm.
  4. Run "/opt/altiris/notification/nsagent/bin/aex-configure -iconfigure" and specify an NS server name. Otherwise, this will have to be manually ran on all clients to specify the correct NS server.
  5. Run /opt/altiris/notification/nsagent/bin/rcscript stop if there is an NS server to get a GUID from.

After this package is installed, the entire structure for the NS Agent for Unix will exist on the client. An image can then be taken. Since the agent has been stopped, it will not get a GUID from the NS server.

The basic requirement is to ensure that the client does not have a guid. The guid value is stored in the /opt/altiris/notification/nsagent/etc/host.GUID file.

As an alternative to the above, you could simply delete the host.GUID file on a client and take an image. Once the client is imaged, it will report basic inventory and receive a new guid.