Interface GlusterBrickService

    • Method Detail

      • get

        GlusterBrickService.GetRequest get()
        Get details of a brick. Retrieves status details of brick from underlying gluster volume with header `All-Content` set to `true`. This is the equivalent of running `gluster volume status detail`. For example, to get the details of brick `234` of gluster volume `123`, send a request like this: [source] ---- GET /ovirt-engine/api/clusters/567/glustervolumes/123/glusterbricks/234 ---- Which will return a response body like this: [source,xml] ---- host1:/rhgs/data/brick1 /rhgs/data/brick1 111 up /dev/mapper/RHGS_vg1-lv_vmaddldisks xfs 2818417648 1384694844 1011 client2 data-server:fd_t 1626348 1020 4 23 0 140 0 rw,seclabel,noatime,nodiratime,attr2,inode64,sunit=512,swidth=2048,noquota 25589 49155 ----
      • remove

        GlusterBrickService.RemoveRequest remove()
        Removes a brick. Removes a brick from the underlying gluster volume and deletes entries from database. This can be used only when removing a single brick without data migration. To remove multiple bricks and with data migration, use <> instead. For example, to delete brick `234` from gluster volume `123`, send a request like this: [source] ---- DELETE /ovirt-engine/api/clusters/567/glustervolumes/123/glusterbricks/234 ----
      • replace

        GlusterBrickService.ReplaceRequest replace()
        Replaces this brick with a new one. IMPORTANT: This operation has been deprecated since version 3.5 of the engine and will be removed in the future. Use <> and <> instead.