RU2012151501A - LEADER ARBITRATION FOR SERVICE SERVICES - Google Patents

LEADER ARBITRATION FOR SERVICE SERVICES Download PDF

Info

Publication number
RU2012151501A
RU2012151501A RU2012151501/08A RU2012151501A RU2012151501A RU 2012151501 A RU2012151501 A RU 2012151501A RU 2012151501/08 A RU2012151501/08 A RU 2012151501/08A RU 2012151501 A RU2012151501 A RU 2012151501A RU 2012151501 A RU2012151501 A RU 2012151501A
Authority
RU
Russia
Prior art keywords
service
shared lock
lock file
server
leader
Prior art date
Application number
RU2012151501/08A
Other languages
Russian (ru)
Inventor
Джаскаран СИНГХ
Марк КОБЕРН
Жуй ЧЭНЬ
Original Assignee
Майкрософт Корпорейшн
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Майкрософт Корпорейшн filed Critical Майкрософт Корпорейшн
Publication of RU2012151501A publication Critical patent/RU2012151501A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions

Abstract

1. Способ, выполняемый, по меньшей мере частично, в вычислительном устройстве для предоставления арбитража лидера в службах обеспечения, содержащий этапы, на которых:принимают запрос от первой службы;разрешают первой службе принять на себя роль лидера посредством записи в совместно используемый файл блокировки;принимают другой запрос от второй службы;если первая служба все еще имеет роль лидера на основе записи в совместно используемом файле блокировки, отказывают второй службе в роли лидера; иначе разрешают второй службе осуществить запись в совместно используемый файл блокировки и принять на себя роль лидера.2. Способ по п.1, дополнительно содержащий этап, на котором:разрешают первой службе продлевать свою роль лидера посредством повторной записи в совместно используемый файл блокировки после первого предварительно определенного периода.3. Способ по п.2, дополнительно содержащий этап, на котором:разрешают второй службе проверять совместно используемый файл блокировки после второго предварительно определенного периода.4. Способ по п.1, в котором совместно используемый файл блокировки сохранен на одиночном сервере домена в окружении службы каталогов.5. Способ по п.4, в котором упомянутый одиночный сервер является главным сервером относительной идентификации (RID) для назначения относительных идентификаторов безопасности контроллерам домена в домене.6. Способ по п.4, в котором упомянутой одиночный сервер является одним из физического сервера и виртуального сервера.7. Способ по п.4, дополнительно содержащий этапы, на которых:заменяют упомянутый одиночный сервер другим одиночным сервером;переносят совместн�1. A method performed at least in part on a computing device for providing leader arbitration in provisioning services, comprising: receiving a request from a first service; allowing the first service to assume the role of a leader by writing to a shared lock file; accept another request from the second service, if the first service still has a leader role based on an entry in the shared lock file, deny the second service the role of leader; otherwise, allow the second service to write to the shared lock file and take over the leadership role. The method of claim 1, further comprising: allowing the first service to renew its leadership role by rewriting the shared lock file after a first predetermined period. The method of claim 2, further comprising: allowing the second service to check the shared lock file after a second predetermined period. The method of claim 1, wherein the shared lock file is stored on a single domain server in a directory service environment. The method of claim 4, wherein said single server is a master relative identification (RID) server for assigning relative security identifiers to domain controllers in the domain. The method of claim 4, wherein said single server is one of a physical server and a virtual server. The method according to claim 4, further comprising the steps of: replacing said single server with another single server; transferring the joint;

Claims (15)

1. Способ, выполняемый, по меньшей мере частично, в вычислительном устройстве для предоставления арбитража лидера в службах обеспечения, содержащий этапы, на которых:1. A method that is performed, at least in part, in a computing device for providing arbitration to a leader in collateral services, comprising the steps of: принимают запрос от первой службы;accept a request from the first service; разрешают первой службе принять на себя роль лидера посредством записи в совместно используемый файл блокировки;allow the first service to assume the leadership role by writing to the shared lock file; принимают другой запрос от второй службы;accept another request from the second service; если первая служба все еще имеет роль лидера на основе записи в совместно используемом файле блокировки, отказывают второй службе в роли лидера; иначе разрешают второй службе осуществить запись в совместно используемый файл блокировки и принять на себя роль лидера.if the first service still has a leader role based on the record in the shared lock file, the second service is denied the leader; otherwise they allow the second service to write to the shared lock file and assume the leadership role. 2. Способ по п.1, дополнительно содержащий этап, на котором:2. The method according to claim 1, additionally containing phase, in which: разрешают первой службе продлевать свою роль лидера посредством повторной записи в совместно используемый файл блокировки после первого предварительно определенного периода.allow the first service to renew its leadership role by re-writing to the shared lock file after the first predefined period. 3. Способ по п.2, дополнительно содержащий этап, на котором:3. The method according to claim 2, additionally containing a stage in which: разрешают второй службе проверять совместно используемый файл блокировки после второго предварительно определенного периода.allow the second service to check the shared lock file after the second predetermined period. 4. Способ по п.1, в котором совместно используемый файл блокировки сохранен на одиночном сервере домена в окружении службы каталогов.4. The method of claim 1, wherein the shared lock file is stored on a single domain server surrounded by a directory service. 5. Способ по п.4, в котором упомянутый одиночный сервер является главным сервером относительной идентификации (RID) для назначения относительных идентификаторов безопасности контроллерам домена в домене.5. The method according to claim 4, wherein said single server is a primary relative identification (RID) server for assigning relative security identifiers to domain controllers in a domain. 6. Способ по п.4, в котором упомянутой одиночный сервер является одним из физического сервера и виртуального сервера.6. The method according to claim 4, in which said single server is one of a physical server and a virtual server. 7. Способ по п.4, дополнительно содержащий этапы, на которых:7. The method according to claim 4, further comprising stages in which: заменяют упомянутый одиночный сервер другим одиночным сервером;replacing said single server with another single server; переносят совместно используемый файл блокировки на этот другой одиночный сервер; иTransfer the shared lock file to this other single server. and уведомляют серверы в домене, так что арбитраж лидера продолжает обеспечиваться посредством совместно используемого файла блокировки на упомянутом другом одиночном сервере.notify the servers in the domain, so that the arbitration of the leader continues to be achieved through a shared lock file on said other single server. 8. Система для предоставления арбитража лидера в службах обеспечения, содержащая:8. A system for providing arbitration to a leader in collateral services, comprising: сервер каталогов, размещающий службу каталогов, причем служба каталогов сконфигурирована: назначать одиночному серверу в домене задачу арбитража лидера для распределения ресурсов, причем этот одиночный сервер хранит совместно используемый файл блокировки для обеспечения задачи арбитража лидера;a directory server hosting the directory service, wherein the directory service is configured to: assign a single server in the domain a leader arbitration task for resource allocation, and this single server stores a shared lock file to support the leader arbitration task; первый сервер, размещающий первую службу, при этом первая служба сконфигурирована:the first server hosting the first service, with the first service configured: принимать на себя роль лидера посредством записи в совместно используемый файл блокировки;assume a leadership role by writing to a shared lock file; продлевать роль лидера посредством повторной записи в совместно используемый файл блокировки после первого предварительно определенного периода; иRenew a leader by rewriting to a shared lock file after a first predefined period and второй сервер, размещающий вторую службу, при этом вторая служба сконфигурирована:a second server hosting the second service, with the second service configured: осуществлять попытку записи в совместно используемый файл блокировки, чтобы принять на себя роль лидера;attempt to write to a shared lock file in order to assume the leadership role; если попытка неуспешна, оставаться в пассивном режиме; иif the attempt is unsuccessful, remain in passive mode; and осуществлять повторную попытку записи в совместно используемый файл блокировки, чтобы принять на себя роль лидера, после второго предварительно определенного периода.retry writing to the shared lock file in order to assume the leadership role after a second predefined period. 9. Система по п.8, в которой служба каталогов дополнительно сконфигурирована:9. The system of claim 8, in which the directory service is additionally configured: в ответ на отказ упомянутого одиночного сервера, выполнять одно из переноса и захвата роли одиночного сервера;in response to the failure of the aforementioned single server, perform one of the transfer and capture the role of a single server; назначать упомянутую роль другому одиночному серверу;Assign the mentioned role to another single server. переносить совместно используемый файл блокировки на этот другой одиночный сервер; иTransfer the shared lock file to this other single server and уведомлять серверы в домене о смене одиночного сервера.Notify servers in the domain of a single server change. 10. Система по п.9, в которой второй предварительно определенный период определяется на основе ожидаемой задержки в худшем случае для уведомления серверов в домене.10. The system of claim 9, wherein the second predetermined period is determined based on the expected worst-case delay for notifying servers in the domain. 11. Система по п.9, в которой упомянутый одиночный сервер является одним из: главного сервера относительной идентификации (RID), сконфигурированного назначать относительные идентификаторы безопасности контроллерам домена в домене, сервера первичного контроллера домена (PDC), сконфигурированного обрабатывать изменения паролей в домене, и главного сервера инфраструктуры, сконфигурированного хранить, по меньшей мере, одно из набора, состоящего из: идентификаторов безопасности, глобальных пользовательских идентификаторов (GUID) и доменных имен для объектов, на которые осуществляется ссылка между доменами.11. The system of claim 9, wherein said single server is one of: a primary relative identification (RID) server configured to assign relative security identifiers to domain controllers in a domain, a primary domain controller (PDC) server configured to process password changes in the domain, and a main infrastructure server configured to store at least one of a set consisting of: security identifiers, global user identifiers (GUIDs), and domain names To object to the referenced across domains. 12. Система по п.9, в которой служба каталогов дополнительно сконфигурирована:12. The system according to claim 9, in which the directory service is additionally configured: назначать политики;assign policies; развертывать программное обеспечение; иDeploy software and применять обновления к серверам в домене.Apply updates to servers in a domain. 13. Система по п.9, в которой первая служба переходит в активный режим после принятия на себя роли лидера посредством записи в упомянутый совместно используемый файл блокировки.13. The system according to claim 9, in which the first service goes into active mode after assuming the leadership role by writing to said shared lock file. 14. Считываемый компьютером носитель данных, на котором сохранены инструкции для предоставления арбитража лидера в службах обеспечения в окружении службы каталогов, причем этими инструкциями реализуются этапы, на которых:14. A computer-readable storage medium on which instructions for providing arbitration to a leader in collateral services surrounded by a directory service are stored, and these instructions implement the steps in which: назначают одиночному серверу в домене задачу арбитража лидера для распределения ресурсов, причем этот одиночный сервер хранит совместно используемый файл, для обеспечения задачи арбитража лидера;assigning a single server in the domain a leader arbitration task for resource allocation, this single server storing a shared file to support the leader arbitration task; принимают запрос от первого экземпляра службы;accept a request from the first instance of the service; разрешают первому экземпляру службы принять на себя роль лидера посредством записи в совместно используемый файл блокировки;allow the first instance of the service to assume the leadership role by writing to the shared lock file; принимают другой запрос от второго экземпляра службы;accept another request from the second instance of the service; если первый экземпляр службы все еще имеет роль лидера на основе записи в совместно используемом файле блокировки, отказывают второму экземпляру службы в роли лидера;if the first instance of the service still has a leader role based on the record in the shared lock file, the second instance of the service as the leader is denied; иначе разрешают второму экземпляру службы осуществить запись в совместно используемый файл блокировки и принять на себя роль лидера.otherwise, they allow the second instance of the service to write to the shared lock file and assume the leadership role. 15. Считываемый компьютером носитель по п.14, в котором инструкциями дополнительно реализуются этапы, на которых:15. The computer-readable medium of claim 14, wherein the instructions further implement the steps of: разрешают первому экземпляру службы продлевать свою роль лидера посредством повторной записи в совместно используемый файл блокировки после первого предварительно определенного периода;allowing the first instance of the service to renew its leadership role by re-writing to the shared lock file after the first predefined period; разрешают второму экземпляру службы проверять совместно используемый файл блокировки после второго предварительно определенного периода, при этом второй экземпляр службы остается в пассивном режиме, если он не может принять на себя роль лидера. allow the second instance of the service to check the shared lock file after the second predefined period, while the second instance of the service remains in passive mode if it cannot assume the role of leader.
RU2012151501/08A 2010-06-03 2011-05-19 LEADER ARBITRATION FOR SERVICE SERVICES RU2012151501A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US12/792,896 US20110302265A1 (en) 2010-06-03 2010-06-03 Leader arbitration for provisioning services
US12/792,896 2010-06-03
PCT/US2011/037078 WO2011152996A2 (en) 2010-06-03 2011-05-19 Leader arbitration for provisioning services

