In the manual you add colocation with resource "writer_vip" before create it. This causes the error. [root@centos-web02]# pcs constraint colocation add master ms_MySQL with writer_vip Error: Resource 'writer_vip' does not exist