There are no prerequisites for shutting the ClusterResourceManagerDaemon, however the order for shutting down the services on a node is:
The HeartbeatProgram
Each system should wait for the one above it to shutdown before shutting down itself.
Eventually the script that shuts down the HeartbeatProgram will also shutdown everything in the correct order.
The shutdown is initiated by sending a properly constructed message to the DesignatedCoordinator. This is achieved by invoking crmd -k on the node to be shutdown or by using the crmadmin tool and specifying a node.
See ClusterResourceManagerDaemon for further details of what happens inside the CRMd on startup and shutdown as well as how corner cases such as starting the first CRMd and stopping the last CRMd are handled.