Setting up the cache cluster
Use this procedure to set up the cache cluster.
-
To identify the nodes of the
GPFS cluster that function as the application
nodes and the nodes that function as gateway nodes, run the following command:
mmlscluster -
After you identify the nodes, run the following command to assign the role of a gateway node to
the identified nodes:
mmchnode --gateway -N Node1,Node2,... -
To ensure that GPFS
started, run the following command:
mmgetstate -a -
To mount the file system, run the following command:
mmmount filesystemname -
To create an AFM fileset and link the fileset, run the following command:
mmcrfileset filesystemname Fileset -p afmTarget=Home:Home-Exported-Path --inode-space=new -p afmMode=single-writer | read-only | local-updates | independent-writermmlinkfileset filesystemname fileset -J /filesystem-path/fileset -
Access the AFM fileset.
To check the fileset state and other details, run the following command:
mmafmctl filesystemname getstate