[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] Please revise the required parameters list of RAs
From:       Lars Marowsky-Bree <lmb () suse ! de>
Date:       2005-12-20 13:28:45
Message-ID: 20051220132845.GJ2762 () marowsky-bree ! de
[Download RAW message or body]

On 2005-12-19T16:22:56, Huang Zhen <zhenhltc@cn.ibm.com> wrote:

> apache
> 	OCF_RESKEY_configfile

Mandatory.

> 	OCF_RESKEY_httpd
> 	OCF_RESKEY_port
> 	OCF_RESKEY_statusurl
> 
> AudibleAlarm
> 	OCF_RESKEY_nodelist
> 
> ClusterMon
> 	OCF_RESKEY_user
> 	OCF_RESKEY_pidfile
> 	OCF_RESKEY_update
> 	OCF_RESKEY_extra_options
> 	OCF_RESKEY_htmlfile

Mandatory, but needs a default.

> db2
> 	OCF_RESKEY_instance

Mandatory?
> 
> Delay
> 	OCF_RESKEY_startdelay
> 	OCF_RESKEY_stopdelay
> 	OCF_RESKEY_mondelay

Don't need to be provided by the user, but need to be set to a default.

> drbd
> 	OCF_RESKEY_drbd_resource

Mandatory.

> 	OCF_RESKEY_drbdconf
> 	OCF_RESKEY_clone_max
> 	OCF_RESKEY_clone_node_max
> 	OCF_RESKEY_master_max
> 	OCF_RESKEY_master_node_max

The last four are "mandatory" in the sense that they need to be set,
only have one correct set of values. (2,1,1,1) These are meta values to
the CRM.

> Dummy
> 	OCF_RESKEY_monitor_delay
> 
> Filesystem
> *	OCF_RESKEY_device
> *	OCF_RESKEY_directory
> *	OCF_RESKEY_fstype

Yes, all three are mandatory.

> 	OCF_RESKEY_options
> 
> ICP
> *	OCF_RESKEY_driveid
> *	OCF_RESKEY_device
> 
> IPaddr2
> *	OCF_RESKEY_ip
> 	OCF_RESKEY_broadcast
> 	OCF_RESKEY_nic
> 	OCF_RESKEY_netmask
> 	OCF_RESKEY_iflabel
> 	OCF_RESKEY_mac
> 	OCF_RESKEY_incarnations_max_global

This is an oversight and not yet aligned with the actually implemented
clone code.

> 	OCF_RESKEY_incarnation_no (not user-configurable)
> 	OCF_RESKEY_clusterip_hash
> 	OCF_RESKEY_clusterip_mark
> 	OCF_RESKEY_arp_interval
> 	OCF_RESKEY_arp_count
> 	OCF_RESKEY_arp_bg
> 	OCF_RESKEY_arp_mac

Anything you list below the iflabel key is probably stuff for the expert
menu.

> IPaddr
> *	OCF_RESKEY_ip
> 	OCF_RESKEY_broadcast
> 	OCF_RESKEY_nic
> 	OCF_RESKEY_netmask
> 	OCF_RESKEY_lvs_support  ( e.g. true, on, 1 )
> 	OCF_RESKEY_ARP_INTERVAL_MS
> 	OCF_RESKEY_ARP_REPEAT
> 	OCF_RESKEY_ARP_BACKGROUND (e.g. yes )
> 	OCF_RESKEY_ARP_NETMASK
> 	OCF_RESKEY_local_start_script
> 	OCF_RESKEY_local_stop_script

Same here, anything below netmask is expert stuff.

> IPsrcaddr
> *	OCF_RESKEY_ipaddress
> 
> IPv6addr
> *	OCF_RESKEY_ipv6addr
> 
> LinuxSCSI
> *	OCF_RESKEY_scsi
> 
> LVM
> 	OCF_RESKEY_volgrpname

Mandatory.

> MailTo
> *	OCF_RESKEY_email
> *	OCF_RESKEY_subject
> 
> 
> portblock
> *	OCF_RESKEY_protocol
> *	OCF_RESKEY_portno
> *	OCF_RESKEY_action
> 
> Raid1
> *	OCF_RESKEY_raidconf
> *	OCF_RESKEY_raiddev

raidconf is not mandatory, it can default to /etc/raidtab

> ServeRAID
> *	OCF_RESKEY_serveraid
> 	OCF_RESKEY_mergegroup
> 
> WAS
> 	OCF_RESKEY_config

Mandatory.

> 	OCF_RESKEY_port
> 
> WinPopup
> 	OCF_RESKEY_hostfile
> 
> Xinetd
> *	OCF_RESKEY_service


Sincerely,
    Lars Marowsky-Brée

-- 
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business	 -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic