Swap:Configuring SWAP
From Adapt
Swap configuration is handled through a java properties file. This file contains a list of local directories that will appear as partitions in SWAP as well as a set of peers. Each SWAP node will require its own properties file.
The configuration for a three-node swap setup is shown below. The three nodes exist at addresses 192.168.1.4, 192.168.1.5, and 192.168.1.6.
Node 1 (192.168.1.4)
directory.1=/export/xraid1-1/swap-vault directory.2=/export/xraid1-2/swap-vault peer.1=192.168.1.5 peer.2=192.168.1.6
Node 2 (192.168.1.5)
directory.1=/export/xraid3-1/swap-vault directory.2=/export/xraid3-2/swap-vault peer.1=192.168.1.4 peer.2=192.168.1.6
Node 3 (192.168.1.6)
directory.1=/export/xraid5-1/swap-vault directory.2=/export/xraid5-2/swap-vault peer.1=192.168.1.4 peer.2=192.168.1.5