7.3 Setting Up the Open Enterprise Server 1 after Installing ZENworks Linux Management

If you want to configure any other Novell products on the Novell Open Enterprise Server 1/SP1/SP2 after installing the ZENworks 7.2 Linux Management Agent, you must first remove the entries for the earlier version of rug, rcd, and red-carpet from /opt/novell/oes_install/selections/novell-base.sel by using a Text File policy.

  1. Log into ZENworks Control Center.

  2. Click the Policies tab.

  3. In the Policies list, click New, then click Policy to display the Create New Policy page.

  4. In the Policy Type list, click Text File Policy, then click Next to display the Policy Name page.

  5. Fill in the fields:

    • Policy name: (Required) Provide a unique name for the policy. The name you provide displays in the ZENworks Control Center interface, which is the administrative tool for ZENworks Linux Management.

    • Folder: (Required) Type the name or browse to the folder that this policy will be created in. Folders display in the ZENworks Control Center.

    • Description: Provide a short description of the policy. This description displays on the policy's Summary page in the ZENworks Control Center interface.

  6. Click Next to display the General page.

  7. Configure the following settings:

    File Name: Specify /opt/novell/oes_install/selections/novell-base.sel as the filename.

    Maximum number of versions to retain: Specify the maximum number of backups to be maintained for a file that has been changed. If the maximum limit of backups is reached, the oldest backup of a file is deleted. The backup is created in the same location as the specified file.

    Change name: Specify rug as the change name.

    Change mode: Select Search file from the drop-down list.

    Search string: Specify rug as the search string

    Case sensitive: Select this option to distinguish between uppercase and lowercase characters. When Case sensitive is selected, the system finds only those instances in which the capitalization matches the text you have specified in the search string.

    Search occurrence: Select First Occurrence from the drop-down list. The system finds the first occurrence of the search string and performs the specified action on it.

    Result action: Select Delete line from the drop-down list.

  8. Click Next to display the Script page.

  9. Fill in the fields:

    Pre-change action: Specify the actions to perform before modifying the text files:

    • Executable type: Select Script from the drop-down list.

    • Script to run: Select Define Your Own Script from the drop-down list.

    • Define your own script: Type the following in the box:

      #!/bin/bash
      
      INSTALLFILE=/opt/novell/oes_install/selections/novell-base.sel
      
      if [ -f $INSTALLFILE ]; then
      
       chmod +w $INSTALLFILE
      
      fi
      
    • Action when the execution fails: Select an action you want the system to perform when an execution fails. You can continue modifying the file by selecting Continue modifying the text file or you can stop the modifications in the file by selecting Do not modify the text file.

      NOTE:The backup of the text file is taken after the pre-change action completes the execution and before the text file modification starts.

    Post-change action: Specify the actions to perform after the actual changes are done in the file.

    • Executable type: Select Script from the drop-down list.

    • Script to run: Select Define Your Own Script from the drop-down list.

    • Define your own script: Type the following in the box:

      #!/bin/bash
      
      INSTALLFILE=/opt/novell/oes_install/selections/novell-base.sel
      
      if [ -f $INSTALLFILE ]; then
      
       chmod -w $INSTALLFILE
      
      fi
      
  10. Click Next to display the Summary page.

  11. Click Finish to create the policy as configured according to the settings on the Summary page. The policy is created but not assigned to any devices.

  12. In the Policies page, click the newly created policy.

  13. Click the Details tab to add two new changes to /opt/novell/oes_install/selections/novell-base.sel, one for removing rcd and the other for removing red-carpet from the file.

    1. Select /opt/novell/oes_install/selections/novell-base.sel.

    2. Click New, then click Change to display the Add New Change to File dialog box.

    3. Configure the following options:

      Change Name: Specify rcd as the change name.

      Change Mode: Select Search file from the drop-down list.

      Search String: Specify rcd as the search string.

      Case sensitive: Select this option to distinguish between uppercase and lowercase characters. When Case sensitive is selected, the system finds only those instances in which the capitalization matches the text you have specified in the search string.

      Result Action: Select Delete line from the drop-down list.

    4. Click OK.

    5. Repeat Step 13.a through Step 13.d to create a change for the red-carpet entry.

  14. Click the Summary tab, and increment the revision number so that the changes made to the policy are applied during the next device refresh.

  15. Assign the policy to device and set the policy enforcement schedule. For more information on how to assign the policy to a device, see Assigning Policies in the Novell ZENworks 7.2 Linux Management Administration Guide.

  16. Refresh the managed device.

    The policy is successfully applied to the device, and the entries for the earlier version of rug, red and red-carpet are removed from /opt/novell/oes_install/selections/novell-base.sel.

You can update the OES Linux server having ZENworks 7.2 Linux Management Agent installed by using the OES patch bundles. For detailed information, see TID 3738735 at Novell Support web site.