Révision 40
| trunk/shell/front-end-finish-up (revision 40) | ||
|---|---|---|
| 233 | 233 |
rpl tty1 "$CONST_XEN_VIRTUAL_CONSOLE_NAME" \ |
| 234 | 234 |
${FRONT_END_FILE_SYSTEM_MOUNT_POINT}${CURRENT_PATH}/inittab
|
| 235 | 235 |
# |
| 236 |
# End /etc/inittab stuff. |
|
| 237 |
# |
|
| 238 |
# NFS V4 stuff |
|
| 239 |
# |
|
| 240 |
cp ${TEMPLATES_DIR}${CURRENT_PATH}/${FRONT_END_EXPORTS_TEMPLATE} \
|
|
| 241 |
${FRONT_END_FILE_SYSTEM_MOUNT_POINT}${CURRENT_PATH}/$CONST_EXPORTS_FILE_BASENAME
|
|
| 242 |
NFS_HOME_STANZA="$CLUSTER_STATIC_NETWORK_PREFIX.0/${CLUSTER_STATIC_NETMASK}$FRONT_END_NFS_OPTIONS"
|
|
| 243 |
rpl __NFS_HOME_STANZA__ "$NFS_HOME_STANZA" \ |
|
| 244 |
${FRONT_END_FILE_SYSTEM_MOUNT_POINT}${CURRENT_PATH}/$CONST_EXPORTS_FILE_BASENAME
|
|
| 245 |
# |
|
| 246 |
# End NFS V4 stuff. |
|
| 247 |
# |
|
| 236 | 248 |
# Umount the compute node system disk |
| 237 | 249 |
# |
| 238 | 250 |
# Order matters since the /home file system is mounted on the |
| trunk/shell/templates/etc/exports.front-end (revision 40) | ||
|---|---|---|
| 1 | 1 |
# /etc/exports: the access control list for filesystems which may be exported |
| 2 | 2 |
# to NFS clients. See exports(5). |
| 3 | 3 |
# |
| 4 |
# Example for NFSv2 and NFSv3: |
|
| 5 |
# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check) |
|
| 6 |
# |
|
| 7 |
# Example for NFSv4: |
|
| 8 |
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check) |
|
| 9 |
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) |
|
| 10 |
# |
|
| 11 | 4 |
# We use NFS4 as we have a single tree to share: /home. fsid=0 is used |
| 12 | 5 |
# to set the root of that tree. |
| 13 | 6 |
# We use async for performance, hopping that the front-end |
| 14 | 7 |
# will not crash indipendently from the rest of the cluster. |
| 15 | 8 |
# |
| 16 |
/home 192.168.1.0/255.255.255.0(rw,no_subtree_check,async,root_squash,fsid=0) |
|
| 9 |
/home __NFS_HOME_STANZA__ |
|
Formats disponibles : Unified diff