The invention discloses a master / slave scheduling method in a multimachine
assembly, and relates to the field of computer application control. The designation of the master / slave status of a process is carried out in a multimachine
assembly environment; the same application
system is arranged on a plurality of servers; and the equalized distribution of the master / slave status of a process group is realized on a plurality of hosts through the grouping of the application
system processes. When the multimachine
assembly has a
single point failure, the processes which run in a master status on the host is migrated to run on the other hosts. When a certain master status application process on a certain
server quits, the function of the certain application process is migrated to the other hosts with relatively
low load. Particularly assembly
control software, a development interface
library and an assembly configuration file are installed on each assembly host. The
information transmission between the hosts is carried out through heart-throb messages; the scheduling
granularity is the process groups; each process group configures a load factor according to the CPU occupancy; and the assembly scheduling meets the assembly load balancing scheduling
algorithm. The method realizes the automatic scheduling of the multimachine assembly
system according to the load, and is more scientific and reasonable.