Huang Zhen wrote:
Hi, all,

To help our users configure the resources easily with both cib.xml and GUI,
I plan to add a "required" attribute to the RA's metadata.

Here I listed all parameters for all existing OCF RAs.
And marked * to the parameters which I think are "required".

However, I am not familiar with many of them, and maybe my understood is wrong.
So I need your help to revise the list.

Thank you very much!


apache
    OCF_RESKEY_configfile

MANDATORY?

    OCF_RESKEY_httpd
    OCF_RESKEY_port
    OCF_RESKEY_statusurl

AudibleAlarm
    OCF_RESKEY_nodelist
no mandatory parameters

ClusterMon
    OCF_RESKEY_user
    OCF_RESKEY_pidfile
    OCF_RESKEY_update
    OCF_RESKEY_extra_options
    OCF_RESKEY_htmlfile
ought to be mandatory - but with a default

db2
    OCF_RESKEY_instance
Mandatory

Delay
    OCF_RESKEY_startdelay
    OCF_RESKEY_stopdelay
    OCF_RESKEY_mondelay
No mandatory for delay

drbd
    OCF_RESKEY_drbd_resource
resource is mandatory.

    OCF_RESKEY_drbdconf
    OCF_RESKEY_clone_max
    OCF_RESKEY_clone_node_max
    OCF_RESKEY_master_max
    OCF_RESKEY_master_node_max

Dummy
    OCF_RESKEY_monitor_delay

Filesystem
*    OCF_RESKEY_device
*    OCF_RESKEY_directory
*    OCF_RESKEY_fstype
    OCF_RESKEY_options
First 3 are mandatory

ICP
*    OCF_RESKEY_driveid
*    OCF_RESKEY_device
Probably both are mandatory

IPaddr2
*    OCF_RESKEY_ip
    OCF_RESKEY_broadcast
    OCF_RESKEY_nic
    OCF_RESKEY_netmask
    OCF_RESKEY_iflabel
    OCF_RESKEY_mac
    OCF_RESKEY_incarnations_max_global
    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
IP is mandatory

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

IP is mandatory

IPsrcaddr
*    OCF_RESKEY_ipaddress
IPaddress is mandatory - should be consistent with other IP parameter names

IPv6addr
*    OCF_RESKEY_ipv6addr
ipv6addr is mandatory

LinuxSCSI
*    OCF_RESKEY_scsi
Should be named scsitarget or something
It is mandatory.

LVM
    OCF_RESKEY_volgrpname
Mandatory

MailTo
*    OCF_RESKEY_email
*    OCF_RESKEY_subject
Email is mandatory


portblock
*    OCF_RESKEY_protocol
*    OCF_RESKEY_portno
*    OCF_RESKEY_action
All are mandatory

Raid1
*    OCF_RESKEY_raidconf
*    OCF_RESKEY_raiddev
All are mandatory

ServeRAID
*    OCF_RESKEY_serveraid
    OCF_RESKEY_mergegroup
All are mandatory

WAS
    OCF_RESKEY_config
    OCF_RESKEY_port
Config is mandatory, port is optional

WinPopup
    OCF_RESKEY_hostfile
Mandatory

Xinetd
*    OCF_RESKEY_service
Mandatory

--
    Alan Robertson <[EMAIL PROTECTED]>

"Openness is the foundation and preservative of friendship... Let me claim from you at all times your undisguised opinions." - William Wilberforce
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to