Method and configuration center server for configuring server cluster
Abstract:
A method for configuring server cluster includes: judging whether a signal processing function is a default exit value; if not, determining a configuration request is received from a server to be configured; obtaining a write lock from a shared memory and configuration information from a database, writing the configuration information in the shared memory, releasing the write lock; if receiving an exit signal between obtaining and releasing the write lock, setting the signal processing function to be the default exit value; obtaining a read lock from the shared memory, reading the configuration information from the shared memory, sending the read configuration information to the server, releasing the read lock, returning to the step of judging whether a signal processing function is a default exit value; if receiving the exit signal between obtaining and releasing the read lock, setting the signal processing function to be the default exit value.
Information query
Patent Agency Ranking
0/0