Hi Folks, Can you please review the changes made for the below CR's. The webrev is @ http://cr.opensolaris.org/~hnamachi/ha-ldom/.
CR 6857949 RT_description for HA xVM on SPARC has incorrect description - SUNW.ldom : Line 30 CR *6857832* "Updated guest domain conriguration is not reflected on resuming the suspended RG" Description: If the RG is suspended any LDom configuration changes are reverted back to the old state after the RG is resumed. Solution: The dump_domain_config() has to be called prior to stopping the domain. This would dump the domain configuration to CCR. - functions.ksh : Lines 1076-1081 CR *6858640* "Multiple Guest domain instances are present in the cluster after a node reboot/crash" Description: After a node reboot/crash the domain is in active state. Hence two instances of the same domain can be running in the cluster. There are two aspects to be considered: 1) auto-booting of the Guest domain OS. 2) Guest domain not consuming the resources on the machine where it is running. Solution: The approach would be to rely on the auto-boot? flag to disable/enable the auto-booting of the Guest domain OS. To address (2), the domain would be destroyed after a crash/reboot. (in the BOOT method.) - functions.ksh : Lines 540-561, 597-618 - init_xvm.ksh - SUNW.ldom : Line 37-38 - prototype_sparc : Line 50-51 - Makefile : Line 41 CR *6857954* "Validate should fail for non-existence of LDom Guest domain" Description: The Validate method should fail if the LDom Guest domain is not configured in the cluster and should exist on only one node for the cluster. Solution: For the validation to succeed, either the domain configuration has to be present in the CCR or the domain should be defined on one of the cluster nodes. The cl_exec_client utility will be used to check for the presence of LDom on one of the cluster nodes. - function.ksh : Lines 276-361 -Thanks and Regards Hemachandran