Publications (1)

Publication Number Publication Date
RU2012151501A true RU2012151501A (en) 2014-06-10

Family

ID=45065338

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2012151501/08A RU2012151501A (en) 2010-06-03 2011-05-19 LEADER ARBITRATION FOR SERVICE SERVICES

Country Status (8)

Country Link
US (1) US20110302265A1 (en)
EP (1) EP2577488A4 (en)
JP (1) JP5848339B2 (en)
KR (1) KR20130114575A (en)
CN (1) CN102918519A (en)
BR (1) BR112012030491A2 (en)
RU (1) RU2012151501A (en)
WO (1) WO2011152996A2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150081400A1 (en) * 2013-09-19 2015-03-19 Infosys Limited Watching ARM
WO2016020928A1 (en) * 2014-08-07 2016-02-11 Hewlett-Packard Development Company, L.P. Active directory topology creation
US10200258B2 (en) * 2014-08-14 2019-02-05 Juniper Networks, Inc. Transaction integrity for network services configuration
CN104506512B (en) * 2014-12-15 2017-12-19 北京国双科技有限公司 The restoration methods and device of user's mark
CN105933379B (en) * 2016-04-01 2018-10-09 浪潮电子信息产业股份有限公司 A kind of method for processing business, equipment and system
US10990282B1 (en) 2017-11-28 2021-04-27 Pure Storage, Inc. Hybrid data tiering with cloud storage
US11436344B1 (en) 2018-04-24 2022-09-06 Pure Storage, Inc. Secure encryption in deduplication cluster
US11392553B1 (en) 2018-04-24 2022-07-19 Pure Storage, Inc. Remote data management
US11042409B2 (en) 2019-02-06 2021-06-22 Red Hat, Inc. Leader election with lifetime term

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7200623B2 (en) * 1998-11-24 2007-04-03 Oracle International Corp. Methods to perform disk writes in a distributed shared disk system needing consistency across failures
US6457053B1 (en) * 1998-09-21 2002-09-24 Microsoft Corporation Multi-master unique identifier allocation
US6324571B1 (en) * 1998-09-21 2001-11-27 Microsoft Corporation Floating single master operation
CA2497825A1 (en) * 2002-09-10 2004-03-25 Exagrid Systems, Inc. Method and apparatus for server share migration and server recovery using hierarchical storage management
US8495131B2 (en) * 2002-10-08 2013-07-23 International Business Machines Corporation Method, system, and program for managing locks enabling access to a shared resource
WO2006115487A1 (en) * 2005-04-25 2006-11-02 Thomson Licensing Routing protocol for multicast in a meshed network
US7562144B2 (en) * 2006-09-06 2009-07-14 International Business Machines Corporation Dynamic determination of master servers for branches in distributed directories
US9596301B2 (en) * 2006-09-18 2017-03-14 Hewlett Packard Enterprise Development Lp Distributed-leader-election service for a distributed computer system
US8019812B2 (en) * 2007-04-13 2011-09-13 Microsoft Corporation Extensible and programmable multi-tenant service architecture
US8045486B2 (en) * 2008-05-15 2011-10-25 Solarwinds Worldwide, Llc Discovery and visualization of active directory domain controllers in topological network maps
US20100088130A1 (en) * 2008-10-07 2010-04-08 Yahoo! Inc. Discovering Leaders in a Social Network

