User defined node states in corosync cluster in SLES

As of now we see bare minimum states for the nodes in the cluster, like online, offline or under maintenance... but is there a way to have user defined states for each node, which any other node in the cluster can change/manage ? Can it be done by adding some specific resource ? We have a requirement, where we run the nodes in the cluster into a state machine, and want to manage that state machine through corosync. All the nodes should be able to access other node's states, and should be able to change their states based on logic. Any help is appreciated ! Thanks