Understanding Workstation Inventory

To better help you understand how to make the most of the workstation inventory feature of ZENworks for Desktops, you need to know how the process works and which components are involved. The following sections describe the inventory process, the servers that are involved, and the roles they play in various inventory database designs.

Understanding the Inventory Process

The inventory process is the act of acquiring hardware and software information from the workstation, relaying that information to the inventory server, and then storing it into a database for later retrieval. The following sections describe how workstations are scanned, how inventory data is rolled up to the database, what information is collected, and the files and directories involved.

Workstation Scanning

Workstation scanning is done by an application that runs on the workstation. The inventory scanner and all necessary components were installed on the workstation when the ZENworks Management Agent was installed. That application scans the workstation and collects data based on the configurations of the inventory settings. If the workstation is Desktop Management Interface (DMI)-compliant or Web-based Management Interface (WMI)-compliant, the scanner can also query the DMI and WMI service layers to collect data.

Once the scanner has collected information about the workstation, it stores it in an .STR file in the scan directory of the inventory server. The scanner tracks the changes in the scan data by storing it in the HIST.INI file, located in the ZENworks installation directory. Any errors that the scanner reports are stored in the ZENERRORS.LOG file, located in the ZENworks installation directory.

Workstation inventory scanning uses the following steps to update the inventory server and eDirectory:

  1. The inventory policies in eDirectory define the inventory settings, such as scanning time, whether to include software scanning of workstations, and the location of the scan directory.

  2. The scanner reads the settings in the inventory policies and uses them to collect the workstation inventory information.

  3. The scanner stores the scan data of each workstation as an .STR file in the scan directory (SCANDIR) at the server.

  4. The scanner also stores a minimal subset of workstation inventory information of the workstation, in the eDirectory workstation object.

  5. The selector, running on the inventory server, validates the .STR file and places the file in the enterprise merge directory (ENTMERGEDIR). If a database is attached, the selector places the files in the database directory (DBDIR).

  6. If a database is attached to the server, the server updates the database with the inventory information of the .STR file.

  7. You can then view the inventory information, query the database, and generate inventory reports in ConsoleOne.

Inventory Data Roll Up

Now that you understand how the inventory scan process works, you need to understand how that information is rolled up to other servers and databases that are higher in the tree. In many networks, one server is not enough to collect and store inventory data for every workstation in the tree. For this reason, you can configure multiple servers to collect inventory data and roll that information up to other servers.

ZENworks uses the following steps to roll up scanned data once it has been collected on a server:

  1. Once the selector validates the .STR file and places the file in the enterprise merge directory (ENTMERGEDIR) for roll-up of scan data, the sending server uses a roll-up policy to identify the server to which it will transmit the scan data. It also reads the roll up schedule to determine the specified time for rolling up the data.

  2. The sending server compresses the .STR files as a .ZIP file and places the .ZIP file in the enterprise push directory (ENTPUSHDIR). The sender then sends the .ZIP file to the receiver on the next-level server.

  3. The receiving server on the next-level receives the .ZIP file and places the file in ENTPUSHDIR. If this server has a database attached to it or if the server is a root server, the compressed files are placed in the database directory (DBDIR).

  4. The receiving server extracts the .ZIP file containing the .STR files into a temp directory (DBDIR\TEMP) and updates the database with the inventory information of the workstation .STR file.

  5. The network administrator can then view the inventory information, query the database, and generate inventory reports in ConsoleOne.

What Software Information Is Recorded

The scan program scans the workstation software for Desktop Management Interface (DMI) software as well as WMI (Web-based Management Interface) systems. Even if both of these are not present, the scanner will contact the hardware directly and then continue to scan the drive for installed software. The software scan performs the following functions based on its setup and configuration:

  • Checks for the existence of the software at the workstations and servers.

  • Gathers information about the application file.

  • Reports the information about the scanned software (such as software vendor, software title, file size, and so on).

  • Checks for the software specified in the inventory policy associated with the workstation object.

  • Customizes the software scanning based on the software list configured (discussed later).

  • Collects configuration file information and reports details and contents of the system files.

  • Reports information about the installed drivers.

Inventory Files and Directories

Workstation inventory uses several files and directories during the scanning and roll up processes. You should be aware of the following files used during the scanning and roll up process:

  • HIST.INI Located in the Windows TEMP directory on the workstation. Contains the history of the scan data for each workstation.

  • .STR Formatted: macaddress_gmt_sequencenumber.STR. Located in the SCANDIR directory on the inventory server. Created by the scanning program. Contains all inventory information scanned from the workstation.

  • .ZIP Formatted: scheduletime_inventoryservername_siteID_sitename.ZIP. Located in the EntPushDir and DBDir directories. Contains the compressed scan data for several workstations, up to 1000 .STR files, collected by a receiving inventory server. Used to transmit the data from one server to another.

  • .PRP Formatted: scheduletime_inventoryservername.PRP. Located in the .ZIP files. Identifies the information for roll up from the enterprise push directory to the next-level server. The properties file contains the schedule time, inventory server name, and signature that helps to authenticate the .ZIP file.

