- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Service Accounts Creation
- Labels:
-
Apache Ambari
Created ‎05-31-2017 09:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
During the Ambari installation, if all the hosts already integrated with AD via SSSD, and all the service accounts already available in AD, will Ambari still try to create those accounts locally?
Created ‎06-01-2017 08:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@dsun yes, you can.
First, you need to ensure those service accounts are created in the AD and the cluster hosts all connect to AD and those users are valid.
Second, set ignore_groupsusers_create=true in cluster-env.xml then start install HDP
Created ‎06-01-2017 08:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@dsun yes, you can.
First, you need to ensure those service accounts are created in the AD and the cluster hosts all connect to AD and those users are valid.
Second, set ignore_groupsusers_create=true in cluster-env.xml then start install HDP
Created ‎06-01-2017 09:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In addition to @xin.wang If all the accounts are created in AD/LDAP, if you are installing the services for the 1st time, while installing you get an option asking whether to Ambari to manage service accounts and UID's or skip managing. If you check on asking Ambari not to manage service accounts, it will automatically skip creation of local service accounts.
If Ambari is already installed now you are trying to add new service where service account in AD the run below command, which will set Ambari not create any users or groups locally:
/var/lib/ambari-server/resources/scripts/configs.sh -u admin -p password -port 8080 set ambarihostserver.com clustername cluster-env ignore_groupsusers_create true
Hope this helped you.
Created ‎06-01-2017 11:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the comments, will try it out.
