主权项 |
1. A method for verifying configuration, comprising:
detecting, by a computer, booting of a first virtual machine or a first physical machine in a system, the first virtual machine being one of a plurality of virtual machines in the system, the first physical machine being one of a plurality of physical machines in the system; collecting, by the computer, configuration parameters from the virtual machines or the physical machines in the system, including the first virtual machine or first physical machine whose booting has been detected; retrieving, by the computer, information about a constraint on the system from a storage device, the constraint relating to booting of the first virtual machine or first physical machine; determining, by the computer, whether the collected configuration parameters satisfy the retrieved constraint; and controlling, by the computer, whether to continue or discontinue the booting of the first virtual machine or the first physical machine, depending on a result of the determining. |