- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Configure NameNode HA Cluster - How to generate SSH private key
- Labels:
-
Kerberos
-
Manual Installation
Created on ‎01-25-2017 12:04 AM - edited ‎09-16-2022 03:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Can you anyone help me out with below configuration file and please let me know how to generate the SSH private key file - We configuring HA namenode cluster for testing purpose.
<property> <name>dfs.ha.fencing.ssh.private-key-files</name> <value>/home/exampleuser/.ssh/id_rsa</value> </property>
Not my area - I have no idea as to how to generate this file
/home/exampleuser/.ssh/id_rsa
Thanks
Created ‎01-27-2017 01:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Run the command "ssh-keygen" in the master node, it will generate two files, in which move "id_rsa.pub" to child node and rename it as authorizedkey and change the permission to 600.
This is required for keyless entry
You can refer this link with above understanding
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
Created ‎01-27-2017 01:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Run the command "ssh-keygen" in the master node, it will generate two files, in which move "id_rsa.pub" to child node and rename it as authorizedkey and change the permission to 600.
This is required for keyless entry
You can refer this link with above understanding
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
Created on ‎01-27-2017 08:26 PM - edited ‎01-27-2017 08:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎01-28-2017 12:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
should file be in user:hdfs group ?
could you please clarify
Created ‎01-30-2017 12:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is authorized_key
nothing to do with hdfs here. so it is user:linux group (instead of hdfs group)
