Setting up the cache cluster

Use this procedure to set up the cache cluster.

  1. 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
  2. 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,...
  3. To ensure that GPFS started, run the following command:
    # mmgetstate -a 
  4. To mount the file system, run the following command:
    # mmmount filesystemname
  5. 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-writer
    # mmlinkfileset filesystemname fileset -J /filesystem-path/fileset
  6. Access the AFM fileset.
    To check the fileset state and other details, run the following command:
    # mmafmctl filesystemname getstate