Once the scan program runs and the hardware and software information about the server is recorded, that information is stored on the inventory servers in the following directory locations:

  • ScanDir Contains the .STR files. This is the raw data collected by the scan programs run at the workstation.

  • DBDir Contains the .STR files for workstations that have been scanned on the network. The .STR files in the DBDir directory are used to update the workstation objects in the database.

  • EntMergeDir Stores the .STR and files created and transferred by the workstation scan programs.

  • EntPushDir Stores the .STR and .ZIP files used to roll up inventory data in an enterprise tree.

Understanding Inventory Database Server Types

Now that you understand how the scan process works, you need to understand what happens to the data that is scanned by the workstations. That data is stored in directories and databases located on inventory servers. The following sections describe the types of servers used in the inventory process.

Root Server

The root server acts as the highest point in the inventory tree. A root server by default must have a database attached to it. The root server can collect data from intermediate servers, leaf servers, or from workstations attached to it. A root server can be configured only to receive data, not to roll it up to another level.

Intermediate Server

The intermediate server acts as a staging server to receive data from a lower server in the tree and send it to another intermediate server or to a root server. By default, the intermediate server does not have a database, nor does it have workstations. However, you can configure the intermediate server to have both workstations and a database attached to it. The intermediate server typically receives data from a leaf server or another intermediate server and then rolls it up higher in the tree, eventually to the root server.

Leaf Server

The leaf server gathers inventory information from workstations. By default, the leaf server must have workstations attached, but does not have a database attached to it. The leaf server simply gathers data and rolls it up higher in the tree. Typically the data is rolled up to an intermediate server, but a leaf server can also roll data up to a root server.

Stand-Alone Server

The stand-alone server acts as a single point of inventory data collection for workstations. The stand-alone server must have both a database and workstations attached to it. The data collected by a stand-alone server cannot be rolled up to another server, nor can information collected by a leaf server be rolled up to a stand-alone server. Typically the stand-alone server is used in small networks where only one inventory server is needed to collect data.

Understanding Inventory Server Roles

Now that you understand the types of servers that are used for workstation inventory, you need to know the roles they can provide. Depending on their types, each server can be configured to perform one or both of the following two roles.

Workstations Attached

The first role servers can perform is to have workstations attached. Setting this option means that this server accepts data from the scan programs being run at the workstations. At least one server on the network must be performing this role, but usually most of the servers configured for workstation inventory will be performing the role of collecting data from the workstations. Leaf servers and stand-alone servers always have this option set, but you can configure root server and intermediate servers to have workstations attached as well.

Database Attached

The next role a server can perform is to have a database attached to it. Setting this option means that the server is configured to enter the information scanned by the workstation, either locally or up from a server below, into a local database. This means that a database must be running on the server to accept the information from ZENworks. Root servers and stand-alone servers always have this option set, but you can configure intermediate servers and leaf servers to have a database as well.

Workstation Inventory Design

Now that you understand the types of servers and the roles they play in workstation inventory, you need to design an inventory tree that matches your network. The following sections describe some common designs for generic networks.

Stand-Alone Inventory

The stand-alone inventory is the simplest design. Only one server is involved. That server acts as the collection and storage service for inventory data scanned from workstations. It has an inventory database installed on it and workstations attached.

This type of design is perfect for smaller networks with 5,000 or fewer work stations. It is easy to maintain and configure; however, it is not scalable.

Centralized Inventory

The centralized inventory design, shown in Figure 13.1, is for large networks where all servers are connected on a LAN. In this approach allowance is made for a larger number of users by adding a number of leaf and intermediate servers for workstation scanners to send their data to.

Figure 13.1. The centralized workstation inventory design.

graphics/13fig01.jpg

The centralized inventory approach is still fairly easy to maintain; however, roll up policies must be configured for the intermediate and leaf servers.

Distributed Inventory

The distributed inventory design, shown in Figure 13.2, is for large networks where several remote sites are connected through a WAN. In this approach allowance is made for a larger number of users by creating several root servers, one at each remote site, and then leaf and intermediate servers for workstation scanners to send their data to.

Figure 13.2. The distributed workstation inventory design.

graphics/13fig02.gif

The distributed inventory approach is still much more difficult to maintain because you need to manage several inventory trees. However the distributed approach overcomes problems that can occur, rolling up large numbers of workstations from remote offices.

Enterprise Inventory

The final type of inventory design is the enterprise inventory design shown in Figure 13.3. Most enterprise networks take this approach in one form or another. In the enterprise design, accommodations for the large number of users, yet a single management point, is made by creating a single root server and then interlacing intermediate and leaf servers at strategic locations in the network to insure optimal performance.

Figure 13.3. The enterprise workstation inventory design.

graphics/13fig03.jpg

The best way to achieve an optimal enterprise design is to follow the steps outlined in the following sections.

List the Sites in the Enterprise

