此内容没有您所选择的语言版本。
Appendix A. Additional Utilities
A.1. The Domain Management Tool 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Red Hat Storage Console authenticates users using Active Directory services. To add users to Red Hat Storage Console, use the internal administrator user to add the Active Directory service against which the users must be authenticated. You can add and remove directory service domains using the domain management tool,
rhsc-manage-domains
. This command is only accessible from the machine on which Red Hat Storage Console is installed, and must be run as the root user.
22535%2C+Console+Installation+Guide-325-03-2015+18%3A28%3A17Report a bug
A.1.1. Syntax of the Domain Management Tool 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
The syntax is:
rhsc-manage-domains -action=ACTION [options]
rhsc-manage-domains -action=ACTION [options]
For full information on usage, see the
rhsc-manage-domains
command's help output:
rhsc-manage-domains --help
# rhsc-manage-domains --help
22535%2C+Console+Installation+Guide-325-03-2015+18%3A28%3A17Report a bug
A.1.2. Adding Domains to a Configuration 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
In this example, the
rhsc-manage-domains
command is used to add the ActiveDirectory domain test.redhat.com
to the Red Hat Storage Console configuration. The configuration is set to use the administator user when querying the domain; the password is provided interactively.
Example A.1. rhsc-manage-domains Add Action
22535%2C+Console+Installation+Guide-325-03-2015+18%3A28%3A17Report a bug
A.1.3. Editing a Domain in the Configuration 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
In this example, the
rhsc-manage-domains
command is used to edit the directory.test.redhat.com
domain in the Red Hat Storage Console configuration. The configuration is updated to use the administrator user when querying this domain; the password is provided interactively.
Example A.2. rhsc-manage-domains Edit Action
22535%2C+Console+Installation+Guide-325-03-2015+18%3A28%3A17Report a bug
A.1.4. Deleting a Domain from the Configuration 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
In this example, the
rhsc-manage-domains
command is used to remove the directory.test.redhat.com
domain from the Red Hat Storage Console configuration. Users defined in the removed domain will no longer be able to authenticate with the Red Hat Storage Console. The entries for the affected users will remain defined in the Red Hat Storage Console until they are explicitly removed.
The domain being removed in this example is the last one listed in the Red Hat Storage Console configuration. A warning is displayed highlighting this fact, and that only the administrator user from the internal domain will be able to log in until another domain is added.
Example A.3. rhsc-manage-domains Delete Action
22535%2C+Console+Installation+Guide-325-03-2015+18%3A28%3A17Report a bug
A.1.5. Validating a Domain Configuration 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
In this example, the
rhsc-manage-domains
command is used to validate the Red Hat Storage Console configuration. The command attempts to log into each listed domain with the credentials provided in the configuration. The domain is reported as valid if the attempt is successful.
Example A.4. rhsc-manage-domains Validate Action
rhsc-manage-domains -action=validate
# rhsc-manage-domains -action=validate
Domain test.redhat.com is valid.
The configured user for domain test.redhat.com is admin@TEST.REDHAT.COM
Manage Domains completed successfully
22535%2C+Console+Installation+Guide-325-03-2015+18%3A28%3A17Report a bug
A.1.6. Listing the Domains in a Configuration 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
In this example, the
rhsc-manage-domains
command is used to list the domains defined in the Red Hat Storage Console configuration. For each configuration entry, the command displays the domain, the user name - in User Principle Name (UPN) format - and whether the domain is local or remote.
Example A.5. rhsc-manage-domains List Action
rhsc-manage-domains -action=list
# rhsc-manage-domains -action=list
Domain: test.redhat.com
User name: admin@TEST.REDHAT.COM
Manage Domains completed successfully
22535%2C+Console+Installation+Guide-325-03-2015+18%3A28%3A17Report a bug