9.2. Verifying the domain status using sssctl
You can use the sssctl domain-status
command to debug problems with the domain topology.
The status might not be available immediately. If the domain is not visible, repeat the command.
Conditions préalables
- You must be logged in with administrator privileges
-
The
sssctl
tool is available on RHEL 7, RHEL 8, and RHEL 9 systems.
Procédure
To display help for the sssctl command, enter:
[root@client1 ~]# sssctl --help
To display user data for a particular domain, enter:
[root@client1 ~]# sssctl domain-status idm.example.com Online status: Online Active servers: IPA: server.idm.example.com Discovered IPA servers: - server.idm.example.com
The domain idm.example.com
is online and visible from the client where you applied the command.
If the domain is not available, the result is:
[root@client1 ~]# sssctl domain-status ad.example.com
Unable to get online status