9.2 Configuring the ArkConfig.xml File

Use the sys:\arkManager\arkConfig.xml file to control which data resources to version, to set a schedule for versioning, and to determine the lifetime for versions, such as by age or by numbers of versions.

The XML root element in the arkConfig.xml file is the arkConfig (<arkConfig>) element. Within the root element, you will have at least three child elements:

XML is hierarchical in nature; information is structured like a tree, with parent-child relationships. The figure below illustrates the XML hierarchy for an arkConfig.xml file. See Section A.0, XML Elements and Attributes for ArkConfig for a detailed discussion of each of these elements.

You can use the sample sys:\arkManager\arkConfig_sample_full.xml file as a guide to configure the settings for your archive server; do not attempt to use the sample as is. For an annotated version of this sample XML file, see Section B.3, Sample of a Full Configuration for ArkConfig.xml.

Figure 9-1 Hierarchy of Elements in the arkConfig.xml File

  1. Before you begin, make sure your versioning plan satisfies the following guidelines:

  2. Stop the archive server. At the server console, enter

    
    arkstop
    
    

    For information, see Section 11.2, Stopping ArkManager.

  3. In a text editor, open the sys:\arkManager\arkConfig.xml file.

  4. (Conditional) Configure the archive server information, if necessary, by modifying data in the Basic element.

    You initially configured this information when you set up your server. You need to modify this information only if you have modified the password for the admin user of Novell eDirectory or if you have modified the root user name, password, or port number for your MySQL server. For information, see Section 7.3.7, Configuring Archive Server Information.

  5. Configure the Default Job Settings to apply for job parameters when individual jobs on this archive server do not specify a value to use. To do this, modify information in the Defaults element.

    When you first set up Defaults, you can copy the Defaults element from the arkConfig_sample_full file, and then modify it as needed. For information, see Section 3.4, Understanding Job Properties.

  6. For each source volume, define a single Job element for the selected archive server.

    When you first set up a job, you can copy the Job element from the sys:\arkManager\arkConfig_sample_full.xml file, and then modify it as needed.

    1. Provide a unique name for the job.

    2. Modify the job settings. For information, see Section 3.4, Understanding Job Properties.

    3. Make sure to set the job’s Start time at some time in the future so that you have time to correct any job settings before the versioning begins.

  7. Save your changes.

  8. Make sure the XML code you entered in sys:\arkManager\arkConfig.xml file is well-formed. Look for missing tags, illegal characters, and missing characters.

    Some Web browsers can be used to validate XML code, but they cannot verify that the ArkManager settings are correct. For information validating XML with your browser, consult your browser’s Help.

    Correct any mistakes to create a well-formed XML document, then save your changes.

  9. Start ArkManager. At the server console, enter

    
    arkstart
    
    
  10. Verify that ArkManager recognizes the jobs.

    1. View a list of jobs with the Archive Versioning plug-in for Novell iManager. For information, see Section 10.1, Viewing a Jobs Report.

    2. If the job is in the list, continue with Step 11.

      If the job is not in the list, you probably have an XML error. Continue with Step 10.c.

    3. Stop ArkManager. At the server console, enter

      
      arkstop
      
      
    4. In a text editor, open the sys:\arkManager\arkConfig.xml file.

    5. Review the XML code for the job definition.

    6. Make the necessary corrections, then save the file.

    7. Start ArkManager. At the server console, enter

      
      arkstart
      
      
    8. Repeat this process until the missing job appears in the Jobs list.

  11. Verify that the job settings are correct.

    1. View a job’s details with the Archive Versioning plug-in for Novell iManager. For information, see Section 10.2, Viewing a Job’s Details.

    2. If the job details are correct, continue with Step 12.

      If the job details are not correct, you probably have an XML error. Continue with Step 11.c.

    3. Stop ArkManager. At the server console, enter

      
      arkstop
      
      
    4. In a text editor, open the sys:\arkManager\arkConfig.xml file.

    5. Review the XML code for the job definition.

    6. Make the necessary corrections, then save the file.

    7. Start ArkManager. At the server console, enter

      
      arkstart
      
      
    8. Repeat this process until the job details are correct.

  12. Start the job now or schedule the job. For information, see Section 10.3, Starting or Scheduling a Job.