The first step in designing an enterprise workstation inventory tree is to describe the entire network of your company by doing the following:

  • List the various sites in your company (buildings, cities, countries, and so on).

  • List the physical links between the various sites.

  • Identify the type of links in terms of bandwidth and reliability.

Determine the Ideal Place for Root Server

Once you have listed the sites in your enterprise network, you need to determine the best place to put the root server. The inventory information stored in the inventory database of the root server consists of all lower-level sites on the network as well as the root server site.

The location of the root server determines the behavior and scalability of your inventory tree. You should consider the following factors when determining its location:

  • The root server should be on the site with high network bandwidth.

  • A console administrator can collect workstation inventory information from any of the sites connected on high-speed links from the root server, or from the root server level site.

  • A database server of suitable configuration can be provided for the inventory server. For a network with 250,000 workstations, the recommended configuration for the root server is 25GB of disk space and 1GB RAM.

Determine Requirements for Other Databases

Now that you have determined the location of the root server, you need to determine if you need to maintain database servers at different sites. You might want to maintain additional databases if sites or sub-trees are managed for inventory at different locations over a slow link.

You should also consider specific reasons to have a separate database for a single site or a set of sites. Your company might have organizational needs that require the database server to be on different sites.

NOTE

For a majority of enterprises, there is no need to have any other database besides the enterprise-wide single database. All site-specific reports can be generated from this database easily.


If you determine that another database is required, consider the following to determine the appropriate location and setup:

  • Identify the sites that need a database. Additionally, you need to examine whether the database will cater to the local site or a site of sites (sub-tree). Then identify the sites that require data in each inventory database.

  • All the sites served by a single database should typically access this database instead of the database at root server for inventory management. This reduces the load on the database at the root server.

  • Database administrators should be available for these sites.

Identify the Route for Inventory Data

Once you have determined any additional databases needed, you need to identify the routes for inventory data for all sites to the nearest database. From those routes, you then need to determine the final route to the database on the root server.

The route plan can become complex, so to help devise a route plan, follow these guidelines:

  • Each route can have an intermediate server at a staging site. The Inter mediate Server receives and transmits the data to the next destination. These are application-layer level routes for inventory data. There can be various network-layer level routes between two adjacent servers, which is determined and managed by the routers in the network.

  • The route answers the basic question: To which site will the inventory data travel from a particular site so that it eventually reaches the database at the root server, which is its final destination?

  • There can be multiple routes. Choose the fastest and most reliable route. To determine the route, consider the physical network links.

  • Routes identified once and made operational can be changed later; although there might be some cost in terms of management and traffic generation. If no intermediate database is involved, you can change the route by changing the eDirectory-based policy only.

  • Put intermediate servers on sites where the link parameters change substantially. Criteria to consider is difference in bandwidth, unreliability of the links, and need for different scheduling.

  • Availability of servers on the intermediate site for staging the inventory data should be considered in deciding the sites for intermediate servers. Provide enough disk space on these servers to store all the inventory data on the disk until the roll-up policy asks to send them to the next destination.

  • Workstations should not be connected to the inventory server over a WAN, as the scanning of workstations should not happen across a WAN.

Identify Servers on Each Site for Inventory, Intermediate, and Database

Once you have planned the routes that the data will take to the root server, you need to identify servers on each site to perform the roles necessary to achieve the route. Specifically you need to identify servers to act as inventory, intermediate, and database server.

A single server can have different roles if it has sufficient resources. For example, an inventory server can be a leaf server with a database. You can also designate a server as an intermediate server with a database, which receives inventory from the workstations and also has an inventory database.

When considering the roles of the server, consider the following factors:

  • The number of workstations attached to the server also determines the load.

  • Take an average of 50KB inventory data from each workstation to calculate the load.

  • Any inventory server that has workstations attached to it requires 100KB per workstation.

  • The server that has the inventory database requires 200KB per workstation.

  • An intermediate server that rolls up data requires 5KB for roll-up of 50KB scan data.

Create the Tree of Servers for Workstation Inventory

Once you have determined the roles that inventory servers will take at each site, you need to create the tree of servers that will be used for workstation inventory.

Once you have the inventory server tree designed, make certain that the following are true:

  • The root of the tree is the root server.

  • Servers on each site of the tree represent all the sites in the company.

  • At least one server exists per site.

  • Assuming that workstations to be scanned exist on each site, there is an inventory server role on each site.

  • Optionally, database and intermediate servers exist at the appropriate sites.

Create an Implementation Plan

Once you have designed your inventory server tree, you need to create an implementation plan. The implementation plan should cover the phased deployment of inventory throughout the network.

To help with creating an implementation plan, use the following guidelines:

  • Start the deployment from the root server site and flow it down to the servers of other sites that connect to the root server.

  • Use the number of workstations on each site and server as the main criteria for deployment.

  • Deploy the product on approximately 5,000 workstations per day.



Novell's ZENworks for Desktops 4. Administrator's Handbook
Novell ZENworks for Desktops 4 Administrators Handbook
ISBN: 0789729857
EAN: 2147483647
Year: 2003
Pages: 198
Authors: Brad Dayley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net