Global Resource Serialization (GRS) is the component within the IBM z/OS operating system responsible for enabling fair access to serially reusable computing resources, such as datasets and tape drives or virtual resources, such as lists, queues, and control blocks. Programs can request exclusive access to a resource (which means that program and all subsequent requesting programs are blocked until that program is given access to the resource), usually requested when a program needs to update the resource or shared access (which means that multiple programs can be given access to the resource), usually requested when a program only needs to query the state of the resource. GRS manages all requests in FIFO (first in/first out) order.[1]

Scoping

edit

GRS manages resources at three different levels of scoping:

  1. STEP - this level is for resources that exist within a single MVS address space. Only threads (tasks) within that address space can request access to the resource.
  2. SYSTEM - this level is for resources that exist within a single MVS instance. Any thread running on the system can request access to the resource.
  3. SYSTEMS - also known as GLOBAL, these resources are accessible by multiple MVS instances. Any thread running on a system in the GRS complex can request access to the resource.

Clustering

edit

In order for GRS to serialize resources between multiple systems, the systems must be clustered. There are several options to enable this clustering:

  • GRS Ring - each of the systems (LPARs) are connected with channel-to-channel adapters (CTCAs) in a ring configuration. The GRS software sends messages around the ring to ensure the integrity of the complex and to arbitrate correct succession of ownership.
  • Basic Sysplex - each of the systems in the sysplex has complete connectivity to every other system via CTCAs or ESCON CTCAs, managed by the XCF (Cross System Coupling Facility) component. The GRS component utilizes the Messaging and Group Services provided by XCF to replace and augment the function through the GRS managed CTCAs.
  • GRS Star (Parallel Sysplex) - Rather than using a message passing protocol to manage resource ownership succession, GRS uses the locking services provided by the XES (Cross System Extended Services) component of MVS. Use of locking services requires a lock structure (called ISGLOCK) to be created in a Coupling Facility (CF).

Similar

edit

CA, Inc. licenses a product called "Multi-Image Manager" (CA-MIM) which contains a component called "Multi-Image Integrity" (MII) which can be used to implement similar functions to GRS.

References

edit

📚 Artikel Terkait di Wikipedia

Z/OS

IBM Parallel Sysplex®, z/OS System Logger, Resource RecoveryServices (RRS), Global Resource Serialization (GRS), z/OS system operations, z/OSAutomatic

GRS

reassignment surgery The Gerry Ryan Show, an Irish radio show Global Resource Serialization, part of the IBM z/OS operating system Government Rubber-Styrene

IBM Parallel Sysplex

Protocol (STP) Global Resource Serialization (GRS), which allows multiple systems to access the same resources concurrently, serializing where necessary

Resource Description Framework

of N-Triples, for serializing multiple RDF graphs. JSON-LD, a JSON-based serialization. N3 or Notation3, a non-standard serialization that is very similar

Lexical resource

encoding lexical resources, comprising an abstract data model and an XML serialization, and OntoLex-Lemon, an RDF vocabulary for publishing lexical resources

Web Ontology Language

into RDF are specified for languages in the OWL family. Several RDF serialization formats have been devised. Each leads to a syntax for languages in the

Linked data

vocabulary terms and dataset definitions expressed in Resource Description Framework serialization formats such as RDFa, RDF/XML, N3, Turtle, or JSON-LD

Commitment ordering

Locking Based Resource Managers", DEC-TR 844, December 1991. Yoav Raz (1993a): "Extended Commitment Ordering or Guaranteeing Global Serializability by Applying