Implementing service requests from a common database in a multiple DHCP server environment
AssigneeInternational Business Machines Corporation
InventorsJosep Cors, Chung Meng
Life of this patent
Estimating the term…
Abstract
A method and apparatus are provided for implementing service requests from a common database in a multiple dynamic host configuration protocol (DHCP) server environment. A DHCP authorization cache is provided to implement synchronized access for the multiple DHCP servers to the common database. The DHCP authorization cache includes a plurality of elements, each element for storing a plurality of entries including a client identifier, an ISCSI DHCP router pointer, an ISCSI DHCP router pointer alternate, and a timestamp and the DHCP authorization cache includes an entry pointer initially set to zero.
Claims11
Apparatus for implementing service requests from a common database in a multiple dynamic host configuration protocol (DHCP) server environment including multiple DHCP servers and multiple Internet small computer systems interface (ISCSI) adapters, said apparatus comprising:
- a plurality of said DHCP servers;
- each of a plurality of said ISCSI adapters being connected to respective one of said plurality of DHCP servers;
- said ISCSI adapters including a plurality of target host bus adapters (HBAs);
- a plurality of Initiator ISCSI host bus adapters (HBAs) coupled to multiple ISCSI target host bus adapters;
- a DHCP authorization cache for implementing synchronized access for said plurality of said DHCP servers to the common database;
- said DHCP authorization cache includes a plurality of elements, each element for storing a plurality of entries including a client identifier, an ISCSI DHCP router pointer, an ISCSI DHCP router pointer alternate, and a timestamp;
- and said DHCP authorization cache includes an entry pointer;
- a virtual DHCP server coupled to said plurality of said DHCP servers and said DHCP authorization cache;
- said virtual DHCP server querying said DHCP authorization cache using a particular client identifier as a key and passes in a ISCSI DHCP router pointer of the DHCP server for the query;
- and returning an authorization success to the DHCP server for the query to serve the particular client identifier for a first time period, and responsive to other DHCP servers querying said DHCP authorization cache with the particular client identifier after the first time period, requiring the DHCP server for the query to wait a second time period before returning said authorization success to serve the particular client identifier;
- said virtual DHCP server responsive to identifying a match of a client identifier entry with the particular client identifier used as the key, and not identifying a corresponding matching entry of said ISCSI DHCP router pointer with said ISCSI DHCP router pointer of the DHCP server for the query during said first time period, setting said ISCSI DHCP router pointer alternate with the value of said ISCSI DHCP router pointer, and returning an authorization failure to the DHCP server for the query.
A method for implementing service requests from a common database in a multiple dynamic host configuration protocol (DHCP) server environment including multiple DHCP servers and multiple Internet small computer systems interface (ISCSI) adapters, a plurality of said DHCP servers;
- each of a plurality of said ISCSI adapters being connected to respective one of said plurality of DHCP servers;
- said ISCSI adapters including a plurality of target host bus adapters (HBAs);
- a plurality of Initiator ISCSI host bus adapters (HBAs) coupled to multiple ISCSI target host bus adapters;
- said method comprising the steps of:
- providing a DHCP authorization cache for implementing synchronized access for the multiple DHCP servers to the common database;
- maintaining a plurality of elements and an entry pointer in said DHCP authorization cache, each element for storing a plurality of entries including a client identifier, an ISCSI DHCP router pointer, an ISCSI DHCP router pointer alternate, and a timestamp;
- providing a virtual DHCP server coupled to said DHCP authorization cache;
- said virtual DHCP server querying said DHCP authorization cache using a particular client identifier as a key and passes in a ISCSI DHCP router pointer of the DHCP server for the query;
- and returning an authorization success to the DHCP server for the query to serve the particular client identifier for a first time period, and responsive to other DHCP servers querying said DHCP authorization cache with the particular client identifier after the first time period, requiring the DHCP server for the query to wait a second time period before returning said authorization success to serve the particular client identifier;
- said virtual DHCP server responsive to identifying a match of a client identifier entry with the particular client identifier used as the key, and not identifying a corresponding matching entry of said ISCSI DHCP router pointer with said ISCSI DHCP router pointer of the DHCP server for the query during said first time period, setting said ISCSI DHCP router pointer alternate with the value of said ISCSI DHCP router pointer, and returning an authorization failure to the DHCP server for the query.
A method for implementing service requests from a common database in a multiple dynamic host configuration protocol (DHCP) server environment including multiple DHCP servers and multiple Internet small computer systems interface (ISCSI) adapters, a plurality of said DHCP servers;
- each of a plurality of said ISCSI adapters being connected to respective one of said plurality of DHCP servers;
- said ISCSI adapters including a plurality of target host bus adapters (HBAs);
- a plurality of Initiator ISCSI host bus adapters (HBAs) coupled to multiple ISCSI target host bus adapters;
- said method comprising the steps of:
- providing a DHCP authorization cache for implementing synchronized access for the multiple DHCP servers to the common database;
- maintaining a plurality of elements and an entry pointer in said DHCP authorization cache, each element for storing a plurality of entries including a client identifier, an ISCSI DHCP router pointer, an ISCSI DHCP router pointer alternate, and a timestamp;
- providing a virtual DHCP server coupled to said DHCP authorization cache;
- said virtual DHCP server querying said DHCP authorization cache for a particular client identifier and returning an authorization success to a first DHCP server to serve the particular client identifier for a first time period, and responsive to other DHCP servers querying said DHCP authorization cache with the particular client identifier after the first time period, requiring the first DHCP server to wait a second time period before returning said authorization success to serve the particular client identifier;
- said virtual DHCP server queries said DHCP authorization cache using the particular client identifier as a key, and passes in a ISCSI DHCP router pointer of the DHCP server for the query;
- said virtual DHCP server responsive to identifying a match of a client identifier entry with the particular client identifier used as the key, checks for a corresponding matching entry of said ISCSI DHCP router pointer with said ISCSI DHCP router pointer of the DHCP server for the query;
- said virtual DHCP server responsive to identifying a corresponding matching entry of said ISCSI DHCP router pointer with said ISCSI DHCP router pointer of the DHCP server for the query, identifies an absolute difference in time between a current time and said timestamp;
- and
- said virtual DHCP server responsive to identifying said absolute difference in time greater than said first time period and said second time period, returns an authorization success to the first DHCP server.
Dependencies are inferred from the claim text.