<div dir="ltr">thanks Carlos, I wish I had the xwindows packages installed but I don&#39;t, and i really shouldn&#39;t put them on these 14 servers.<div><br></div><div>if ocfs2console can do this without bringing down the cluster for a period, there has to be a way to manually do the same steps as it does?</div><div><br></div><div>anybody have some ideas?<br><div>thanks!</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail-m_7108616735609284460gmail_signature">-- Jim</div></div>
<br><div class="gmail_quote">On Sat, Dec 2, 2017 at 4:15 AM, Carlos Xavier <span dir="ltr">&lt;<a href="mailto:cbastos@conection.com.br" target="_blank">cbastos@conection.com.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="PT-BR"><div class="gmail-m_7108616735609284460m_-2650709088787883198WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hi Jim.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">If you have the Xwindows packages instaled on this server you can run GUI applications remotely.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">To achieve this, you need to use Xming and Putty. Install them on the machine you are going to use to meke the access.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Start Xming (Xwindows server) and use Putty to make a ssh connection to the host you want to configure.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Before start the connection to it, modify the configuration under Connection -&gt; SSH -&gt; X11 and check the option Enable X11 forwarding.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Make the connection and start the application you want. A window of it will be opened at your computer. <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Regards,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Carlos<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif">De:</span></b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif"> <a href="mailto:ocfs2-users-bounces@oss.oracle.com" target="_blank">ocfs2-users-bounces@oss.oracle<wbr>.com</a> [mailto:<a href="mailto:ocfs2-users-bounces@oss.oracle.com" target="_blank">ocfs2-users-bounces@os<wbr>s.oracle.com</a>] <b>Em nome de </b>Jim Okken<br><b>Enviada em:</b> qui</span><span style="font-size:10pt;font-family:Tahoma,sans-serif">nta-feira, 30 de novembro de 2017 18:43<br><b>Para:</b> <a href="mailto:ocfs2-users@oss.oracle.com" target="_blank">ocfs2-users@oss.oracle.com</a><br><b>Assunto:</b> [Ocfs2-users] removing old nodes manually<u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">hi list,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I am using ocfs2 on Ubuntu 16.04.3 Linux servers. The ocfs2 packages provided by apt-get includes the &quot;o2cb_ctl&quot; and &quot;<span style="font-family:Arial,sans-serif;color:rgb(84,84,84)">ocfs2console&quot; </span>utilities.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">my Ubuntu servers do not have a GUI so I can&#39;t use the graphical &quot;<span style="font-family:Arial,sans-serif;color:rgb(84,84,84)">ocfs2console&quot; utility.</span><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I can use the &quot;o2cb_ctl&quot; -C option to add nodes to the cluster config.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal">       -C     Create an object in the OCFS2 Cluster Configuration.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">But it seems the &quot;o2cb_ctl&quot; -D option, to remove a node, is not implemented in this version of the tool<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">       -D     Delete an object from the existing OCFS2 Cluster Configuration.<u></u><u></u></p></div></div><div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">root@node-9:~# o2cb_ctl -D -n node-6 -u<u></u><u></u></p></div><div><p class="MsoNormal">o2cb_ctl: Not yet supported<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">But I need to remove a number of old nodes that no longer exist. I was just leaving the old nodes in there and adding in new nodes, but now I need to add a node which has the same ip address as one of the old nodes.... so, I need to delete that old node.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(84,84,84)">it seems to me there would be a manual way to do this. change the cluster.conf file and apply the changes on the fly. I need to keep the ocfs2 filesystem up while removing old nodes on a number of servers.</span><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(84,84,84)">can anyone tell me the manual steps to do this on each of my servers?</span><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">The rest of my environment needs to run on Ubuntu 16, otherwise I would try ocfs2 on a different OS.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I see there is a newer tool, named O2CB (NewO2CBTool), which may help me out, but is there source code for it? and will it compile on Ubuntu 16.04.3?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">thanks!<u></u><u></u></p></div><div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><div><p class="MsoNormal">-- Jim<u></u><u></u></p></div></div></div></div></div></div></blockquote></div><br></div></div>