Setting Up the Server Policy PackageThe Copy Files Policy

Setting Up the Server Policy Package The Copy Files Policy

The Copy Files policy is a plural policy that enables you to configure ZENworks to copy or move files on a server from one location to another. The Copy Files policy can be an extremely powerful tool that you can use for file distribution or synchronization on a server.

The following is a list of parameters that can be configured from the file copy policy:

  • Source Path. Specifies the full path where the files to be copied are located. (You can use the following wildcards in the path: *, ?, and ???.)

  • Target Path. Specifies the full path where the copied files are to be placed. (You can also use wildcards in the target path.)

  • Include Subfolders. Tells ZENworks to include all files in all subdirectories beginning from the directory that ends the path. If this box is not checked, only the files in the directory at the end of the path are copied.

  • Maintain Attributes. Tells ZENworks to maintain the file attributes in the target path's file system.

  • Overwrite Destination Files. Specifies whether you want ZENworks to overwrite files of the same name in the destination directories. If this box is not checked, files of the same name are not replaced.

  • Maintain Trustees. Tells ZENworks to maintain the file's trustee attributes. You should plan carefully whether you want ZENworks to maintain the files' trustees so that users do not gain access to files they should not.

  • Retry Times. If this box is checked, ZENworks retries overwriting a locked file the number of times specified.

  • Kill Connection of Open Files. If this box is checked, ZENworks kills any connection that has the file open so that it can be overwritten. You should use caution when setting this option because it can result in users losing data.

  • Error Processing. Selecting Fail On Error (enabled by default) stops the file copying process when an error is encountered in copying. Selecting Continue On Error causes file copying to continue on with the next file.

  • Operation. Specifies whether you want ZENworks to copy or move the files identified in the Source Path. Moving has the advantage of freeing up disk space in the source location. But if you are trying to synchronize or replicate files, you need to use the Copy feature.

WARNING

Make certain that you do not have any read-only files or directories in the copy files locations. ZENworks for Servers 3 applies the attributes to the locations prior to copying the files. Therefore, if you set a directory to read-only and ZENworks tries to copy it, ZENworks creates the directory in the destination location, sets it to read-only, and then error on every file it tries to copy into that directory.


Use the following steps to configure a copy files policy from within ConsoleOne:

  1. Right-click the Server Package and select Properties from the drop-down menu.

  2. Select the Policies tab for one of the following platforms: General, Linux, Solaris, Windows, or NetWare.

  3. Click the Add button.

  4. Select Copy Files.

  5. Specify a policy name and click OK.

  6. Select the Copy Files policy you created and click the Properties button to display the File Copy page.

  7. Click the Add button to add a new file or directory.

  8. Edit the name of the file copy to a descriptive name. (Local File Copy #n is the default.)

  9. Set the options for the file copy as shown in Figure 5.30.

    Figure 5.30. File Copy page of the ZENworks for Servers policy in a Server Policy Package.

    graphics/05fig30.jpg

  10. Select the Schedule tab and schedule the policy.

  11. Click the OK button to apply the policy.



Novell's ZENworks for Servers 3. Administrator's Handbook
Novell's ZENworks for Servers 3. Administrator's Handbook
ISBN: 789729865
EAN: N/A
Year: 2003
Pages: 137

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net