/*
* Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2.1 of the GNU Lesser General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it would be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* Further, this software is distributed without any warranty that it is
* free of the rightful claim of any third person regarding infringement
* or the like. Any license provided herein, whether implied or
* otherwise, applies only to this software file. Patent licenses, if
* any, provided herein do not apply to combinations of this program with
* other software, or any other product whatsoever.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307,
* USA.
*
* Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
* Mountain View, CA 94043, or:
*
* http://www.sgi.com
*
* For further information regarding this notice, see:
*
* http://oss.sgi.com/projects/GenInfo/NoticeExplan
*/
/*
* ci_cdbkeys.h
*
* This file contains CDB key lookup constants
*/
#ifndef CI_CDBKEYS_H
#define CI_CDBKEYS_H
#ident "$Id: ci_cdbkeys.h,v 1.1 2000/08/31 19:16:32 vasa Exp $"
/*
* 1. Please maintain these macros definitions in alphabetical order.
* 2. Attempt should be made to not abbreviate values as much as possible.
* 3. Multi-word values should capitalize the first letter of each word.
* 4. Single word values are all lower case.
* 5. Underscores allowed when separating consecutive capital letters of
* different words.
*/
#define CDB_ACTION "action"
#define CDB_ACTION_TIME_PERIOD "ActionTimePeriod"
#define CDB_ADMIN "admin"
#define CDB_AGENTS "ha_agent"
#define CDB_ALL "ALL"
#define CDB_ASCII "ascii"
#define CDB_BROADCAST_ADDRESS "BroadcastAddress"
#define CDB_CELLULAR "Cellular"
#define CDB_CELL_ID "CellID"
#define CDB_CELL_WEIGHT "CellWeight"
#define CDB_CELL_INTERCONNECT "CellInterconnect"
#define CDB_CELL_ICTYPE "ICType"
#define CDB_CELL_ICADDRESS "ICAddress"
#define CDB_CELL_CONNECTIVITY "CellConnectivity"
#define CDB_CELL_TARGET_NODE "TargetNode"
#define CDB_CELL_TARGET_ADDR "TargetAddress"
#define CDB_CLIENT_TIME_PERIOD "ClientTimePeriod"
#define CDB_CLUSTER "cluster"
#define CDB_CLUSTERS "clusters"
#define CDB_CLUSTER_ADMIN "ClusterAdmin"
#define CDB_CLUSTER_ID "ClusterId"
#define CDB_CLUSTER_NOTIFY_CMD "NotifyCmd"
#define CDB_CLUSTER_NOTIFY_ADDR "NotifyAddress"
#define CDB_CMS "cms"
#define CDB_CMS_DAEMON "ha_cmsd"
#define CDB_CMS_MON_TIME "CMS_MonitorTime"
#define CDB_CMS_PULSE_TIME "CMS_PulseTime"
#define CDB_CRS "crs"
#define CDB_CRS_MON_ON_STARTUP "CrsMonOnStartup"
#define CDB_CRS_MON_INTERVAL "CrsMonInterval"
#define CDB_CRS_NAP_INTERVAL "CrsNapInterval"
#define CDB_CRS_RESET_INTERVAL "CrsResetInterval"
#define CDB_CRS_RETRY_INTERVAL "CrsRetryInterval"
#define CDB_CRS_RESEND_TIMEOUT "CrsResendTimeout"
#define CDB_CRS_RESEND_RETRIES "CrsResendRetries"
#define CDB_CRS_RUN_PWRFAIL "CrsRunPowerfail"
#define CDB_CRS_MIN_NET_DELAY "CrsMinNetDelay"
#define CDB_CRS_MAX_NET_DELAY "CrsMaxNetDelay"
#define CDB_CRS_MAX_NET_FAIL_INT "CrsMaxNetFailDetectionInterval"
#define CDB_CRS_MAX_SERIAL_FAIL_INT "CrsMaxSerailFailDetectionInterval"
#define CDB_COMMITQ_TIMEOUT "CommitQTimeout"
#define CDB_CONSOLE "console"
#define CDB_CONTROLNET "ControlNet"
#define CDB_CONTROL "control"
#define CDB_DD CDB_SUBKEY_DELIM
#define CDB_DEBUG "debug"
#define CDB_DELETE "delete"
#define CDB_DEPENDENCY "_dependency"
#define CDB_DISCOVER "discover"
#define CDB_DISABLED "disabled"
#define CDB_ENABLED "enabled"
#define CDB_EVENT "event"
#define CDB_EXCLUSIVE "exclusive"
#define CDB_EXECUTABLE "executable"
#define CDB_FAILOVER "restart"
/*
* Can not change next two lines. Both are also defined in FailSafe ism
*/
#define CDB_FAILOVER_POLICY "FailoverPolicy"
#define CDB_FAILOVER_POLICIES "FailoverPolicies"
#define CDB_FAILSAFE "failsafe"
#define CDB_FAILSAFE_DAEMON "ha_fsd"
/*
* Can not change the next 6 lines. They are also defined in FailSafe ism.
*/
#define CDB_FAILSAFE_GROUPID "GCS_GroupID"
#define CDB_FS_BOOTSLEEP "BootSleep"
#define CDB_FS_GCS_MSG_SIZE "GCS_MessageSize"
#define CDB_FS_INIT_PULSE_TIME "InitialPulseTime"
#define CDB_FS_PULSE_TIME "PulseTime"
#define CDB_FS_RESET_TIMEOUT "ResetTimeout"
#define CDB_FILELIST "FileList"
#define CDB_FILESYSTEMS "FileSystems"
#define CDB_FS_DEVNAME "FSDevName"
#define CDB_FS_FORCE "FSForce"
#define CDB_FS_MOUNTPOINT "FSMountPoint"
#define CDB_FS_MOUNTOPTIONS "FSMountOptions"
#define CDB_FS_STATUS "FSStatus"
#define CDB_FS_SERVERS "FSServers"
#define CDB_FSS_NODE "FSServerNode"
#define CDB_FSS_RANK "FSServerRank"
#define CDB_GCD_INCNO "GCD_IncNo"
#define CDB_GCD_LOOP_TIME "GCD_LoopTime"
#define CDB_GCS "gcs"
#define CDB_GCS_DAEMON "ha_gcd"
#define CDB_GCS_NOTIFY_LIST "GCS_NotifyList"
#define CDB_GLOBAL "global"
#define CDB_GROUP "group"
#define CDB_GROUPLIST "GroupList"
#define CDB_HA "HA"
#define CDB_HDRSIZE "HeaderSize"
#define CDB_DEF_HDRSIZE "medium"
#define CDB_HOSTNAME "hostname"
#define CDB_HB "heartbeat"
#define CDB_IFD "ifd"
#define CDB_IF_DAEMON "ha_ifd"
#define CDB_IFLIST "interfaces"
#define CDB_INCARNATION "incarnation"
/*
* Can not change the next two lines. They are also defined in FailSafe ism.
*/
#define CDB_INITIAL_AFD "InitialAFD"
#define CDB_INIT_TIMEOUT "InitializeTimeout"
#define CDB_INTF_TIMEOUT "InterfaceTimeout"
#define CDB_IPADDR "ipaddr"
#define CDB_IPADDRESS "IP_address"
#define CDB_LEVEL "level"
#define CDB_LOCAL "local"
#define CDB_LOCAL_DEFINITIONS "_LocalDefinitions"
#define CDB_LOCALFAIL_POLICY "LocalFailoverPolicy"
#define CDB_LOCALFAIL_ARGS "LocalFailoverArguments"
#define CDB_LOGGING "logging"
#define CDB_MACHINE "machine"
#define CDB_MACHINES "machines"
#define CDB_MAIN_TIME_PERIOD "MainTimePeriod"
#define CDB_MEMSIZE "MemorySize"
#define CDB_MODE "mode"
#define CDB_MONPERIOD "MonitorPeriod"
#define CDB_MONITOR "monitor"
#define CDB_MONITOR_PERIOD "MonitorPeriod"
#define CDB_MYCLUSTERNAME "MyClusterName"
#define CDB_NETIF "NetworkInterface"
#define CDB_NETMASK "NetworkMask"
#define CDB_NEW_MEM_TIMEOUT "NewMembershipTimeout"
#define CDB_NEW_CFG_WAITPERIOD "NewConfigurationWaitPeriod"
#define CDB_NODE_ID "NodeID"
#define CDB_NODE_TIMEOUT "NodeTimeout"
#define CDB_NOTIFYENTRY "NotifyEntry"
#define CDB_NOTIFYLIST "NotifyList"
#define CDB_ORDER "order"
#define CDB_OPTIONS "options"
#define CDB_OWNERDEVICE "OwnerDevice"
#define CDB_OWNERHOST "OwnerHost"
#define CDB_OWNERTYPE "OwnerType"
#define CDB_PARAMETERS "parameters"
#define CDB_PASSWD "password"
#define CDB_PRIORITY "priority"
#define CDB_PREDEFINED "predefined"
#define CDB_PID "pid"
#define CDB_PORT "port"
#define CDB_PROBE "probe"
#define CDB_PROPOSALQ_TIMEOUT "ProposalQTimeout"
#define CDB_REAP_PERIOD "ReapPeriod"
#define CDB_RESEND_TIMEOUT "ResendTimeout"
#define CDB_RESET_TIMEOUT "ResetTimeout"
#define CDB_RESET_TYPE "ResetType"
#define CDB_RESOURCES "resources"
#define CDB_RESATTRIBUTES "ResourceAttributes"
/*
* Can not change next line. It is also defined in FailSafe ism
*/
#define CDB_RESGROUPS "ResourceGroups"
#define CDB_RESTYPES "ResourceTypes"
#define CDB_RES_DATATYPES "DataTypes"
#define CDB_RES_DEFAULTS "DefaultValues"
#define CDB_SCAN_PERIOD "ScanPeriod"
#define CDB_SERVICE_PERIOD "ServicePeriod"
#define CDB_SERVICES "services"
#define CDB_SEND_TIMEPERIOD "SendTimePeriod"
#define CDB_SIGNAL "signal"
#define CDB_SRM "srm"
#define CDB_SRM_DAEMON "ha_srmd"
#define CDB_SRM_GROUPID "SRM_GroupID"
#define CDB_SRM_MSGBUFSIZE "SRM_MessageBufferSize"
#define CDB_SRM_MAXRESENTRIES "SRM_MaxResourceEntries"
#define CDB_START "start"
#define CDB_STARTMONTIME "StartMonitoringTime"
#define CDB_STATE "state"
#define CDB_STATUS "status"
#define CDB_STOP "stop"
#define CDB_SUBSYSLIST "SubsystemList"
#define CDB_SYNC_FLAG "SyncCommunication"
#define CDB_SYSCTLR "SystemController"
#define CDB_SCRIPT "ha_script"
#define CDB_TEST "test"
#define CDB_TIEBREAKER "TieBreaker"
#define CDB_TIE_WAITPERIOD "TieWaitPeriod"
#define CDB_TIMEOUT "timeout"
#define CDB_TMP "tmp"
#define CDB_TYPE "type"
#define CDB_VERSION "version"
#define CDB_WAITFORALL_TIMEOUT "WaitForAllTimeout"
#define CDB_KEY_EMPTY ""
#define CDB_KEY_MYCLUSTERNAME (CDB_DD CDB_LOCAL CDB_DD CDB_MYCLUSTERNAME)
#define CDB_KEY_CLUSTERTREE (CDB_DD CDB_CLUSTER)
#define CDB_KEY_LOCALRESOURCES (CDB_DD CDB_LOCAL CDB_DD CDB_HA CDB_DD CDB_RESOURCES)
#define CDB_KEY_LOCALRESTYPES (CDB_DD CDB_LOCAL CDB_DD CDB_HA CDB_DD CDB_RESTYPES)
#define CDB_KEY_ROOT (CDB_DD)
#define CDB_KEY_CMS_INCARNATION (CDB_DD CDB_LOCAL CDB_DD CDB_HA CDB_DD CDB_SERVICES \
CDB_DD CDB_CMS CDB_DD CDB_INCARNATION)
#define CDB_KEY_CMS_INCARNATION_PARENT \
(CDB_DD CDB_LOCAL CDB_DD CDB_HA CDB_DD CDB_SERVICES \
CDB_DD CDB_CMS)
/* Defaults for some CDB keys */
#define CdbNodeTimeout "15000"
#define CdbSendTimePeriod "1000"
#define CdbInitializeTimeout "10000"
#define CdbNewMembershipTimeout "30000"
#define CdbTieWaitPeriod "5000"
#define CdbResetTimeout "60000"
#define Cdbincarnation "0"
#define CdbGCD_IncNo "1"
#define CdbResendTimeout "10000"
#define CdbProposalQTimeout "10000"
#define CdbCMS_PulseTime "20000"
#define CdbCMS_MonitorTime "20000"
#define CdbGCD_LoopTime "120000"
#define CdbMemorySize "64000"
#define CdbCommitQTimeout "10000"
#define CdbSRM_MessageBufferSize "49152"
#define CdbSRM_MaxResourceEntries "64"
#define CdbSRM_GroupID "10"
#define CdbClientTimePeriod "10000"
#define CdbActionTimePeriod "5000"
#define CdbMainTimePeriod "10000"
#define CdbSyncCommunication "false"
#define CdbScanPeriod "5000"
#define CdbBootSleep "30000"
#define CdbGCS_MessageSize "64000"
#define CdbPulseTime "10000"
#define CdbInitialPulseTime "20000"
#define CdbGCS_GroupID "11"
#define CdbClusterNotifyCmd "/bin/mail"
#endif /* CI_CDBKEYS_H */