Understanding the effects of collocation can help reduce the number of media mounts, make better use of space on sequential volumes, and improve the efficiency of server operations.
Collocation option | If a node is not defined as a member of a collocation group | If a node is defined as a member of a collocation group |
---|---|---|
No | The data for the node is not collocated. | The data for the node is not collocated. |
Group | The server stores the data for the node on as few volumes in the storage pool as possible. | The server stores the data for the node and for other nodes that belong to the same collocation group on as few volumes as possible. |
Node | The server stores the data for the node on as few volumes as possible. | The server stores the data for the node on as few volumes as possible. |
Filespace | The server stores the data for the node's file space on as few volumes as possible. If a node has multiple file spaces, the server stores the data for different file spaces on different volumes in the storage pool. | The server stores the data for the node's file space on as few volumes as possible. If a node has multiple file spaces, the server stores the data for different file spaces on different volumes in the storage pool. |
Collocation option | If a file space is not defined as a member of a collocation group | If a file space is defined as a member of a collocation group |
---|---|---|
No | The data for the file space is not collocated. | The data for the file space is not collocated. |
Group | The server stores the data for the filespace on as few volumes in the storage pool as possible. | The server stores the data for the file space and other file spaces that belong to the same collocation group on as few volumes as possible. |
Node | The server stores the data for the node on as few volumes as possible. | The server stores the data for the node on as few volumes as possible. |
Filespace | The server stores the data for the node's file space on as few volumes as possible. If a node has multiple file spaces, the server stores the data for different file spaces on different volumes in the storage pool. | The server stores the data for the file spaces on as few volumes as possible. If a node has multiple file spaces, the server stores the data for different file spaces on different volumes in the storage pool. |
When deciding whether and how to collocate data, complete the following steps:
When files are migrated from a disk storage pool, the server attempts to migrate all files that belong to the client node or collocation group that is using the most disk space in the storage pool. This process works well with the collocation option because the server tries to place all of the files from a particular client on the same sequential-access storage volume.
When creating collocation groups, keep in mind that the ultimate destination of the data that belongs to nodes in a collocation group depends on the policy domain to which nodes belong. For example, suppose that you create a collocation group that consists of nodes that belong to Policy Domain A. Policy Domain A specifies an active-data pool as the destination of active data only and has a backup copy group that specifies a primary storage pool, Primary1, as the destination for active and inactive data. Other nodes in the same collocation group belong to a domain, Policy Domain B, that does not specify an active-data pool, but that has a backup copy group that specifies Primary1 as the destination for active and inactive data. Primary1 has a designated copy storage pool. The collocation setting on PRIMARY1, the copy storage pool, and the active-data pool is GROUP.
When the node data is backed up and a simultaneous-write operation occurs, active and inactive data is stored in Primary1 and the copy storage pool. Note, however, that although all the nodes belong to a single collocation group, only the active data which belongs to nodes in Domain A are stored in the active-data pool. The data in Primary1 and the copy storage pool is collocated by group. The data in the active-data pool is also collocated by group, but the "group" consists only of nodes that are members of Policy Domain A.