Is Red Hat Gluster Storage supported as shared storage for TIBCO EMS?

Updated

From support point of view, Red Hat Gluster Storage is supported as shared storage of TIBCO EMS. Although the TIBCO do not specifically support Red Hat Gluster Storage but they support all filesystem that satisfies the following four criteria given below:

Write Order
The storage solution must write data blocks to shared storage in the same order as they occur in the data buffer.

Synchronous Write Persistence
Upon return from a synchronous write call, the storage solution guarantees that all the data have been written to durable, persistent storage.

Distributed File Locking
The EMS servers must be able to request and obtain an exclusive lock on the shared storage. The storage solution must not assign the locks to two servers simultaneously. EMS servers use this lock to determine the primary server.

Unique Write Ownership
The EMS server process that has the file lock must be the only server process that can write to the file. Once the system transfers the lock to another server, pending writes queued by the previous owner must fail.

Lets see how these 4 criteria fit for Red Hat Gluster Storage

  • Write Order

    • for fuse mounts:
    gluster volume set <volname> performance.strict-write-ordering on
    
  • for nfs mounts:

    gluster volume set <volname> performance.nfs.strict-write-ordering on
    
  • Synchronous Write Persistence

    • Yes, this is guaranteed by Red Hat Gluster Storage.
    • AFR takes care of files opened with O_SYNC parameter
  • Distributed File Locking

    • On UNIX platforms, servers use the standard fcntl operating system call to implement cooperative file locking:
    struct flock fl;
    int err;
    fl.l_type = F_WRLCK;
    fl.l_whence = 0;
    fl.l_start = 0;
    fl.l_len = 0;
    err = fcntl(file, F_SETLK, &fl);
    
  • fcntl is a standard POSIX function and Gluster is POSIX compliant so this type of locking should not be an issue. fcntl locks work on glusterfs.

  • Unique Write Ownership

  • Current Gluster locking is sufficient according to Tibco.

Category
Tags
Article Type