Configuring a Network Appliance Filer for DevOps Code ClearCase
About this task
To configure a Network Appliance Filer for use by DevOps Code ClearCase®:
Procedure
- Create volumes.Create one or more volumes on the Filer for use by DevOps Code ClearCase. You must use the nvfail on option to the Data ONTAP vol command. The following commands create a volume named ccvol that uses 10 disks:
vol create ccvol 10 vol options ccvol nvfail on
Note: Network Appliance Filers provide a specialized snapshot backup facility (not related to the DevOps Code ClearCase snapshot backup program), which is managed at the volume level. Keep backup considerations in mind when allocating volumes to hold VOB data or other DevOps Code ClearCase data. It will simplify implementation of Network Appliance snapshot VOB backups if you dedicate one or more volumes exclusively to VOB storage. - Disable quotas on volumes to be used for VOB storage.
If quotas are enabled, it is recommended that you disable them on volumes that are used for VOB storage. The following Data ONTAP command reports on whether the volume ccvol has quotas enabled:
quota report ccvol
The following Data ONTAP command disables quotas on the volume ccvol.
quota off ccvol
-
Make the volumes accessible.
Volumes that are accessed only by computers running the UNIX™ system or Linux™ must be exported by using the Data ONTAP exportfs command. Volumes that are accessed only by Windows™ computers must be shared by using the Data ONTAP cifs_shares command. Volumes that must be accessed by both types of computers must be exported and shared.
-
Enable read/write access for the albd_server and root.
All volumes used for VOB and view storage must be configured with read/write (rw) access by the albd_server account if accessed from Windows. Volumes used for VOB storage must be configured with read/write (rw) access for root if accessed from the UNIX system or Linux. Volumes used for view storage by the UNIX system or Linux do not need to be configured with read/write access for root.
- Create qtrees.A qtree is a special subdirectory of the root directory of a volume. The following Data ONTAP command creates a qtree named vobstg in a volume named ccvol.
qtree create /vol/ccvol/vobstg
- Specify the security style for each qtree.The Data ONTAP qtree command allows you to specify the type of access checking (security style) that is used when a determining whether a user has rights to access a file or directory. You can specify any of three security styles:
- unix evaluates user access rights by considering the UID and GID of the user and the access mode of the file or directory.
- ntfs evaluates user access rights by considering the SID of the user and the ACL of the file or directory.
- mixed provides support for both security styles. If you used mixed security, the ACLs on storage containers can be displayed from a Windows client; however, they are managed by the UNIX VOB server host and stored as NFSv4-style ACLs on the filer.
The following Data ONTAP command specifies that the unix security style is implemented in the qtree named vobstgqtree security vobstg unix
Note: For any qtree used to provide VOB storage server by a VOB server running Windows, you must set the qtree security style to ntfs. - Disable oplocks.Opportunistic locking (CIFS oplocks) is enabled by default when a qtree is created. The following Data ONTAP command disables oplocks on the qtree named vobstg:
qtree oplocks vobstg disable