<p>For more security you can make your cluster use encryption for inter-node communication with no downtime.  Otherwise operations are allowed or rejected based on IP address, hostname, and the cluster rhosts file.  And, C-SPOC operations are not encrypted one of the important ones being password changes.  Possibly an even better option would be to create a IPsec VPN tunnel between nodes, but I haven&#8217;t tested that.</p>{"id":147,"date":"2009-06-19T13:56:53","date_gmt":"2009-06-19T17:56:53","guid":{"rendered":"http:\/\/patrickv.info\/wordpress\/?p=147"},"modified":"2009-06-19T13:56:53","modified_gmt":"2009-06-19T17:56:53","slug":"enable-cluster-encryption","status":"publish","type":"post","link":"https:\/\/rootuser.ninja\/index.php\/2009\/06\/19\/enable-cluster-encryption\/","title":{"rendered":"Enable cluster encryption"},"content":{"rendered":"<p>For more security you can make your cluster use encryption for inter-node communication with no downtime.\u00a0 Otherwise operations are allowed or rejected based on IP address, hostname, and the cluster rhosts file.\u00a0 And, C-SPOC operations are not encrypted one of the important ones being password changes.\u00a0 Possibly an even better option would be to create a IPsec VPN tunnel between nodes, but I haven&#8217;t tested that.<br \/>\n<!--more--><br \/>\nInstall rsct.crypt.3des from the expansion pack.<\/p>\n<p><strong>On all nodes:<\/strong><br \/>\nEnable key distribution on all nodes.<br \/>\n&lt;pre&gt;&lt;code&gt;# \/usr\/es\/sbin\/cluster\/utilities\/clkeygen -e&#8217;Enabled&#8217;<br \/>\n0513-077 Subsystem has been changed.<br \/>\n0513-044 The clcomdES Subsystem was requested to stop.<br \/>\n0513-059 The clcomdES Subsystem has been started. Subsystem PID is<br \/>\n315598.<br \/>\nThe key distribution was Enabled&lt;\/code&gt;&lt;\/pre&gt;<\/p>\n<p><strong>On one node:<\/strong><br \/>\nGenerate and distribute a key<br \/>\n&lt;pre&gt;&lt;code&gt;# \/usr\/es\/sbin\/cluster\/utilities\/clkeygen -g&#8217;md5_3des&#8217; &#8216;-d'&lt;\/code&gt;&lt;\/pre&gt;<\/p>\n<p>Activate the key<br \/>\n&lt;pre&gt;&lt;code&gt;# \/usr\/es\/sbin\/cluster\/utilities\/clkeygen -kc&lt;\/code&gt;&lt;\/pre&gt;<\/p>\n<p>Set HACMP to use Message Authentication and Encryption<br \/>\n&lt;pre&gt;&lt;code&gt;# \/usr\/es\/sbin\/cluster\/utilities\/clchclstr -m &#8216;md5_3des&#8217; -e<\/p>\n<p>Cluster Name: test_cluster<br \/>\nCluster Connection Authentication Mode: Standard<br \/>\nCluster Message Authentication Mode: md5_3des<br \/>\nCluster Message Encryption: Enabled<br \/>\nUse Persistent Labels for Communication: No&lt;\/code&gt;&lt;\/pre&gt;<\/p>\n<p>Synchronize the cluster \u2013 Done!<br \/>\n&lt;pre&gt;&lt;code&gt;# \/usr\/es\/sbin\/cluster\/utilities\/cldare -rtV normal&lt;\/code&gt;&lt;\/pre&gt;<\/p>\n<p>The key files\u00a0 are in \/usr\/es\/sbin\/cluster\/etc named key_md5_&lt;symmetric algorithm&gt;<\/p>\n<p>Keys can also be copied manually using scp if you don&#8217;t trust your network.<\/p>","protected":false},"excerpt":{"rendered":null,"protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,1],"tags":[],"class_list":["post-147","post","type-post","status-publish","format-standard","hentry","category-hacmp-notes","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/comments?post=147"}],"version-history":[{"count":0,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/147\/revisions"}],"wp:attachment":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/categories?post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/tags?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}