<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Post_Installation_Custom_Scripts</id>
	<title>Post Installation Custom Scripts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Post_Installation_Custom_Scripts"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Post_Installation_Custom_Scripts&amp;action=history"/>
	<updated>2026-05-04T20:07:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Post_Installation_Custom_Scripts&amp;diff=1438&amp;oldid=prev</id>
		<title>Michael: Created page with &quot;* Add scripts to the following location: &lt;syntaxhighlight&gt; /depot/repos/custom_scripts &lt;/syntaxhighlight&gt;  * &#039;&#039;&#039;Add/Delete&#039;&#039;&#039; custom script in the Node Group &lt;pre&gt;     If the script in /depot/repos...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Post_Installation_Custom_Scripts&amp;diff=1438&amp;oldid=prev"/>
		<updated>2012-12-07T12:18:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;* Add scripts to the following location: &amp;lt;syntaxhighlight&amp;gt; /depot/repos/custom_scripts &amp;lt;/syntaxhighlight&amp;gt;  * &amp;#039;&amp;#039;&amp;#039;Add/Delete&amp;#039;&amp;#039;&amp;#039; custom script in the Node Group &amp;lt;pre&amp;gt;     If the script in /depot/repos...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* Add scripts to the following location:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
/depot/repos/custom_scripts&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Add/Delete&amp;#039;&amp;#039;&amp;#039; custom script in the Node Group&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    If the script in /depot/repos/custom_scrips directory,use on the script name.&lt;br /&gt;
    DO NOT include the full path of the script (PCM 2.1, 3.0)&lt;br /&gt;
&lt;br /&gt;
    when delete the associated script, it will also remove the script file in /depot/repos/custome_scripts&lt;br /&gt;
    directory. Make a backup first if you do not want to looe the script&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Sample custom script (*note last line, this ensure this script only runs once)&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
chkconfig --level 2345 ipmi on&lt;br /&gt;
chkconfig --level 2345 blcr on&lt;br /&gt;
chkconfig --level 2345 panfs on&lt;br /&gt;
&lt;br /&gt;
service ipmi restart&lt;br /&gt;
service blcr restart&lt;br /&gt;
service panfs restart&lt;br /&gt;
&lt;br /&gt;
for i in `seq 0 6`&lt;br /&gt;
do&lt;br /&gt;
        mkdir /stor00${i}&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
chmod 777 /data&lt;br /&gt;
&lt;br /&gt;
yum -y install glibc-devel&lt;br /&gt;
&lt;br /&gt;
mv $0 /etc/rc.kusu.d/firstrun&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Manually Install DirectFlow Kernel Module =====&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
   rpm -ivh /root/panfs-3.5.1.e-2.6.18.92.WMS.x86_64.rpm # this will confirm installation but will warn about not being configured&lt;br /&gt;
   config_panfs -r pan00&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael</name></author>
	</entry>
</feed>