ITMS Administrator Group

 View Only

SMA installation on Debian or Ubuntu 

Jan 09, 2017 01:44 AM

Installation of SMA (Symantec Management Agent) on LINUX is not very complicated, once you understand how LINUX works.

Altiris (in version 7.6) is officially supported on Red Hat Linux (RHEL) and SUSE Linux – but you can install SMA on other LINUX releases as well.

In this article I describe all major steps that I did to get SMA installed on Debian 8 and Ubuntu 16.

To make long story short, please start by getting familiar with overview of SMA installation on Linux:

http://www.symantec.com/docs/HOWTO2518

Read carefully steps explained in article Altiris Agent on Ubuntu – these steps are still valid for 7.6:

http://www.symantec.com/docs/HOWTO8867

NOTE: In difference to RHEL and SUSE, releases like Debian or Ubuntu do not use RPM packages. Therefore I will install SMA components manually using ALIEN.

Make sure you have downloaded and installed tool ALIEN as prerequisite.

 

Optionally you can also install Midnight Commander – I will use it for demonstration purpose only.

NOTE: Whenever I mention “Linux” from now on, consider that I mean Debian or Ubuntu.

 

SMA INSTALLATION

 

First step is downloading SMA components from your SMP server.

From Linux File Manager select Connect to Server and specify FQDN of your NS:

 

DEB_01.png

 

Provide credentials with permissions to access your NSCAP share:

DEB_02.png

 

On the NSCAP navigate to folder containing required SMA binaries – in my case X64 architecture:

NSCap\bin\UNIX\Agent\Linux\x64

Drag and drop whole folder to local “Downloads”.

DEB_03.png

 

Copy takes only couple seconds, total size is <8 MB:

DEB_04.png

 

Once you have done, repeat the same steps for folders Inventory and optionally also ServerInventory.

DEB_04a.png

 

HINT: I have renamed each x64 folder by giving respective prefix – just for my comfort.

 

All installers in Download folder should look like this:

DEB_05.png

 

Open folder containing Agent_x64 installer – there are 5x RPM packages to be installed:

DEB_06.png

 

From Terminal (=command prompt) execute following command – run as administrator:

alien –i aex-nsclt.rpm –script

 

Here is complete journal for our review – you will see “Configuration completed” in about a minute:

Deb_07a.png

Deb_07b.png

 

You can verify that new folder has been created:

/opt/altiris/notification/nsagent

DEB_08.png

 

Repeat the same for remaining RPM packages in that folder:

  • Aex-basetasks.rpm
  • Aex-ctagent.rpm
  • Aex-iragent.rpm
  • Aex-smfagent.rpm

Optionally install also agent for Inventory and Server Inventory from respective folders.

You would see in journal that Inventory Instrumentation will be installed and configured.

DEB_09.png

 

Once you have all installed, you can see following folders:

DEB_10.png

 

HINT: Create folders in /ETC as described in HOWTO8867

 

SMA CONFIGURATION

 

SMA cannot be running to make configuration changes.

To stop SMA use this command:

aex-helper agent stop

DEB_11.png

 

Now we can configure SMA to register with SMP server. Use following command:

Aex-configure -iconfigure

DEB_12.png

 

When asked, provide full patch to your SMP server.

For remaining questions leave default values.

Configuration is completed in about a minute and SMA is started:

DEB_13.png

 

SMA TROUBLESHOOTING

 

If you do not see that computer got registered shortly on our SMP server, verify URL path to SMP:

aex-helper info ns -baseurl

 

Additional commands for aex-helper utility are explained in that article:

http://www.symantec.com/docs/TECH29115

 

You may seek for LOG files for deeper investigation.

Altiris Agent LOG files are stored in this folder:

/opt/altiris/notification/nsagent/var/aex-client.log

 

 

SENDING INVENTORY

 

 

 

You can initiate Basic Inventory using this command:

Aex-helper agent –i

DEB_14.png

 

Now you will see that computer in your SMA Console.

This is Debian Linux 8.6

DEB_15.png

 

You can see that all plugins have been registered:

DEB_16.png

 

The same process also works for Ubuntu.

This is Ubuntu Linux 16.04

DEB_17.png

 

 

SOFTWARE INVENTORY

 

As mentioned already, Debian and Ubuntu do not use RPM packages and therefore SW Inventory must be collected differently.

Andrei was very helpful to create Custom Inventory that works on Debian and Ubuntu.

https://www.symantec.com/connect/forums/sw-inventory-ubuntu-linux

 

Here is sample for SW Inventory collected from Debian.

DEB_18.png

 

I hope you find these step-by-step instructions useful.

Thanks,

Jan

 

 

 

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.