Patent ID: 9612875
Date: 2017-04-04
CPC Classifications: G06F

Claim:
1. A method for dynamically adjusting operational environment, applicable to a computer cluster, each of a plurality of operational nodes of said computer cluster installing a first operational system and a second operational system, and comprising steps of: a control node receiving an operational task including at least a first-type task and at least a second-type task, said first-type task being operated in said first operational system, and said second-type task being operated in said second operational system; when said plurality of operational nodes includes at least an idle operational node not performing operation, said control node judging whether said idle operational node operates in said first operational system or said second operational system; said control nodes estimating an estimated finish time of first-type task for operating said first-type task by said idle operational node running said first operational system and an estimated finish time of second-type task for operating said second-type task by said idle operational node running said second operational system; said control node comparing said estimated finish time of first-type task, said estimated finish time of second-type task, and an assigned finish time of operational task; when said estimated finish time of first-type task is greater than said assigned finish time of operational task and said estimated finish time of second-type task is less than said assigned finish time of operational task, said control node assigns at least an idle node running said second operational system to said first-type task by restarting and altering the operational system of said idle operational node to said first operational system; and when said estimated finish time of second-type task is greater than said assigned finish time of operational task and said estimated finish time of first-type task is less than said assigned finish time of operational task, said control node assigns at least an idle node running said first operational system to said second-type task by restarting and altering the operational system of said idle operational node to said second operational system.