Hi all, Pacemaker has always supported letting users add arbitrary descriptions to resources, but doing so required low-level XML changes.
With the Pacemaker 2.1.6 release expected in a couple of months, we aim to make that a little easier. crm_mon will now display descriptions with resources if given the -- show-detail option, and crm_resource --list will improve its existing display of descriptions. crm_resource gains an --element option, for use with --get-parameter, --set-parameter, and --delete-parameter, to manage attributes of a resource's XML element (<primitive>, <group>, <clone>, or <bundle>). This will allow easier modification of descriptions, as well as other attributes such as primitive's class, provider, and type. Examples: Set the description for a resource: # crm_resource -r ip1 --set-parameter description -v "Floating IP for database client access" Set attribute: name=description value=Floating IP for database client access Query the description for a resource: # crm_resource -r ip1 --get-parameter description Floating IP for database client access -- Ken Gaillot <[email protected]> _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
