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:
The Service Manager loads the following services:
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:
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
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.
This will display the following message:
com.novell.zenworks.inventory.servercommon.ZENWorksInventoryServiceManager
service_name refers to any of the listed services. Follow the service naming syntax when you modify the service_name.
For example, to start the Storer, enter StartSer Storer
service_name refers to any of the listed services. Follow the service naming syntax when you modify the service_name.
For example, to stop the Storer, enter StopSer Storer
service_name refers to any of the listed services. Follow the service naming syntax when you modify the service_name.
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:
Go to the Installation_directory\INV\SERVER\WMINV\BIN directory.
At the prompt, enter StartSer service_name.
where service_name refers to an Inventory service.
To stop a service:
Go to the Installation_directory\INV\SERVER\WMINV\BIN directory.
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:
Go to the Installation_directory\INV\SERVER\WMINV\BIN.
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.