Also Published As

Publication number Publication date
EP2577488A4 (en) 2017-05-31
WO2011152996A3 (en) 2012-03-29
KR20130114575A (en) 2013-10-18
EP2577488A2 (en) 2013-04-10
US20110302265A1 (en) 2011-12-08
JP2013533536A (en) 2013-08-22
JP5848339B2 (en) 2016-01-27
CN102918519A (en) 2013-02-06
WO2011152996A2 (en) 2011-12-08
BR112012030491A2 (en) 2016-08-09

Similar Documents

Publication Publication Date Title
RU2012151501A (en) LEADER ARBITRATION FOR SERVICE SERVICES
CN104050201B (en) Method and apparatus for the data management in multi-tenant distributed environment
JP2014526729A5 (en)
US20190288995A1 (en) Autonomous secrets management for a managed service identity
US10157214B1 (en) Process for data migration between document stores
US8578460B2 (en) Automating cloud service reconnections
US9886398B2 (en) Implicit sharing in storage management
KR101265856B1 (en) Automated state migration while deploying an operating system
RU2015151019A (en) EXTENSIBILITY OF SYNCHRONIZATION INFRASTRUCTURE
WO2005101181A3 (en) System and method for supporting block-based protocols on a virtual storage appliance executing within a physical storage appliance
WO2017114262A1 (en) Method for managing distributed storage system, and distributed storage system
US20200174818A1 (en) Virtual machine management
RU2014108995A (en) RECOVERY AFTER CLUSTER CLIENT FAILURE
JP2011530748A5 (en)
JP2013533536A5 (en)
EP3765982A1 (en) Autonomous cross-scope secrets management
CN107135242B (en) Mongodb cluster access method, device and system
CN102713925A (en) Sensitive information leakage prevention system, sensitive information leakage prevention method and sensitive information leakage prevention program
TWI640885B (en) Data uniqueness control method, information storage method and device
CN102664894B (en) System and method for software provision based on cloud computing
CN102984256A (en) Processing method and system for metadata based on authorization manner
US9160705B2 (en) Identifier management
JP2015057696A5 (en)
US20150134861A1 (en) Personal cloud storage chain service system and method
US10397130B2 (en) Multi-cloud resource reservations

Legal Events

Date Code Title Description
FA92 Acknowledgement of application withdrawn (lack of supplementary materials submitted)

Effective date: 20160510