97 | | |
| 97 | * {{{WN_NFS_AREAS}}} : this variable lists all file systems that need to be NFS mounted on NFS clients (WNs by default). This is a nlist where for each element, the key is the mount point on the client and the value the server to use. The server can be just a host name or {{{hostname:/server_mnt_point}}} in case the mount point is different on the server. The key value must be escaped. A typical example is : |
| 98 | {{{ |
| 99 | variable WN_NFS_AREAS = nlist( |
| 100 | escape("/home"), CE_HOST, |
| 101 | escape("/swmgrs"), CE_HOST+":/vo_sw_areas", |
| 102 | escape(CE_CLOSE_SE_ACCESS_POINT), SE_HOST_DEFAULT, |
| 103 | ); |
| 104 | }}} |
| 105 | * {{{SITE_NFS_ACL}}} : this is a list of hostname patterns to be used in the export entry for each file system listed in {{{WN_NFS_AREAS}}}. Default is to export all file systems to CE, SE, and WNs and should generably be appropriate. |
| 106 | * {{{NFS_THREADS}}} : this is a nlist with one entry for each NFS server you want to define a non default value of NFS threads (8). An entry for an unused server is just ignored. The key must be the escaped host name and the value the number of threads. A typical example is : |
| 107 | variable NFS_THREADS = nlist( |
| 108 | CE_HOST, 16, |
| 109 | SE_HOST_DEFAULT, 16, |
| 110 | ); |
| 111 | |
| 112 | For compatibility reason, if variable {{{CE_NFS_ENABLED}}} is defined, the default value for {{{WN_NFS_AREAS}}} is : |
| 113 | {{{ |
| 114 | variable WN_NFS_AREAS = nlist( |
| 115 | escape("/home"), CE_HOST, |
| 116 | ); |
| 117 | }}} |
| 118 | This means that {{{/home}}} is NFS mounted on WNS and that the server is the CE. |