31.1 Changing the Location of the Content Repository on a Windows Server

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

installation_path\zenworks\work\content-repo

You can specify a different disk drive to be your content repository. 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 or new one 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. Stop all ZENworks Services.

  3. 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 later copy the content from this renamed directory to the new content repository location (see Step 11).

    • 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.

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

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

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

    The disk drive you selected in Step 1 should be displayed in the right pane.

  6. (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 select Yes to confirm.

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

    This is the disk drive that you will mount to the content-repo directory in Step 9.

  8. Click Add.

    This displays the Add Drive Letter or Path dialog box.

  9. 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 in Step 7.

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

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

  11. (Conditional; see Step 3) Copy the files from the old renamed content-repo directory to the new content-repo directory.

  12. Start all ZENworks Services.

From this point on, all ZENworks data is written directly to the new content repository location on the selected hard drive partition.