You can use LANDesk Management Suite to manage supported Linux/UNIX distributions.
Read this chapter to learn about:
Supported Linux and UNIX distributions:
SUSE Linux and Red Hat Enterprise Linux support these Management Suite features:
Ubuntu Linux supports these Management Suite features:
Linux runs on a variety of architectures, but the Linux inventory scanner will only run on Intel architecture.
You can remotely deploy and install Linux agents on Linux servers. Your Linux server must be configured correctly for this to work. To install an agent on a Linux server, you must have root privileges.
The default Red Hat Enterprise Linux AS and ES install includes the RPMs that the Linux standard agent requires. For the complete list of RPMs that the product requires, see the list later in this chapter.
For an initial Linux agent configuration, the core server uses an SSH connection to target Linux servers. You must have a working SSH connection with username/password authentication. This product doesn't support public key/private key authentication. Any firewalls between the core and Linux servers need to allow the SSH port. Consider testing your SSH connection from the core server with a third-party SSH application.
The Linux agent installation package consists of a shell script, agent tarballs, .ini agent configuration, and agent authentication certificates. These files are stored in the core server's LDLogon share. The shell script extracts files from the tarballs, installs the RPMs, and configures the server to load the agents and run the inventory scanner periodically at the interval you specified in the agent configuration. Files are placed under /usr/LANDesk.
Use Configure Services (Tools > Configure Services) to enter the SSH credentials you want the scheduler service to use as alternate credentials. The scheduler service uses these credentials to install the agents on your servers. You should be prompted to restart the scheduler service. If you aren't, click Stop and then Start on the Scheduler tab to restart the service. This activates your changes.
After you've configured your Linux servers and added Linux credentials to the core server, you must create a Linux agent configuration, and then use unmanaged device discovery to discover your Linux servers. You can then add the discovered servers to the My devices list so you can deploy the Linux agents. Before you can deploy to a server, you must add it to the My devices list. Do this by discovering your Linux server with unmanaged device discovery.
mount –t smbfs –o username=administrator,workgroup=<yourworkgroup> //<corename>/ldlogon /mnt/core
The Management Suite agents require the following RPMs and minimum versions. It is recommended that you store all RPMs in the ...\ManagementSuite\ldlogon\RPMS directory. You can browse to this folder through http://core name/RPMS.
python
RPM Version:2.2.3-5 (RH3), 2.3.4-14 (RH4)
Binary Version:2.2.3
pygtk2
RPM Version:1.99.16-8 (RH3), 2.4.0-1 (RH4)
Binary Version:
sudo
RPM Version:1.6.7p5-1, Binary Version:1.6.7.p5
bash
RPM Version:2.05b-29 (RH3), 3.0-19.2 (RH4)
Binary Version:2.05b.0(1)-release
xinetd
RPM Version:2.3.12-2.3E, (RH3) 2.3.13-4 (RH4)
Binary Version:2.3.12
openssl
RPM Version:0.9.7a-22.1 (RH3), 0.9.7a-43.1 (RH4)
Binary Version:0.9.7a
sysstat
RPM Version:4.0.7-4, Binary Version:4.0.7
lm_sensors
RPM Version: 2.6 (this version may not be sufficient to display sensors on newer ASIC machines. Please see the lm_sensors documentation or the web site ( http://www2.lm-sensors.nu/~lm78) for more detailed information.
bash
RPM Version: 2.05b-305.6
net-snmp
RPM Version: 5.1-80.9
openssl
RPM Version: 0.9.7d-15.13
python-gtk
RPM Version: 2.0.0-215.1 [note: package name change]
python
RPM Version: 2.3.3-88.1
sudo
RPM Version: 1.6.7p5-117.1
sysstat
RPM Version: 5.0.1-35.1
xinetd
RPM Version: 2.3.13-39.3
lm_sensors
RPM Version: NA (note: this has been incorporated into the kernel for the 2.6 version)
You have to manually install UNIX agents. Follow the steps below for your UNIX distribution.
You must be logged in as root on the HP-UX device to perform the installation.
chmod +x install.sh
ping ServerFQDN
If you can’t ping the machine, an entry for the core server may have to be added to the /etc/hosts file../install.sh install.ini
platformid=HP-UX11.31:S800
ypmake services.byname
If the device is a NIS client, the master server and slave servers will need to be updated to include pds and cba service entries inserted into the /etc/services file on the client device.Depot packages required beyond the standard OS installation include:
Required software dependencies for cba:
Required software dependencies for pds2d:
Required software dependencies for ldiscan:
Required software dependencies for vulscan:
Solaris 8 libraries:
Solaris 9 libraries:
The inventory scanner, ldiscan for Linux or ldiscnux for UNIX, has several command-line parameters that specify how it should run. See "ldiscnux -h" or "man ldiscnux" for a detailed description of each. Each option can be preceded by either '-' or '/'.
Parameter | Description |
---|---|
-d=Dir |
Starts the software scan in the Dir directory instead of the root. By default, the scan starts in the root directory. |
-f |
Forces a software scan. If you don't specify -f, the scanner does software scans on the day interval (every day by default) specified in the console under Configure > Services > Inventory > Scanner Settings. |
-f- |
Disables the software scan. |
-i=ConfName |
Specifies the configuration filename. Default is /etc/ldappl.conf. |
-ntt=address:port |
Host name or IP address of core server. Port is optional. |
-o=File |
Writes inventory information to the specified output file. |
-s=Server |
Specifies the core server. This command is optional, and only exists for backward compatibility. |
-stdout |
Writes inventory information to the standard output. |
-v |
Enables verbose status messages during the scan. |
-h or -? |
Displays the help screen. |
To output data to a text file, type:
ldiscnux -o=data.out -v
To send data to the core server, type:
ldiscnux -ntt=ServerIPName -v
File | Description |
---|---|
ldiscnux |
The executable that is run with command-line parameters to indicate the action to take. All users that will run the scanner need sufficient rights to execute the file. There is a different version of this file for each platform supported above. |
/etc/ldiscnux.conf |
This file always resides in /etc and contains the following information:
All users who run the scanner need read and write attributes for this file. The unique ID in /etc/ldiscnux.conf is a unique number assigned to a computer the first time the inventory scanner runs. This number is used to identify the computer. If it ever changes, the core server will treat it as a different computer, which could result in a duplicate entry in the database. Warning: Do not change the unique ID number or remove the ldiscnux.conf file after it has been created. |
/etc/ldappl.conf |
This file is where you customize the list of executables that the inventory scanner will report when running a software scan. The file includes some examples, and you'll need to add entries for software packages that you use. The search criteria are based on filename and file size. Though this file will typically reside in /etc, the scanner can use an alternative file by using the -i= command-line parameter. |
ldiscnux.8 |
Man page for ldiscnux. |
Once a Linux or UNIX computer is scanned into the core database, you can:
NOTE: Queries on
"System Uptime" sort alphabetically, returning unexpected
results
If you want to do a query to find out how many computers have been
running longer than a certain number of days (for example, 10
days), query on "System Start" rather than "System Uptime." Queries
on System Uptime may return unexpected results, because the system
uptime is simply a string formatted as "x days, y hours, z minutes,
and j seconds." Sorting is done alphabetically and not on time
intervals.
NOTE: Path to
config files referenced in ldappl.conf doesn't appear in the
console
ConfFile entries in the ldappl.conf file need to include a
path.