Ce contenu n'est pas disponible dans la langue sélectionnée.
Appendix A. Utilities
A.1. Domain Management Tool Copier lienLien copié sur presse-papiers!
internal
that is only used to store the admin
user. To add and remove other users from the system, you must first add the directory services in which they are found.
rhsc-manage-domains
, to add and remove domains provided by this service. In this way, you can grant access to the Red Hat Gluster Storage environment to users stored across multiple domains.
rhsc-manage-domains
command on the machine on which Red Hat Gluster Storage Console was installed. The rhsc-manage-domains
command must be run as the root user.
A.1.1. Syntax Copier lienLien copié sur presse-papiers!
rhsc-manage-domains action [options]
# rhsc-manage-domains action [options]# rhsc-manage-domains action [options]# rhsc-manage-domains action [options]# rhsc-manage-domains action [options]
-
add
- Add a domain to the console directory services configuration.
-
edit
- Edit a domain in the console directory services configuration.
-
delete
- Delete a domain from the console directory services configuration.
-
validate
- Validate the console directory services configuration. The command attempts to authenticate to each domain in the configuration using the configured user name and password.
-
list
- List the current directory services configuration of the console.
- --
domain
=DOMAIN - Specifies the domain on which the action must be performed. The
--domain
parameter is mandatory foradd
,edit
, anddelete
. - --
user
=USER - Specifies the domain user to use. The
--user
parameter is mandatory foradd
, and optional foredit
. -
--password-file=FILE
- A file containing the password. If this is not set, the password is read interactively.
-
--config-file=FILE
- Specifies an alternative configuration file that the command must load. The
--config-file
parameter is always optional. -
--report
- Specifies that all validation errors encountered while performing the validate action will be reported in full.
rhsc-manage-domains
command help output:
rhsc-manage-domains --help
# rhsc-manage-domains --help
A.1.2. Listing Domains in Configuration Copier lienLien copié sur presse-papiers!
Example A.1. rhsc-manage-domains List Action
rhsc-manage-domains list
# rhsc-manage-domains list
Domain: directory.demo.redhat.com
User name: admin@DIRECTORY.DEMO.REDHAT.COM
This domain is a remote domain.
A.1.3. Adding Domains to Configuration Copier lienLien copié sur presse-papiers!
Example A.2. rhsc-manage-domains Add Action
A.1.4. Editing a Domain in the Configuration Copier lienLien copié sur presse-papiers!
Example A.3. rhsc-manage-domains Edit Action
A.1.5. Validating Domain Configuration Copier lienLien copié sur presse-papiers!
Example A.4. rhsc-manage-domains Validate Action
rhsc-manage-domains validate
# rhsc-manage-domains validate
User guide is: 80b71bae-98a1-11e0-8f20-525400866c73
Domain directory.demo.redhat.com is valid.
A.1.6. Deleting a Domain from the Configuration Copier lienLien copié sur presse-papiers!
Example A.5. rhsc-manage-domains Delete Action
rhsc-manage-domains delete --domain=directory.demo.redhat.com
# rhsc-manage-domains delete --domain=directory.demo.redhat.com
WARNING: Domain directory.demo.redhat.com is the last domain in the configuration. After deleting it you will have to either add another domain, or to use the internal admin user in order to login.
Successfully deleted domain directory.demo.redhat.com. Please remove all users and groups of this domain using the Administration portal or the API.