mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
Remove trailing spaces in file docs/source/guides/admin-guides/manage_clusters/ppc64le/statelite/config_statelite.rst
This commit is contained in:
parent
deb221aa22
commit
a1eb8358a5
@ -2,22 +2,22 @@ Configuration
|
||||
=============
|
||||
|
||||
Statelite configuration is done using the following tables in xCAT:
|
||||
* litefile
|
||||
* litetree
|
||||
* statelite
|
||||
* policy
|
||||
* noderes
|
||||
* litefile
|
||||
* litetree
|
||||
* statelite
|
||||
* policy
|
||||
* noderes
|
||||
|
||||
litefile table
|
||||
--------------
|
||||
|
||||
The litefile table specifies the directories and files on the statelite nodes that should be read/write, persistent, or read-only overlay. All other files in the statelite nodes come from the read-only statelite image.
|
||||
The litefile table specifies the directories and files on the statelite nodes that should be read/write, persistent, or read-only overlay. All other files in the statelite nodes come from the read-only statelite image.
|
||||
|
||||
#. The first column in the litefile table is the image name this row applies to. It can be an exact osimage definition name, an osimage group (set in the groups attribute of osimages), or the keyword ``ALL``.
|
||||
|
||||
#. The second column in the litefile table is the full path of the directory or file on the node that you are setting options for.
|
||||
|
||||
#. The third column in the litefile table specifies options for the directory or file:
|
||||
#. The third column in the litefile table specifies options for the directory or file:
|
||||
|
||||
#. tmpfs - It provides a file or directory for the node to use when booting, its permission will be the same as the original version on the server. In most cases, it is read-write; however, on the next statelite boot, the original version of the file or directory on the server will be used, it means it is non-persistent. This option can be performed on files and directories.
|
||||
#. rw - Same as above. Its name "rw" does NOT mean it always be read-write, even in most cases it is read-write. Do not confuse it with the "rw" permission in the file system.
|
||||
@ -31,7 +31,7 @@ The litefile table specifies the directories and files on the statelite nodes th
|
||||
#. link,persistent - It provides a mounted file or directory that is copied to the xCAT persistent location and then over-mounted to the tmpfs on the booted node, and finally the symbolic link in the local file system will be linked to the over-mounted tmpfs file/directory on the booted node. The file/directory will be persistent across reboots. The permission of the file/directory where the symbolic link points to will be the same as the original one in the statelite location. It requires the statelite table to be filled out with a spot for persistent statelite. The option can be performed on files and directories.
|
||||
#. localdisk - The file or directory will be stored in the local disk of the statelite node. Refer to the section To enable the localdisk option to enable the 'localdisk' support.
|
||||
|
||||
Currently, xCAT does not handle the relative links very well. The relative links are commonly used by the system libraries, for example, under ``/lib/`` directory, there will be one relative link matching one ``.so`` file. So, when you add one relative link to the litefile table (Not recommend), make sure the real file also be included, or put its directory name into the litefile table.
|
||||
Currently, xCAT does not handle the relative links very well. The relative links are commonly used by the system libraries, for example, under ``/lib/`` directory, there will be one relative link matching one ``.so`` file. So, when you add one relative link to the litefile table (Not recommend), make sure the real file also be included, or put its directory name into the litefile table.
|
||||
|
||||
.. Note:: It is recommended that you specify at least the entries listed below in the litefile table, because most of these files need to be writeable for the node to boot up successfully. When any changes are made to their options, make sure they won't affect the whole system. If you want to run a command like ``/bin/ping`` using non-root users, add this command into ``litefile``, then root user have privilege to authorize the command for non-root users.
|
||||
|
||||
@ -109,7 +109,7 @@ In the statelite table, the node or nodegroups in the table must be unique; that
|
||||
|
||||
"compute",,"<nfssvr_ip>:/gpfs/state",,
|
||||
|
||||
Any nodes in the compute node group will have their state stored in the ``/gpfs/state`` directory on the machine with ``<nfssvr_ip>`` as its IP address.
|
||||
Any nodes in the compute node group will have their state stored in the ``/gpfs/state`` directory on the machine with ``<nfssvr_ip>`` as its IP address.
|
||||
|
||||
When the node boots up, then the value of the ``statemnt`` attribute will be mounted to ``/.statelite/persistent``. The code will then create the following subdirectory ``/.statelite/persistent/<nodename>``, if there are persistent files that have been added in the litefile table. This directory will be the root of the image for this node's persistent files. By default, xCAT will do a hard NFS mount of the directory. You can change the mount options by setting the mntopts attribute in the statelite table.
|
||||
|
||||
@ -128,7 +128,7 @@ Ensure policies are set up correctly in the Policy Table. When a node boots up,
|
||||
chdef -t policy -o 4.7 commands=litefile rule=allow
|
||||
chdef -t policy -o 4.8 commands=litetree rule=allow
|
||||
|
||||
noderes
|
||||
noderes
|
||||
-------
|
||||
|
||||
``noderes.nfsserver`` attribute can be set for the NFSroot server. If this is not set, then the default is the Management Node.
|
||||
|
Loading…
x
Reference in New Issue
Block a user