The following sections explain how to get started using Workstation Inventory:
IMPORTANT: After installing and configuring Inventory, you must run the Inventory Services on the server.
To run the Inventory Services on a NetWare server, at the server prompt, enter startinv.
On a Windows NT/2000 server, start the Inventory Service Manager (ZENworks Inventory Service).
After you install the Inventory components on servers and workstations, you must configure the workstations that need to be scanned, associate the appropriate servers for the workstations, identify the database for the Inventory servers, and schedule the scans on the workstation and roll-up of scan data from the servers. The configurations for setting up inventory are done using the Server Policies and Workstation Policies in ConsoleOne. To use policies in ConsoleOne, you must first create the appropriate policy packages, then configure the policies you need, enable them, and associate each package with a server or container. All policies enabled in a package will be enforced for all objects associated with that policy package. To set up the workstations for scanning, the workstations must be registered in NDS and be imported as NDS Workstation objects. See Setting Up Automatic Workstation Import for more information. Complete the steps in the following sections to configure the Workstation Inventory settings:
After completing these steps, you need to ensure that the database is up and running. The following table is an overview of the packages, policies, and objects that you need to configure for Workstation Inventory:
Configuring Workstation Inventory Settings
| Policy / Package / Objects | Description of the Configuration Settings |
|---|---|
Server Package |
Contains the Roll-Up Policy to identify the next-level server. |
Service Location Package |
Contains the Database Location Policy to associate the database. |
Workstation Package |
Contains the Workstation Inventory Policy with the inventory scan settings. |
Inventory Service object |
Server object created in NDS with the following attributes: ZEN:INV-Host-Server, ZEN:INVRole, and ZEN:InvScan-File-Path. |
Database object |
Contains the configurable parameters for the database. |
Workstation Inventory Policy contained in the Workstation Package |
Contains the inventory settings for the workstations. |
Roll-Up Policy contained in the Server Package |
Contains the server setting for roll-up of scan data. |
Database Location Policy contained in Service Location Policy |
Contains the location of the database. |
To set up Workstation Inventory, you need to set up the servers. Based on the server you have installed, configure the inventory settings. The following table lists the actions that you should follow:
| To set up this type of server: | Do this: |
|---|---|
Standalone Server |
|
Root Server |
|
Root Server with Workstations |
|
Intermediate Server |
|
Intermediate Server with Database |
|
Intermediate Server with Database & Workstations |
|
Leaf Server with Database |
|
Leaf Server |
|
Intermediate Server with Workstations |
|
If there is a need for roll-up of scan data in your inventory setup, you specify the details, such as the next-level server(DN of the Inventory Service object) for roll-up in the Roll-Up Policy that is contained in the Server Package.
To configure the Roll-Up Policy:
Create a Server Package that contains the Roll-Up Policy for identifying the next-level server for roll-up.
In ConsoleOne, right-click the Policy Packages container > click New > click Policy Package > click Server Package > click zeininvRollUpPolicy > click Next.
Type the name for the Server Package > click Next > click Finish.
Enable the Roll-Up Policy in the Server Package and associate the Server Package.
In ConsoleOne, right-click the Server Package > click Properties > click Policies.
Click one of the following subtabs: General, NetWare, or WinNT-2000.
General: Creates the Server Package for NetWare and Windows NT/2000 servers.
NetWare: Creates the Server Package for NetWare servers.
WinNT-2000: Creates the Server Package for Windows NT/2000 servers.
Check the check box under the Enabled column for the zeninvRollup Policy.
Click Properties.
The Roll-Up Policy tab should be displayed.
Browse to select the DN of the Inventory Service object > click OK.
Click the Associations tab > Add.
The first time you enable the Roll-Up Policy, you will prompted to associate the policy package. The policy you configured and enabled earlier will not be in effect until you associate this policy package with a server.
Browse for the server that you want to associate the Roll-Up Policy to > click OK twice.
Schedule the Roll-Up time.
In ConsoleOne, right-click the Server Package > click Properties > click Policies.
Click one of the following subtabs: General, NetWare, or WinNT-2000.
General: Creates the Server Package for NetWare and Windows NT/2000 servers.
NetWare: Creates the Server Package for NetWare servers.
WinNT-2000: Creates the Server Package for Windows NT/2000 servers.
Click the Roll-Up Policy row > Properties > Roll-Up Policy tab > Roll-Up Schedule.
Modify the settings for scheduling the roll-up time > click OK.
HINT: While scheduling the roll-up of data in the Inventory Policies, we recommend the roll-up frequency should be at least one day. It is likely that if the roll-up of scan data is scheduled too frequently, for example less than one hour, there may be some performance degradation of the Inventory server.
The installation program creates the database object for Sybase and configures the database server. However, you need to do the associations for the server as specified in Step 4 through Step 7.
If you are maintaining the Inventory database in Oracle:
Create the Database object.
In ConsoleOne, right-click a location in the tree for the Database object > click New > click Object > click ZENworks Database > click OK.
Type a name for the Database object > click OK.
Configure the Database Server options of the Database object.
In ConsoleOne, right-click the Database object > click Properties > click ZENworks Database.
Browse for the DN of the server or type the IP address of the server.
For a NetWare 4.x server, specify the IP address.
Type the values for the following options:
Ensure that the JDBC Driver properties are correct as per your database configuration.
In ConsoleOne, right-click the Database Object > click Properties > click Jdbc Driver Information.
Click Populate Fields with Default Values for an Oracle Database > click Populate Now.
| Database Settings | For a Sybase Database | For an Oracle Database |
|---|---|---|
Driver |
com.sybase.jdbc.SybDriver |
oracle.jdbc.driver.OracleDriver |
Protocol |
jdbc: |
jdbc: |
SubProtocol: |
sybase: |
oracle: |
SubName: |
Tds: |
thin:@ |
Port: |
2638 |
1521 |
SID Service Name (Service ID of the Oracle database) |
|
orcl |
Click OK.
Create the Service Location Package to associate the Database object with this package.
You must set up the ZENworks Database Policy to establish the location of the database; otherwise, no information can be logged to the database.
In ConsoleOne, right-click the Policy Packages container > click New > click Policy Package > click Service Location Package > click ZENworks Database > click Next.
Type the name for the Service Location Package > click Next > click Finish.
Configure the Service Location Policy and associate the database with the policy.
In ConsoleOne, right-click the Service Location Package > click Properties > click Policies.
Check the check box under the Enabled column for the ZENworks Database Policy.
Click Properties.
Browse to the DN of the ZENworks Database object > click OK twice.
Click the Associations tab > Add.
Browse to select the container under which the Database Object is present > click OK twice.
In the Workstation Inventory Policy, you configure the following settings for scanning workstations:
To configure the Workstation Inventory Policy:
Create a Policy Package for the workstations.
In ConsoleOne, right-click the Policy Packages Container > click New > click Policy Package > click Workstation Package > click Next > click Workstation Inventory > click Next.
Type the name for the Workstation Package > click Next > click Finish.
Enable and associate the Workstation Inventory Policy.
In ConsoleOne, right-click the Workstation Package > click Properties > click Policies > click one of the following subtabs: Win95-98 or WinNT-2000.
Check the Workstation Inventory Policy > click OK.
Click the Associations tab > Add.
Browse to select the container object under which the workstations are registered > click OK twice.
Specify the Inventory server to which the scanner will send the workstation scan data.
In ConsoleOne, right-click the Workstation Package > click Properties > click Policies > click one of the following subtabs: Win95-98 or WinNT-2000.
Click the Workstation Inventory row > Properties > the Workstation Inventory Policy tab.
Browse to select the DN of the Inventory Service object.
Check the Enable the software scan option to include software scanning of workstations.
Click the Custom Scan Editor button to select the software that you want to scan for at the workstations > modify the list.
Click OK.
Schedule the time for activating the scanning at the workstations.
In ConsoleOne, right-click the Workstation Package > click Properties > click Policies > click one of the following subtabs: Wind95-98 or WinNT-2000.
Click the Workstation Inventory Policy row > Properties > the Policy Schedule tab.
Modify the settings for scheduling the scan of the workstations > click OK twice.
Ensure that scanning is enabled.
In the Inventory Service Object property page, you enable the scan of the workstations associated with the selected Inventory server.
In ConsoleOne, right-click the Inventory Service object (servername_ZenInvService) > click Properties > click the Inventory Service Object Properties tab.
Check Enable Scan of Workstations > click OK.
If you have configured the Inventory server that is a Windows NT/2000 server and there are Windows 95/98 workstations that will send their scan data to that Windows NT/2000 server, you must do the following for the scanners to collect data:
If there are NDS users who are also Windows NT/2000 Domain Users, ensure that the users logged in are valid users of the Windows NT/2000 domain in the existing Share created by ZENworks.
If there are users logged in to a different domain, ensure that the users are Trusted users of the domain in the existing Share created by ZENworks.
If there are NDS users who are not users of any Windows NT/2000 domain, ensure that the users do not log in to NDS during workstation startup. However, these users can log in to NDS later.
The following table shows you the steps required to view and query inventory information and to generate inventory reports:
HINT: To view the inventory information, you must have administrative privileges. An administrator can assign users as trustees of the database object, see Assigning Trustees to the Database Object in Workstation Inventory in Administration.
| To: | Do this: |
|---|---|
View the Inventory Summary of a managed workstation |
|
View the Minimal Inventory Information of a managed workstation |
|
Query the Inventory database |
|
Generate the inventory reports |
HINT: If you are generating inventory reports from an Inventory database that has inventory information of more than 2,000 workstations, we recommend that you use the Data Export tool for better performance. The Data Export tool generates the inventory information in to a Comma Separated Value (.CSV) file. Use this .CSV file along with any standard reporting tool such as Seagate* Crystal Reports*. |
Exporting the inventory data to Comma Separated Value format |
You will be guided by the Data Export wizard to complete the data export. |