1. Choose „Affinity Rules" > „New“
2. Enter rule name , choose virtual machines that must be on the same host and press Save