store_request(NULL, fragment, CRM_OP_UPDATE, CRM_SYSTEM_DCIB);
xmlNodePtr msg_options = set_xml_attr( NULL, XML_TAG_OPTIONS, XML_ATTR_OP, CRM_OP_UPDATE, TRUE);
crmd_client_status_callback(const char * node, const char * client,		 const char * status, void * private){	const char    *join = NULL;	const char   *extra = NULL;	xmlNodePtr   update = NULL;	xmlNodePtr fragment = NULL;	if(safe_str_eq(status, JOINSTATUS)){		status = ONLINESTATUS;		extra  = XML_CIB_ATTR_CLEAR_SHUTDOWN;	} else if(safe_str_eq(status, LEAVESTATUS)){		status = OFFLINESTATUS;		join   = CRMD_JOINSTATE_DOWN;		extra  = XML_CIB_ATTR_CLEAR_SHUTDOWN;	}		crm_notice("Status update: Client %s/%s now has status [%s]\n",		   node, client, status);	if(AM_I_DC) {		update = create_node_state(node, node, NULL, status, join);		if(extra != NULL) {			set_xml_property_copy(update, extra, XML_BOOLEAN_TRUE);		}				fragment = create_cib_fragment(update, NULL);		store_request(NULL, fragment,			      CRM_OP_UPDATE, CRM_SYSTEM_DCIB);				free_xml(fragment);		free_xml(update);		s_crmd_fsa(C_CRMD_STATUS_CALLBACK, I_NULL, NULL);			} else {		crm_err("Got client status callback in non-DC mode");	}}