Dynamic Server Group Introduction: In a distributed database environment, databases are installed and operated on different servers. This makes it a challenge to offer information to users through HTTP service. This database server offers a solution to such an environment. When installed on multiple machines, all the servers communicate with others to form a cluster of database servers. A server registers it when it is started, and unregisters when it is stopped. The group is formed dynamically at run-time. Every server in the DSG knows what other servers can offer and will be able to process database requests even though the database is on another server. The physical location of a database is transparent to users. An SQL statement sent to machine A may be actually processed by machine B. Here are some of the advantages of DSG:
Setup an DSG: A DSG is uniquely identified by its address and port. Members in the DSG multicast messages using the same address and port through User Datagram Protocol (UDP). All members in the same group must have the same address and port. The address is an IP class D address in the range of 224.0.1.0 to 239.255.255.255. Port can be any valid IP port unique to your network. You may have multiple DSGs by using either different ports or addresses. Address and port can be specified in the server configuration file Similar to the following:
Setup an DSG Member: A server can join a DSG by specify a membership type in the server configuration file. Membership is an integer that represents how the server participates in the DSG communication. ClusterMember= n Where n can be
By assigning different DSG membership to your servers, you can create totally different architectures of database services. From DSG ring (in which all members are full membership servers) to DSG hierarchy (in which only one server is a full membership server that serves as the interface to users, the rest of servers are export-only servers).
|
Send mail to info2-at-sqldata-dot-com with questions or comments about
this web site.
|