Installing ZfD3

After you install ConsoleOne, edit the configuration file, and restart the server, you can install ZfD3. We recommend that you use a Custom Install if you are migrating from an older version of ZfD, remembering to choose the option to extend the schema for each of the components you choose to install. For more details about the Custom Install for each ZfD3 component, see Getting Started or the appropriate sections of this Deployment documentation.

The ZfD2 Workstation Inventory component requires more attention to migrate to ZfD3 than other components. The following sections include information that will help with that migration:


Installing ZfD3 Workstation Inventory

If you have previously been using a ZfD2 Inventory database, it will be necessary to migrate its data to a ZfD3 database. You will have the option of installing Sybase version 7 to the server during the ZfD3 install. If you choose to install this database, the installation program will display the following message:

838:Sybase 6 files at \\Server\Volume\zenworks\database will be deleted. Sybase 7 files will be copied.

This message indicates that support files for Sybase 6 will be replaced by support files for Sybase 7. Your ZfD2 database is not deleted. You will have to migrate the ZfD2 data to ZfD3 using a special Database Migration tool. To learn more about this utility, see Migrating the Inventory Information from the ZENworks 2 Database in Understanding Workstation Inventory in Administration.


After the Inventory Installation

If you commented some of the lines in the AUTOEXEC.NCF configuration file rather than remove them, you will notice that the ZfD3 installation program removes the following lines from the file:

SYS:\SYSTEM\GATHERER.NCFSYS:\PUBLIC\ZENWORKS\JAVA\MASTER.NCFSYS:\PUBLIC\ZENWORKS\JAVA\STORER.NCF

The installation program adds the following lines to the configuration file:

SEARCH ADD SYS:\JAVA\NJCLV2\BINZFDSTART.NCF

After you install ZfD3 and restart the server, you may see the following message at the System console prompt:

Java: Class com.novell.zenworks.desktop.inventory.servercommon.ZENWorksInventoryServiceManager exited with status -1.

This message is normal and is the result of running the STARTINV.NCF batch command from within ZFDSTART.NCF.

If you have installed a ZfD3 "Standalone Server" Inventory component on a server, you can create a Service Location Package to correct this condition.

To create a Service Location Package:

  1. In ConsoleOne, click the OU where the ZFD3 Inventory Database object is located (this object would normally be found at the same level as the server).

  2. Right-click New > Policy Package.

  3. Select the Service Location Package > click Next.

  4. Name the package > select the container to associate to > click Next.

  5. Check Define Additional Properties > click Finish.

  6. In the Policies/General tab, enable the ZENworks Database policy and open its properties.

  7. In the Database Location tab, browse for the ZENworks Database DN. The ZENworks Database DN would normally be found at the same level of the database server. Look for the ZfD3InventoryDatabase object. Click OK > OK.

  8. From the Associations/Associations tab, select the objects to which you want to associate this Service Location Package > click OK.

When you have a Service Location Package, go to the System console and reload the STARTINV.NCF batch command. You should see the following message:

Succesfully obtained site information from databaseStarting Selector ServiceObtaining dbdir from service object: DATA\Zenworks\Scandir\DbDirTrying to connect to the database.Connected to Database.

In this message, DATA\ZENWORKS\SCANDIR\DBDIR indicates the location of your database directory (\DBDIR).


Restarting the Server

After you have installed the ZfD3 components that you want, type the following command at the server console where you have installed ZfD3:

restart server

Restarting the server after the ZfD3 installation will initialize new processes needed for further migration.