ccs command you can use the --addvm (rather than the addservice option). This ensures that the vm resource is defined directly under the rm configuration node in the cluster configuration file.
name and a path attribute. The name attribute should match the name of the libvirt domain and the path attribute should specify the directory where the shared virtual machine definitions are stored.
path attribute in the cluster configuration file is a path specification or a directory name, not a path to an individual file.
/mnt/vm_defs, the following command will define a virtual machine named guest1:
# ccs -h node1.example.com --addvm guest1 path=/mnt/vm_defsrm configuration node in the cluster.conf file:
<vm name="guest1" path="/mnt/vm_defs"/>