hfs_add_tenant(8) - Linux man page
Name
hfs_add_tenant - hekafs add tenant to cluster
Synopsis
hfs_add_tenant tenant credential uid_low uid_high gid_low gid_high
Description
Add a tenant with unique name, password, and UID/GID ranges.
Examples
Given the creation of two tenants:
- % hfs_add_tenant XYZZY xyzzypass 10000 10499 10500 10999 % hfs_add_tenant PLUGH plughpass 11000 11499 11500 11999
This creates two tenants XYZZY and PLUGH in the HekaFS cluster and reserves the UIDs and GIDs in the specified ranges for their member users. When an XYZZY user on a client host with UID/GID 537/10 writes a file, the file will be written on the server with UID/GID 10000/10500. When a second XYZZY user with UID/GID 1011/20 writes a file, the file will be written with UID/GID 10001/10501. When a PLUGH user with UID/GID 537/20 writes a file, the file will be written on the server with UID/GID 11000/11500.
Note that when users on client hosts list directories and read files, they always see the correct client local UID/GID. In the example above, a file owned by the first XYZZY user will be shown as having UID/GID 537/10.
See Also
hfs_add_directory(8), hfs_add_node(8), hfs_add_volume(8), hfs_delete_tenant(8), hfs_enable_tenant(8), hfs_list_tenants(8), hfs_list_volumes(8), hfs_mount(8), hfs_delete_volume(8), hfs_start_volume(8), hfs_stop_volume(8), hfs_update_cert(8), gluster(8), hekafs(8)
Diagnostics
Exit status is normally 0; if an error occurs, exit status is 1.
Copyright Notice
Copyright © 2011 Red Hat, Inc.