Understanding the Inventory Service Manager

The Inventory Service Manager loads the inventory components on the Inventory server, based on the configuration parameters specified in the Inventory server properties file.

This section contains the following:


List of Services

The Service Manager loads the following services:

Service Name Description

Server Configuration Service

Loads the server configuration services

Inventory Scheduler Service

Loads the Inventory Scheduler

Selector Service

Loads the Selector

Receiver Service

Loads the Receiver

Sender Service

Loads the Sender

Storer Service

Loads the Storer

Scan Collector

Stores the .str files to the SCANDIR

Property File: There are property files that load the different services on the Inventory server depending on the role of the Inventory server. The name of the property file indicates the role of the Inventory server. Only the required services are loaded as per the role of the Inventory server. The property files should not be modified.

A sample role-based property file for a Leaf Server with Database is as follows:

[Server Configuration Service]
type = system
Load Sequence = 0
Load Option = auto
Class Name = com.novell.zenworks.desktop.inventory. 
   servercommon.ServerConfig
Arguments =
[Upgrade Service]type = userLoad Sequence = 1Load Option = 
   autoClass Name = com.novell.zenworks.desktop.inventory.
   upgradeService.UpgradeServiceArguments =
[Inventory Scheduler Service]
type = system
Load Sequence = 2
Load Option = auto
Class Name = com.novell.zenworks.desktop.inventory. 
   servercommon.InventorScheduler
Arguments =
[Selector Service]
type = user 
Load Sequence = 3
Load Option = auto
Class Name = com.novell.zenworks.desktop.inventory. 
   selector.SelectorServiceInit
Arguments =
[Storer Service]
type = user
Load Sequence = 4
Load Option = auto
Class Name = com.novell.zenworks.desktop.inventory. 
   storer.StorerServiceInit
Arguments =
[Sender Service]
type = user 
Load Sequence = 5
Load Option = auto
Class Name = com.novell.zenworks.desktop.inventory. 
   senderreceiver.control.SenderServiceInit
Arguments =
[NDSLookupForDB Service]
type = user
Load Sequence = 6
Load Option = manual
Class Name = com.novell.zenworks.desktop.inventory. 
   dbutilities.NDSLookupForDB
Arguments = "WSDELETE.LOK"
[DBDelete Service]
type = user
Load Sequence = 7
Load Option = manual
Class Name = com.novell.zenworks.desktop.inventory. 
   dbutilities.DBDelete
Arguments = "WSDELETE.LOK"
[DBBackup Service]
type = user 
Load Sequence = 8
Load Option = manual
Class Name = com.novell.zenworks.desktop.inventory. 
   dbutilities.DBBackup
Arguments = "Backup"

Do not modify these property files as services or the Service Manager cannot be loaded.

Depending on the role of the Inventory server, the server properties files include:

Server Type Server Property File

Root Server

ROOT_DB.PROPERTIES

Root Server with Inventoried Servers

ROOT_DB_WKS.PROPERTIES

Intermediate Server

INT.PROPERTIES

Intermediate Server with Inventoried Servers

INT_WKS.PROPERTIES

Intermediate Server with Database

INT_DB.PROPERTIES

Intermediate Server with Database and Inventoried Servers

INT_DB_WKS.PROPERTIES

Leaf Server

LEAF_WKS.PROPERTIES

Leaf Server with Database

LEAF_DB_WKS.PROPERTIES

Standalone Server

STANDALONE.PROPERTIES

The Inventory Service Manager reads the server properties file (config.properties) and the role-based property file in the Inventory_server_installation_directory\public\zenworks\wminv\
properties directory, and loads the required services and server components.

The contents of the config.properties file are as follows:

NDSTREE=treename
INVENTORYSERVICEDN=dn_of_the_inventory_service_object
SINGLETONPORT=65433
StoreRolledupAuditData=false
LDAPServerIP=LDAPserver_IPaddress
LDAPPort=LDAPserver_Portnumber


Services on NetWare Inventory Servers

On a NetWare® Inventory server, the installation program modifies the autoexec.ncf file located in sys:\system directory to load startinv.ncf. The startinv.ncf file located in the sys:\system brings up the Inventory Service Manager at Inventory server startup time.

The contents of the startinv.ncf file are as follows:

search add sys:\java\njclv2\bin
InvEnv
java -envDISPLAY=127.0.0.1:0 -sn"ZENworks Inventory Service" 
   -noclassgc -DConfigFile=$inv_dir\properties\Config.
   properties -DDirectoryProp=$inv_dir\properties\
   Directory.properties -nsac -jszenWSInv -autounload
   -Xmx128m -classpath $tmppath;$classpath com.novell.
   zenworks.desktop.inventory.servercommon.ZENWorksInven
   toryServiceManager

You can start, stop, or list the services, if the Inventory Service Manager is already loaded.


Services on Windows NT/2000 Inventory Servers

On Windows* NT*/2000 Inventory servers, the installation program creates the Service Manager as a service. During server startup, this Inventory Service Manager is loaded as a service.

You can start, stop, or list the services, if the Inventory Service Manager (ZENworks Inventory Service) is already loaded.

To start a service:

  1. Go to the Installation_directory\inv\server\wminv\bin directory.

  2. At the prompt, enter StartSer service_name.

    where service_name refers to an Inventory service.

To stop a service:

  1. Go to the Installation_directory\inv\server\wminv\bin directory.

  2. At the prompt, enter StopSer service_name.

    where service_name refers to an Inventory service.

To stop all services (ZENworks Inventory Service), use the Windows NT/2000 services from the desktop menu.

To list a service:

  1. Go to the Installation_directory\inv\server\wminv\bin.

  2. At the prompt, enter ListSer [-verbose] service_name.

    where service_name refers to an Inventory service.

Follow the service naming syntax when you modify the service_name.

To refer to all services, use the asterisk (*) wildcard character within double quotes "*". This wildcard character can be used with ListSer parameters.