<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=ShutDownCluster</id>
	<title>ShutDownCluster - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=ShutDownCluster"/>
	<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=ShutDownCluster&amp;action=history"/>
	<updated>2026-06-06T13:37:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://t2bwiki.iihe.ac.be/index.php?title=ShutDownCluster&amp;diff=245&amp;oldid=prev</id>
		<title>Maintenance script: Created page with &quot; == How to shut down the cluster == PageOutline  === Kill all remaining jobs on the cluster and close the queues === Go to cream02 and issue  &lt;pre&gt; ./kill_all_jobs...&quot;</title>
		<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=ShutDownCluster&amp;diff=245&amp;oldid=prev"/>
		<updated>2015-08-26T12:29:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; == How to shut down the cluster == &lt;a href=&quot;/index.php?title=PageOutline&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;PageOutline (page does not exist)&quot;&gt;PageOutline&lt;/a&gt;  === Kill all remaining jobs on the cluster and close the queues === Go to cream02 and issue  &amp;lt;pre&amp;gt; ./kill_all_jobs...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== How to shut down the cluster ==&lt;br /&gt;
[[PageOutline]]&lt;br /&gt;
&lt;br /&gt;
=== Kill all remaining jobs on the cluster and close the queues ===&lt;br /&gt;
Go to cream02 and issue&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./kill_all_jobs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait for all jobs to terminate. This will ensure that when one issues the shutdown of the worker nodes, there will be no lock on the /scratch&amp;lt;br&amp;gt;&lt;br /&gt;
To close the queues:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
./disable_queues&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Switch off the worker nodes ===&lt;br /&gt;
on ccq:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd distrib-scripts/&lt;br /&gt;
./distrib_exec_list node_list_all_wns &amp;quot;poweroff&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
verify that all the WN&amp;#039;s are indeed in the file node_list_all_wns. This file should be kept up-to-date.&lt;br /&gt;
&lt;br /&gt;
=== Switch off storage ===&lt;br /&gt;
still on ccq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./distrib_exec_list list_all_storage &amp;quot;poweroff&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also verify the file list_all_storage for completeness.&amp;lt;br&amp;gt;&lt;br /&gt;
Next, you still need to switch off the disks of some of the storage machines. You need to be at the CC to do this.&lt;br /&gt;
&lt;br /&gt;
=== Switch off some servers ===&lt;br /&gt;
This will shut down a few virtual servers that need a proper shutdown&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./distrib_exec_list list_servers_proper_shutdown &amp;quot;poweroff&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Switch off the rest of the machines ===&lt;br /&gt;
mainly the M machines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./distrib_exec_list list_proper_shutdown_the_rest &amp;quot;poweroff&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Last switch off ===&lt;br /&gt;
&lt;br /&gt;
power off ccq&lt;br /&gt;
&lt;br /&gt;
=== verify ===&lt;br /&gt;
verify that all is indeed off&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TracNotice|{{PAGENAME}}}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>