The Inventory Service Manager loads the inventory components on the server, based on the configuration parameters specified in the server properties file.
This sections contains the following:
The Service Manager loads the following services:
The AlterDBSpace tool loads the AlterDBSpace Service and the ZEN2 Delete tool uses the zen2remove Service.
Property File: There are property files that load the different services on the server depending on the role of the server. The name of the property file indicates the role of the server. Only the required services are loaded as per the role of the server. The property files should not be modified.
A sample role-based property file for 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 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 \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
On a NetWare® server, the installation program modifies the ZFDSTART.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 server startup time.
On a NetWare server, the installation program adds the STARTINV.NCF entry in the ZFDSTART.NCF file.
The contents of the ZFDSTART.NCF file are as follows:
;ZENWORKS for Desktop 3 Settings
STARTINV.NCF
The contents of the STARTINV.NCF file are as follows:
InvEnv
Naming
java -DConfigFile=sys:\public\zenworks\wminv\properties\Config.properties -nsac -jszenWSInv -neh -mx128m -classpath $tmppath;$classpath com.novell.zenworks.desktop.inventory.servercommon.ZENWorksInventoryServiceManager
You can start, stop, or list the services, if the Inventory Service Manager is already loaded.
To check if the Inventory Service Manager is loaded, at the server prompt, enter java -show.
This will display the following message:
com.novell.zenworks.inventory.servercommon.ZENWorksInventoryServiceManager
To start a service:
At the server prompt, enter StartSer service_name
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
To stop a service:
At the server prompt, enter StopSer service_name
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 StopSer Storer
To stop all services, enter StopSer *
To list a service:
Edit the LISTSER.NCF file located in the SYS:\SYSTEM directory.
Modify the service_name in the following line:
java -neh - classpath $tmppath;CLASSPATH com.novell.zenworks.desktop.inventory.servercommon.ZENWorksInventoryListService "service_name"
service_name specified in the .NCF file refers to any of the listed services. Follow the service naming syntax when you modify the service_name.
For example, to list Selector Server, the service_name specified in the file should be "Selector Service".
To refer to all services, use the asterisk (*) wildcard character within double quotes "*". This wildcard character can be used with Stop and List services parameters.
On Windows NT/2000 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 PUBLIC\ZENWORKS\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 PUBLIC\ZENWORKS\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 PUBLIC\ZENWORKS\WMINV\BIN directory.
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.
The Inventory Upgrade Service runs the upgrade utilities for inventory. For example, this service makes the necessary updates in the database tables, and creates database tables. This service triggers full scan on workstations that have more than one MAC Addresses, IP/IPXTM Address, or DNS Name.
This service (Upgrade Service) is auto loaded on NetWare and Windows NT/2000 servers.