When generated the attribute files contain some information that is unique to the system on which it was generated. Because of this some of the parameter values must be modified before it can be used to generate nodes in a new LifeKeeper cluster. The tables below list the parameters, a short description of the parameter and a notation on if a change to the generated parameter value is required.
Parameters in the comm path attribute file
node name | Text string containing the name of new cluster node. The string starts with a null value [‘’]. | Required |
priority | Communication path priority | |
baudrate | Baud rate for the TTY communication path connection (not used for tcp communication paths). | |
remoteaddress | IP address of the remote node. TCP communication paths have 2 end points, the local node and the remote node. This parameter contains the IP address of the remote node. This parameter along with the Ipaddress parameter define the communication path end points. | Required |
Device | The device used for tty communication paths. | Required |
Remote | Name of the remote node in the LifeKeeper cluster. | Required |
Type | Type of communication path connection TTY/TCP | |
Ipaddress | IP address of the local node. TCP communication paths have 2 end points, the local node and the remote node. This parameter contains the IP address of the local node. This parameter along with the remoteaddress parameter define the communication path end points. | Required |
Parameters in the resource attribute file: Dependency section
Parent | Resource tag of the Parent resource | Required* |
Child | Resource tag of the Child resource | Required |
*This parameter is not required if the tag names will not be changed.
Parameters in the resource attribute file: Equivalency section
priority | Priority | |
rtag | Tag name on remote node | Required* |
tag | Tag name on local node | Required* |
type | ||
remote | Node name of remote node | Required |
rpriority | Priority of remote node |
*This parameter is not required if the tag names are not changed.
Parameters in the resource attribute file: Instance section
The main parameter list for resource instances for a LifeKeeper hierarchy. The parameters are broken down into those that are common to all LifeKeeper resource types and those specific to a LifeKeeper resource instance type.
Parameters common to each instance
ID | Resource ID | |
typ | Resource type | |
tag | Resource tag | |
switchback | Switchback type | |
state | Resource status |
Parameter typ=ip
primach | Node name | Required |
priif | NIC | |
mask | net mask | |
ipaddr | Virtual IP address of IP resource | Required |
Parameter typ=netraid
ID | Device ID(/dev/sdb, etc) | |
num | md number | |
async | Sync mode | |
mountpoint | Mount point | |
bitmap | bitmap file location | |
ipaddr | The IP addresses for the replication path end points (local and remote node) | Required* |
- The defined endpoints must match the defined communication path endpoints.
Parameter typ=apache
root | Location of the httpd.conf file | |
path | Location of the httpd daemon executable |
Parameter typ=pgsql
osexe | Path of the Postgres execution file | |
datadir | The protected Postgres data directory port Port for client communication | |
socket | Specify the full path to Socket used for Client communication | |
clientexe | The pg_ctl path for the Postgres execution file | |
dbuser | User name of Postgres data administrator | |
exepath | The psql path for the Postgres executables | |
logfile | Path for the Postgres log file | |
osuser | os user id |
Parameter typ=mysql
insno | Protection Instance Number | |
bindir | Location of MySQL executables | |
confdir | The full path name (Except the file name) where MySQL configuration file (my.cnf) is located | |
datadir | Data directory for the protected database instance |
Parameters in the lkinstall attribute file
Edit the attribute file under the LifeKeeper installation cookbook that was created in the preparation step to define the license information.
Example:
default[node][‘license’] = [‘example1.lic’,’example2.lic’]
- node: Specify the node name on which the lifeKeeper license will be installed.
- license: Specify license file(s).
- example1.lic, example2… A comma separated list of license files.
This completes the description of the all the parameters in the attribute files.
Post your comment on this topic.