A.3 Critical File Locations

ZENworks Configuration Management uses the following directories:

A.3.1 Installation Directories

ZENworks Configuration Management uses the installation directories listed here. It is important to keep this in mind and be aware of where ZENworks Configuration Management is storing files. This is useful when you are troubleshooting specific functionality in ZENworks Configuration Management:

Windows installation directories:

  • Installation_directory/ZENWORKS

Linux Installation directories:

  • /opt/novell/zenworks/

  • /etc/opt/novell/zenworks

  • /var/opt/novell/zenworks

  • /var/opt/novell/log/zenworks/

For best performance, you should use separated disks and logical drives for the OS and the installation directory. In addition, the database (if it is embedded) and log file size can increase very quickly, so it is better to have them on separate partitions.

A.3.2 The ZENworks Content Repository

The content repository is found in the following location on a Windows server:

installation_path\zenworks\work\content-repo

You should specify a different disk drive to be your content repository. This is based on best practices that Novell outlines for ZENworks Configuration Management. In Windows, this is done by mounting the drive. Mounting is simply pointing an existing path to a hard drive partition without the use of mapped drive letters.

In the following steps, you mount the default content repository location to a disk drive partition, which becomes the new content repository:

  1. Make sure that the disk drive you want to use is attached to the server and is properly formatted as NTFS. This disk drive can be an existing drive or new drive for the machine. The hardware must be recognized by the server. However, do not specify a drive letter if you are adding a new disk drive to the machine. Windows does not allow mounting to a drive letter.

  2. Because an empty content-repo directory must exist in the default location (installation_path\zenworks\work\content-repo) to be the pointer to the new Content Repository location, do one of the following to make sure that there is no content in the default location:

    • If you need to save the content that is now in this directory, rename the existing directory and create a new directory named content-repo.

      You can then copy the content from this renamed directory to the new Content Repository location.

    • If you do not need any of the content in the existing content-repo directory, delete the directory and re-create it.

    • If the content-repo directory is not present in the path given above, create the path and directory.

  3. Click Start, right-click the My Computer icon, then click Manage.

    You can also click Start, then enter compmgmt.msc at the Run command line.

  4. Select Disk Management under the Storage section in the left pane.

    The disk drive you selected during the beginning of these steps should be displayed in the right pane.

  5. (Conditional) If a driver letter is associated with the partition that you want to use as the new content repository location, do the following:

    1. In the Computer Management dialog box, right-click the drive’s partition.

    2. Select Change Drive Letter and Paths.

    3. Select the drive letter.

    4. Click Remove, then click Yes to confirm.

  6. Right-click the partition of the disk drive that you want to use as your content repository, then click Change Driver Letter and Paths.

    This is the disk drive that you will mount to the content-repo directory later in this procedure.

  7. Click Add.

    This displays the Add Drive Letter or Path dialog box.

  8. Select Mount in the Following Empty NTFS Folder, browse for and select the default content-repo directory, then click Next.

    The default directory is installation_path\zenworks\work\content-repo.

    This mounts the default path to the hard drive partition that you selected previously.

    If necessary, format the drive as NTFS using the Computer Management feature in Windows.

  9. Click the buttons as necessary to exit and save the configuration change.

  10. Copy the files from the old renamed content-repo directory to the new content-repo directory.

From this point on, all ZENworks Configuration Management data is written directly to the new Content Repository location on the selected hard drive partition.

For Linux servers, you might want the /opt directory to be located on a large partition. This is where the database (if embedded) and content repository are stored.

The minimum disk configuration is required as follows:

Table A-2 Disk Setup for Windows

Partitions

Size

Contains

Boot (C:)

20 GB

Windows System

Install (D:)

40 GB and larger

Installation directory/ZENWORKS

Content

40 GB and larger

Mounted to

Installation directory/ZENWORKS/work/content-repo

Table A-3 Disk Setup for Linux

Partitions

Size

Contains

/boot

300 Mb

Linux boot / ext2

/swap

4 GB

Linux swap

/root

20 GB

Linux system / ext3

Content

40 GB and larger

Mounted to /var/opt/novell/zenworks/content-repo