<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8077538291701918666</id><updated>2018-09-17T01:36:07.525-04:00</updated><category term="linux"/><category term="centos"/><category term="red hat"/><category term="RHEL"/><category term="howto"/><category term="HPC"/><category term="fedora"/><category term="command line"/><category term="storage"/><category term="installation"/><category term="scientific linux"/><category term="CLI"/><category term="Sun Grid Engine"/><category term="dell"/><category term="gotcha"/><category term="business"/><category term="server room"/><category term="backup"/><category term="build"/><category term="security"/><category term="network"/><category term="IBM"/><category term="Red Hat Enterprise Linux"/><category term="video"/><category term="apache"/><category term="fail"/><category term="python"/><category term="SC08"/><category term="multimedia"/><category term="raid"/><category term="netbook"/><category term="offtopic"/><category term="amanda"/><category term="iscsi"/><category term="mac"/><category term="open source"/><category term="agami"/><category term="android"/><category term="cluster-install"/><category term="supercomputing"/><category term="ubuntu"/><category term="windows"/><category term="xen"/><category term="EC2"/><category term="GreenIT"/><category term="Sun"/><category term="amazon"/><category term="apple"/><category term="bash"/><category term="eee"/><category term="encryption"/><category term="google"/><category term="mysql"/><category term="php"/><category term="rocks"/><category term="scripting"/><category term="visualization"/><category term="AWS"/><category term="GPGPU"/><category term="Open Grid Scheduler"/><category term="Open MPI"/><category term="Oracle"/><category term="art"/><category term="asus"/><category term="audio"/><category term="boto"/><category term="cloud"/><category term="debian"/><category term="distributed computing"/><category term="drupal"/><category term="email"/><category term="history"/><category term="install"/><category term="kickstart"/><category term="language"/><category term="matlab"/><category term="rpm"/><category term="sustainability"/><category term="virtualization"/><category term="wireless"/><category term="GPFS"/><category term="Lustre"/><category term="MPICH2"/><category term="NSA"/><category term="SL6"/><category term="StarCluster"/><category term="alerting"/><category term="animation"/><category term="astro"/><category term="cluster"/><category term="compile"/><category term="convert"/><category term="dd-wrt"/><category term="dos"/><category term="environment"/><category term="fabric"/><category term="facebook"/><category term="firefox"/><category term="freedos"/><category term="games"/><category term="html"/><category term="htpc"/><category term="humor"/><category term="hvac"/><category term="infiniband"/><category term="intel"/><category term="ipmi"/><category term="lacie"/><category term="ldap"/><category term="mobile"/><category term="monitoring"/><category term="msdos"/><category term="organize"/><category term="os"/><category term="os x"/><category term="privacy"/><category term="qlogic"/><category term="recycle"/><category term="sc09"/><category term="scp"/><category term="sendmail"/><category term="sftp"/><category term="solaris"/><category term="ssh"/><category term="streamcomputing"/><category term="subversion"/><category term="support"/><category term="svn"/><category term="thunderbird"/><category term="upgrade"/><category term="vmware"/><category term="xfs"/><category term="xserve"/><category term="yum"/><title type='text'>I Do Linux</title><subtitle type='html'>Enterprise Linux Tips and Tricks</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>217</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-5330367342539245683</id><published>2013-11-13T10:23:00.001-05:00</published><updated>2014-02-17T15:45:46.659-05:00</updated><title type='text'>I&#39;m Not Dead Yet</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-oH0IY3e-2FM/UoOYsqkC0vI/AAAAAAAAFJE/dmVTtxO15T0/s320/not-dead-yet.jpg&quot; /&gt;&lt;/div&gt;I&#39;m still here!  But I&#39;ve been busy with new responsibilities.  Come, follow me: &lt;a href=https://twitter.com/00gavin&gt;https://twitter.com/00gavin&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/5330367342539245683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2013/11/im-not-dead-yet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/5330367342539245683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/5330367342539245683'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2013/11/im-not-dead-yet.html' title='I&#39;m Not Dead Yet'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-oH0IY3e-2FM/UoOYsqkC0vI/AAAAAAAAFJE/dmVTtxO15T0/s72-c/not-dead-yet.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-7481382566129436451</id><published>2013-03-30T17:03:00.000-04:00</published><updated>2013-04-04T09:54:03.569-04:00</updated><title type='text'>Considering ZFS as a Home File Server</title><content type='html'>&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-JZ23XLkqiMU/UVdF_Org9MI/AAAAAAAACuw/21rUEKEqV-I/s320/2686741c26e05ba674c03e52ba03a957.png&quot; /&gt;&lt;p&gt;I&#39;m pondering building a home file server based on ZFS.  Recently, many of the Linux distributions have started supporting ZFS, including Fedora and Scientific Linux. &lt;p&gt;If you&#39;re asking, &quot;What the heck is ZFS?&quot;:&lt;br&gt;&lt;blockquote&gt;ZFS is a combined file system and logical volume manager designed by Sun Microsystems. The features of ZFS include protection against data corruption, support for high storage capacities, integration of the concepts of filesystem and volume management, snapshots and copy-on-write clones, continuous integrity checking and automatic repair, RAID-Z and native NFSv4 ACLs.  --Wikipedia&lt;/blockquote&gt;&lt;p&gt;Check out these links for the latest info on ZoL: &lt;ul&gt;&lt;li&gt;&lt;a href=http://listserv.fnal.gov/scripts/wa.exe?A2=ind1303&amp;L=scientific-linux-users&amp;T=0&amp;X=5B929F66B2B2056912&amp;Y=christopher.brown%40med.ge.com&amp;P=21739 target=_blank&gt;ZFS on Linux (ZOL) added to SL 6.4 Addons&lt;/a&gt;&lt;li&gt;&lt;a href=https://groups.google.com/a/zfsonlinux.org/forum/m/?fromgroups#!topic/zfs-announce/ZXADhyOwFfA target=_blank&gt;spl/zfs-0.6.1 released&lt;/a&gt;&lt;li&gt;&lt;a href=http://zfsonlinux.org/ target=_top&gt;ZFS on Linux&lt;/a&gt;&lt;li&gt;&lt;a href=http://en.wikipedia.org/wiki/ZFS target=_blank&gt;ZFS - Wikipedia&lt;/a&gt;&lt;li&gt;&lt;a href=http://zfsonlinux.org/fedora target=_blank&gt;DKMS style packages for Fedora&lt;/a&gt;&lt;/ul&gt;&lt;p&gt;Note that this is not the slow FUSE userspace version of ZFS.  This is a kernel module.  I was considering installing the latest Fedora 18 to try this out, on some type of compact server.  Ideally, a small, quiet, micro-ATX tower, with six 6Gbps SATA3 ports, would be best.  Any recommendations?  Maybe something like this: &lt;iframe src=&quot;http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;npa=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=idoli-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=B007QXLVQ6&quot; style=&quot;width:120px;height:240px;&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;  </content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/7481382566129436451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2013/03/considering-zfs-as-home-file-server.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/7481382566129436451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/7481382566129436451'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2013/03/considering-zfs-as-home-file-server.html' title='Considering ZFS as a Home File Server'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-JZ23XLkqiMU/UVdF_Org9MI/AAAAAAAACuw/21rUEKEqV-I/s72-c/2686741c26e05ba674c03e52ba03a957.png" height="72" width="72"/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-8845676785675220702</id><published>2012-08-14T22:16:00.001-04:00</published><updated>2012-11-14T18:41:02.306-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="amazon"/><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="boto"/><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="cloud"/><category scheme="http://www.blogger.com/atom/ns#" term="cluster"/><category scheme="http://www.blogger.com/atom/ns#" term="EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="HPC"/><category scheme="http://www.blogger.com/atom/ns#" term="Open Grid Scheduler"/><category scheme="http://www.blogger.com/atom/ns#" term="Open MPI"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="RHEL"/><category scheme="http://www.blogger.com/atom/ns#" term="rpm"/><category scheme="http://www.blogger.com/atom/ns#" term="scientific linux"/><category scheme="http://www.blogger.com/atom/ns#" term="StarCluster"/><category scheme="http://www.blogger.com/atom/ns#" term="Sun Grid Engine"/><title type='text'>StarCluster with Scientific Linux 6</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=http://en.wikipedia.org/wiki/Pleiades target=_blank&gt;&lt;img border=&quot;0&quot; height=&quot;231&quot; width=&quot;320&quot; src=&quot;http://3.bp.blogspot.com/-qfoPxwEMaA4/UCr3fOUCS8I/AAAAAAAACU4/JGsvPj1h6eU/s320/800px-Pleiades_large.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;UPDATE:&lt;/b&gt;  Please try the updated SL6 image &lt;b&gt;ami-d60185bf&lt;/b&gt; to fix SSH key issues.  &lt;p&gt;If you haven&#39;t heard of &lt;a href=http://web.mit.edu/star/cluster/ target=_blank&gt;StarCluster&lt;/a&gt; from MIT, it is a toolkit for launching clusters of virtual compute nodes within the Amazon Elastic Compute Cloud (EC2).  StarCluster provides a simple way to utilize the cloud for research, scientific, high-performance and high-throughput computing. &lt;p&gt;StarCluster defaults to using Ubuntu Linux (deb) images for its base, but I have prepared a Scientific Linux (rpm) image.  Most of the research computing clusters I administrate are composed of Red Hat Enterprise, CentOS, or Scientific Linux, so I was eager to have a compatible cloud option built off of my currently favorite Linux flavor. &lt;p&gt;You can get started trying out StarCluster with the &lt;a href=http://aws.amazon.com/free/ target=_blank&gt;AWS Free Usage Tier&lt;/a&gt;.  Once you have an Amazon account, StarCluster is easy to install with virtualenv and pip in your home directory. &lt;pre class=cli&gt;$ mkdir starcluster ; cd starcluster&lt;br /&gt;$ curl -O https://raw.github.com/pypa/virtualenv/master/virtualenv.py&lt;br /&gt;$ python virtualenv.py foocluster&lt;br /&gt;New python executable in foocluster/bin/python&lt;br /&gt;Installing setuptools............................done.&lt;br /&gt;Installing pip.....................done.&lt;br /&gt;$ . foocluster/bin/activate&lt;br /&gt;$ pip install starcluster&lt;br /&gt;$ starcluster help&lt;/pre&gt; The first time starcluster is run, it will error without a config file, but prompt you to create one.  Select option 2 to create and then edit the config file, setting preferred values.  Make sure to substitute in &lt;a href=https://aws-portal.amazon.com/gp/aws/developer/account/index.html?action=access-key target=_blank&gt;your credentials&lt;/a&gt;.  Here we are selecting micro instances of 64-bit Scientific Linux 6.  Edit in and add the following lines to the &lt;i&gt;~/.starcluster/config&lt;/i&gt; file. &lt;pre class=conf&gt;[aws info]&lt;br /&gt;AWS_ACCESS_KEY_ID = your_aws_access_key_id&lt;br /&gt;AWS_SECRET_ACCESS_KEY = your_secret_access_key&lt;br /&gt;AWS_USER_ID= your_userid&lt;br /&gt;[key foocluster]&lt;br /&gt;KEY_LOCATION = ~/starcluster/foocluster.rsa&lt;br /&gt;[cluster smallcluster]&lt;br /&gt;KEYNAME = foocluster&lt;br /&gt;NODE_IMAGE_ID = ami-d60185bf&lt;br /&gt;NODE_INSTANCE_TYPE = t1.micro&lt;/pre&gt;Now we need to create the ssh key for access. &lt;pre class=cli&gt;$ starcluster createkey -o foocluster.rsa foocluster&lt;/pre&gt;Now we can fire up a two-node cluster. &lt;pre class=cli&gt;$ starcluster start -s 2 foocluster&lt;br /&gt;$ starcluster listclusters&lt;br /&gt;$ starcluster sshmaster foocluster&lt;br /&gt;$ qstat -g c&lt;br /&gt;$ exit&lt;br /&gt;$ starcluster terminate foocluster&lt;/pre&gt;&lt;p&gt;When done, make sure to go into the &lt;a href=https://console.aws.amazon.com/ec2/home target=_blank&gt;EC2 Management Console&lt;/a&gt; and terminate or delete any running instances or volumes.  You don&#39;t want to run up a bill on idle instances. &lt;p&gt;Read more in the &lt;a href=http://web.mit.edu/star/cluster/docs/latest/contents.html target=_blank&gt;StarCluster manual&lt;/a&gt; or &lt;a href=https://github.com/jtriley/StarCluster/wiki target=_blank&gt;StarCluster wiki&lt;/a&gt;. &lt;p&gt;&lt;p&gt;Here is the build log for my custom SL6 AMI.  This image is based off of Jamie Kinney&#39;s &lt;a href=https://aws.amazon.com/amis/scientific-linux-6-2-x86-64 target=_blank&gt;Scientific Linux 6.2 x86_64&lt;/a&gt; AMI. &lt;pre class=cli&gt;$ starcluster start -s 1 foocluster -n ami-999d49f0&lt;br /&gt;$ starcluster get foocluster /opt/sge6-fresh .&lt;br /&gt;$ starcluster terminate foocluster&lt;br /&gt;$ starcluster start -o -s 1 -i t1.micro -n ami-e2a0058b imagehost&lt;br /&gt;$ starcluster listclusters --show-ssh-status imagehost&lt;br /&gt;$ starcluster sshmaster imagehost -u ec2-user&lt;br /&gt;$ sudo sed -i.bak -e&#39;s/\#PermitRootLogin\ yes/PermitRootLogin\ without-password/g&#39; /etc/ssh/sshd_config&lt;br /&gt;$ sudo sed -i.bak -e&#39;s/\#UseDNS\ yes/UseDNS\ no/g&#39; /etc/ssh/sshd_config&lt;br /&gt;$ sudo cp -f /home/ec2-user/.ssh/authorized_keys /root/.ssh/authorized_keys&lt;br /&gt;$ sudo service sshd reload&lt;br /&gt;$ exit&lt;br /&gt;$ starcluster put imagehost ./sge6-fresh /opt/&lt;br /&gt;$ rsync -e &quot;ssh -i $HOME/starcluster/foocluster.rsa&quot; -avP --delete sge6-fresh -l root ec2-23-23-64-53.compute-1.amazonaws.com:/opt/&lt;br /&gt;$ starcluster sshmaster imagehost&lt;br /&gt;# yum -y install yum-fastestmirror yum-conf-epel&lt;br /&gt;# yum -y update&lt;br /&gt;# yum -y install openmpi-devel nfs-utils-lib-devel java-1.6.0-openjdk-devel tmux zsh ksh tcsh \&lt;br /&gt;  unzip mysql-server mysql httpd emacs ntsysv freetype-devel libpng-devel blas-devel lapack-devel \&lt;br /&gt;  atlas-devel lbzip2 bzip2-devel ncurses-devel sqlite-devel zlib-devel libjpeg-devel mercurial ipython \&lt;br /&gt;  python-imaging python-boto python-virtualenv Cython python-nose python-gnutls python-pip ruby&lt;br /&gt;# echo &quot;exit 0&quot; &gt;&gt; /etc/init.d/portmap&lt;br /&gt;# chmod +x /etc/init.d/portmap&lt;br /&gt;# yum -y groupinstall &quot;Development Tools&quot;&lt;br /&gt;# yum -y install infinipath-psm-devel&lt;br /&gt;# yumdownloader --source openmpi&lt;br /&gt;# rpm --import https://www.redhat.com/security/fd431d51.txt&lt;br /&gt;# yum-builddep openmpi-1.5.4-1.el6.src.rpm&lt;br /&gt;# rpm -ivh openmpi-1.5.4-1.el6.src.rpm&lt;br /&gt;# rpmbuild -bb --define &#39;configure_options --with-sge&#39; /root/rpmbuild/SPECS/openmpi.spec&lt;br /&gt;# rpm -Uhv /root/rpmbuild/RPMS/x86_64/openmpi-1.5.4-1.el6.x86_64.rpm /root/rpmbuild/RPMS/x86_64/openmpi-devel-1.5.4-1.el6.x86_64.rpm&lt;br /&gt;# echo &quot;exclude=openmpi*&quot; &gt;&gt; /etc/yum.conf&lt;br /&gt;# . /etc/profile.d/modules.sh&lt;br /&gt;# module load openmpi-x86_64&lt;br /&gt;# ompi_info | grep -i grid&lt;br /&gt;                 MCA ras: gridengine (MCA v2.0, API v2.0, Component v1.5.4)&lt;br /&gt;# echo &quot;module load openmpi-x86_64&quot; &gt;&gt; /etc/profile.d/zzlocal.sh&lt;br /&gt;# echo &quot;module load openmpi-x86_64&quot; &gt;&gt; /etc/profile.d/zzlocal.csh&lt;br /&gt;# echo &#39;export PYTHONPATH=/usr/local/lib64/python2.6/site-packages:$PYTHONPATH&#39; &gt;&gt; /etc/profile.d/zzlocal.sh&lt;br /&gt;# echo &#39;setenv PYTHONPATH /usr/local/lib64/python2.6/site-packages:$PYTHONPATH&#39; &gt;&gt; /etc/profile.d/zzlocal.csh&lt;br /&gt;# chmod +x /etc/profile.d/zzlocal.*&lt;br /&gt;# . /etc/profile.d/zzlocal.sh&lt;br /&gt;# pip-python install --install-option=&quot;--prefix=/usr/local&quot; mpi4py&lt;br /&gt;# pip-python install --install-option=&quot;--prefix=/usr/local&quot; numpy&lt;br /&gt;# pip-python install --install-option=&quot;--prefix=/usr/local&quot; scipy&lt;br /&gt;# pip-python install --install-option=&quot;--prefix=/usr/local&quot; matplotlib&lt;br /&gt;# chmod u=rwx,go= /root /home/ec2-user&lt;br /&gt;# vim /etc/rc.local # see below&lt;br /&gt;# exit&lt;br /&gt;$ starcluster listclusters&lt;br /&gt;$ starcluster ebsimage i-xxxxxxxx starcluster-base-scientific-linux-6.2-x86_64-XX&lt;br /&gt;&gt;&gt;&gt; Your new AMI id is: ami-xxxxxxxx&lt;br /&gt;$ starcluster terminate imagehost&lt;/pre&gt; /etc/rc.local &lt;pre class=conf&gt;# update ec2-ami-tools&lt;br /&gt;wget http://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.noarch.rpm &amp;&amp; \&lt;br /&gt;rpm -Uvh ec2-ami-tools.noarch.rpm&lt;br /&gt;&lt;br /&gt;# reset root password&lt;br /&gt;dd if=/dev/urandom count=50|md5sum|passwd --stdin root&lt;br /&gt;dd if=/dev/urandom count=50|md5sum|passwd --stdin ec2-user&lt;br /&gt;&lt;br /&gt;# update root ssh keys&lt;br /&gt;sleep 40&lt;br /&gt;if [ ! -d /root/.ssh ]; then&lt;br /&gt;    mkdir -p /root/.ssh&lt;br /&gt;    chmod 700 /root/.ssh&lt;br /&gt;fi&lt;br /&gt;wget http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key &amp;&amp; \&lt;br /&gt;cat openssh-key &gt;&gt;/root/.ssh/authorized_keys &amp;&amp; \&lt;br /&gt;chmod 600 /root/.ssh/authorized_keys&lt;br /&gt;rm -f openssh-key&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/8845676785675220702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2012/08/starcluster-with-scientific-linux-6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/8845676785675220702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/8845676785675220702'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2012/08/starcluster-with-scientific-linux-6.html' title='StarCluster with Scientific Linux 6'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-qfoPxwEMaA4/UCr3fOUCS8I/AAAAAAAACU4/JGsvPj1h6eU/s72-c/800px-Pleiades_large.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-2760672555597633895</id><published>2012-08-09T09:46:00.000-04:00</published><updated>2012-08-10T11:23:28.564-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="os"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="scientific linux"/><title type='text'>Scientific Linux 6.3 Released</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; width=&quot;316&quot; src=&quot;http://2.bp.blogspot.com/-9M1vYwZBrfs/UCO9vbQLjgI/AAAAAAAACUE/hIXztT8o9aY/s320/sl-logo_normal.png&quot; /&gt;&lt;/div&gt;&lt;a href=https://www.scientificlinux.org/ target=_blank&gt;Scientific Linux&lt;/a&gt; version 6.3, the latest version of our favorite Red Hat Enterprise Linux compatible distribution, is out now.  Get it while it&#39;s hot.   &lt;p&gt;I&#39;ll be waiting for the release of the &lt;a href=http://ftp.scientificlinux.org/linux/scientific/livecd/63/x86_64/ target=_blank&gt;SL 6.3 live iso&lt;/a&gt; version, to boot off of a USB thumb drive with &lt;a href=https://fedorahosted.org/liveusb-creator/ target=_blank?liveusb-creator&gt;liveusb-creator&lt;/a&gt;.  Currently, the &lt;a href=http://ftp.scientificlinux.org/linux/scientific/livecd/62/ target=_blank&gt;SL 6.2 live iso&lt;/a&gt; and &lt;a href=http://ftp.scientificlinux.org/linux/scientific/livecd/57/ target=_blank&gt;SL 5.7 live iso&lt;/a&gt; are still available for this purpose.</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/2760672555597633895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2012/08/scientific-linux-63-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/2760672555597633895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/2760672555597633895'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2012/08/scientific-linux-63-released.html' title='Scientific Linux 6.3 Released'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-9M1vYwZBrfs/UCO9vbQLjgI/AAAAAAAACUE/hIXztT8o9aY/s72-c/sl-logo_normal.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-4967097648551004152</id><published>2012-06-12T17:53:00.001-04:00</published><updated>2012-08-11T14:15:05.736-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="amazon"/><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="boto"/><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="fabric"/><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="HPC"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Open Grid Scheduler"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="RHEL"/><category scheme="http://www.blogger.com/atom/ns#" term="Sun Grid Engine"/><title type='text'>Fabcluster: An Amazon EC2 Script for HPC</title><content type='html'>&lt;img border=&quot;0&quot; height=&quot;186&quot; width=&quot;320&quot; src=&quot;http://2.bp.blogspot.com/-InDze_7d9gI/T9dvKH7kzlI/AAAAAAAACL4/BQ1SJnKd9NM/s320/fabcluster.png&quot; /&gt;&lt;p&gt;I&#39;ve been experimenting with Amazon EC2 for prototyping HPC clusters.  Spinning up a cluster of micro instances is very convenient for testing software and systems configurations.  In order to facilitate training and discussion, my Python script is now available on &lt;a href=https://github.com/00gavin/ target=_blank&gt;GitHub&lt;/a&gt;.  This piece of code utilizes the &lt;a href=http://docs.fabfile.org target=_blank&gt;Fabric&lt;/a&gt; and &lt;a href=http://docs.pythonboto.org/ target=_blank&gt;Boto&lt;/a&gt; Python modules. &lt;p&gt;An &lt;a href=http://aws.amazon.com/ target=_blank&gt;Amazon Web Services&lt;/a&gt; account is required to use this script.  &lt;i&gt;Please note&lt;/i&gt; that running this script will start virtual servers in the cloud which will be billed for hourly.  The &lt;a href=http://aws.amazon.com/free/ target=_blank&gt;AWS Free Usage Tier&lt;/a&gt; should be enough to get started, since the default instances are micro instances. &lt;p&gt;Let&#39;s install the fabcluster script, the required Python packages and grid engine files.  Using &lt;a href=http://www.pip-installer.org target=_blank&gt;pip&lt;/a&gt; and &lt;a href=http://www.virtualenv.org target=_blank&gt;virtualenv&lt;/a&gt; is the easiest way to install Python packages as a non-root user.    &lt;pre class=cli&gt;$ git clone https://github.com/00gavin/fabcluster.git&lt;br /&gt;$ cd fabcluster&lt;br /&gt;$ curl -O https://raw.github.com/pypa/virtualenv/master/virtualenv.py&lt;br /&gt;$ python virtualenv.py foo&lt;br /&gt;$ . foo/bin/activate&lt;br /&gt;$ pip install fabric&lt;br /&gt;$ pip install boto&lt;/pre&gt; Once we have signed up for an Amazon Web Services account, place &lt;a href=https://aws-portal.amazon.com/gp/aws/developer/account/index.html?action=access-key target=_blank&gt;your credentials&lt;/a&gt; in the &lt;i&gt;~/.boto&lt;/i&gt; file: &lt;pre class=conf&gt;[Credentials]&lt;br /&gt;aws_access_key_id = YOUR Access Key ID HERE&lt;br /&gt;aws_secret_access_key = YOUR Secret Access Key HERE&lt;/pre&gt; If we don&#39;t want to be prompted to accept ssh keys with every new instance, place these lines into the &lt;i&gt;~/.ssh/config&lt;/i&gt; file: &lt;pre class=conf&gt;Host *amazonaws.com&lt;br /&gt;        IdentityFile ~/.ssh/ec2-fab00-key.pem&lt;br /&gt;        IdentityFile ~/.ssh/ec2-foo00-key.pem&lt;br /&gt;        IdentityFile ~/.ssh/ec2-baz00-key.pem&lt;br /&gt;        User root&lt;br /&gt;        StrictHostKeyChecking no&lt;br /&gt;        UserKnownHostsFile /dev/null&lt;/pre&gt; I like to use random variable names as prototype cluster names, like foo, baz, etc.  Let&#39;s call our cluster &quot;foo&quot;.  If we have never ran this script before for a cluster named foo, we need to initialize a few security settings: &lt;pre class=cli&gt;$ fab gridinit:foo&lt;/pre&gt; Now we can launch the head node of a cluster: &lt;pre class=cli&gt;$ fab gridmake:foo&lt;/pre&gt; If we want to add two compute nodes to the foo cluster: &lt;pre class=cli&gt;$ fab gridgrow:foo,2&lt;/pre&gt; To connect to our head node, we list our running instances and find the public hostname of foonode0. &lt;pre class=cli&gt;$ fab gridlist&lt;br /&gt;$ ssh ec2-NNN-NNN-NNN-NNN.compute-1.amazonaws.com&lt;br /&gt;# qstat -g c&lt;br /&gt;# exit&lt;/pre&gt; And when done, we want to make sure to terminate all running instances.  Instances left running will be charged hourly. &lt;pre class=cli&gt;$ fab gridterm:foo&lt;/pre&gt; A few things to note about this script: &lt;ul&gt;&lt;li&gt;uses the default Amazon Linux instance types which are Red Hat / Fedora based &lt;li&gt;defaults to the micro instance type but can be changed to the HPC cluster type &lt;li&gt;a normal user account is created matching your local username &lt;li&gt;uses &lt;a href=http://gridscheduler.sourceforge.net/ target=_blank&gt;Open Grid Scheduler&lt;/a&gt;  &lt;li&gt;an example of initializing storage is commented out &lt;li&gt;parallel install of compute nodes is accomplished with subprocess &lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/4967097648551004152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2012/06/fabcluster-amazon-ec2-script.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/4967097648551004152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/4967097648551004152'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2012/06/fabcluster-amazon-ec2-script.html' title='Fabcluster: An Amazon EC2 Script for HPC'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-InDze_7d9gI/T9dvKH7kzlI/AAAAAAAACL4/BQ1SJnKd9NM/s72-c/fabcluster.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-452045900859809541</id><published>2012-05-31T13:04:00.001-04:00</published><updated>2012-05-31T13:07:11.769-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="convert"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="RHEL"/><category scheme="http://www.blogger.com/atom/ns#" term="upgrade"/><title type='text'>Update RHEL 5 with CentOS 5</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; width=&quot;320&quot; src=&quot;http://1.bp.blogspot.com/-y5lsxlHDGZ0/T8elGo2dQvI/AAAAAAAACJ4/fKV-825M3E4/s320/centos5.jpg&quot; /&gt;&lt;/div&gt;Now that Red Hat Enterprise Linux 6 is out, it may be desirable to update and convert non-critical Red Hat Enterprise Linux 5 servers to CentOS 5.  Take note that the conversion process is to the same version.  In this example, we see 64-bit RHEL 5: &lt;pre class=cli&gt;# cat /etc/redhat-release &lt;br /&gt;Red Hat Enterprise Linux Server release 5.7 (Tikanga)&lt;br /&gt;# uname -a&lt;br /&gt;Linux foo.baz.edu 2.6.18-274.12.1.el5 #1 SMP Tue Nov 8 21:37:35 EST 2011 x86_64 x86_64 x86_64 GNU/Linux&lt;/pre&gt; &lt;pre class=cli&gt;# cd /usr/src&lt;br /&gt;# wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-3.2.22-39.el5.centos.noarch.rpm&lt;br /&gt;# wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm&lt;br /&gt;# wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/centos-release-5-8.el5.centos.x86_64.rpm&lt;br /&gt;# wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/centos-release-notes-5.8-0.x86_64.rpm&lt;br /&gt;# cp /etc/redhat-release /etc/redhat-release.redhat&lt;br /&gt;# yum -y remove rhn*&lt;br /&gt;# rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5&lt;br /&gt;# rpm -Uhv yum-3.2.22-39.el5.centos.noarch.rpm yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm&lt;br /&gt;# rpm -ev --nodeps redhat-release&lt;br /&gt;# rpm -ihv centos-release-5-8.el5.centos.x86_64.rpm centos-release-notes-5.8-0.x86_64.rpm&lt;br /&gt;# yum update&lt;br /&gt;# vim /etc/grub.conf&lt;br /&gt;# reboot&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/452045900859809541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2012/05/update-rhel-5-with-centos-5.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/452045900859809541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/452045900859809541'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2012/05/update-rhel-5-with-centos-5.html' title='Update RHEL 5 with CentOS 5'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-y5lsxlHDGZ0/T8elGo2dQvI/AAAAAAAACJ4/fKV-825M3E4/s72-c/centos5.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-2426102989279858652</id><published>2012-03-30T10:44:00.001-04:00</published><updated>2012-03-30T15:37:29.823-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="build"/><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="compile"/><category scheme="http://www.blogger.com/atom/ns#" term="HPC"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="installation"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="red hat"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="RHEL"/><category scheme="http://www.blogger.com/atom/ns#" term="scientific linux"/><category scheme="http://www.blogger.com/atom/ns#" term="SL6"/><title type='text'>Building ScaLAPACK with LAPACK, BLAS and Open MPI</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.netlib.org/scalapack/poster.html&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot; target=_blank&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; width=&quot;320&quot; src=&quot;http://4.bp.blogspot.com/-M2qVjxzep5Q/T3W3IInwhLI/AAAAAAAACAE/VX0m_C8Sv_w/s320/scalapack.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;blockquote&gt;&lt;a href=http://www.netlib.org/scalapack/ target=_blank&gt;ScaLAPACK&lt;/a&gt; is a library of high-performance linear algebra routines for parallel distributed memory machines. ScaLAPACK solves dense and banded linear systems, least squares problems, eigenvalue problems, and singular value problems.&lt;/blockquote&gt; This build log uses the &lt;a href=http://idolinux.blogspot.com/2008/08/intel-compilers-for-non-commercial-use.html target=_blank&gt;Intel compiler suite&lt;/a&gt;, which is free to download for non-comercial use.  I recommend installing &lt;a href=https://registrationcenter.intel.com/RegCenter/AutoGen.aspx?ProductID=1540&amp;AccountID=&amp;EmailID=&amp;ProgramID=&amp;RequestDt=&amp;rm=NCOM&amp;lang= target=_blank&gt;Intel Parallel Studio XE for Linux&lt;/a&gt;.  This build is on a 64-bit x86_64 Scientific Linux 6 system, but these instructions should also work on Red Hat Enterprise Linux and CentOS 5 &amp; 6, too.  &lt;pre class=cli&gt;&lt;br /&gt;# cd /usr/local/&lt;br /&gt;# wget http://www.netlib.org/blas/blas.tgz&lt;br /&gt;# tar xzvf blas.tgz&lt;br /&gt;# mv BLAS blas-20110419&lt;br /&gt;# ln -s blas-20110419 BLAS&lt;br /&gt;# cd BLAS&lt;br /&gt;# ifort -FI -w90 -w95 -cm -O3 -unroll -c *.f&lt;br /&gt;# ar r libfblas.a *.o&lt;br /&gt;# ranlib libfblas.a&lt;br /&gt;# rm -rf *.o&lt;br /&gt;# ln -s libfblas.a libblas.a&lt;br /&gt;# export BLAS=/usr/local/BLAS/libblas.a&lt;br /&gt;&lt;/pre&gt; &lt;pre class=cli&gt;&lt;br /&gt;# cd /usr/local/&lt;br /&gt;# wget wget http://www.netlib.org/lapack/lapack.tgz&lt;br /&gt;# tar xzvf lapack.tgz&lt;br /&gt;# ln -s lapack-3.4.0 LAPACK&lt;br /&gt;# cd LAPACK&lt;br /&gt;# cp INSTALL/make.inc.ifort make.inc&lt;br /&gt;# make lapacklib&lt;br /&gt;# make clean&lt;br /&gt;# export LAPACK=/usr/local/LAPACK/liblapack.a&lt;br /&gt;&lt;/pre&gt; &lt;pre class=cli&gt;&lt;br /&gt;# cd /usr/local/src&lt;br /&gt;# wget http://www.open-mpi.org/software/ompi/v1.4/downloads/openmpi-1.4.5.tar.gz&lt;br /&gt;# tar xzvf openmpi-1.4.5.tar.gz&lt;br /&gt;# cd openmpi-1.4.5&lt;br /&gt;# CC=icc FC=ifort F77=ifort CXX=icpc ./configure --prefix=/usr/local/openmpi-1.4.5&lt;br /&gt;# make&lt;br /&gt;# make install&lt;br /&gt;# cd /usr/local&lt;br /&gt;# ln -s openmpi-1.4.5 openmpi&lt;br /&gt;# export PATH=/usr/local/openmpi/bin:$PATH&lt;br /&gt;# export LD_LIBRARY_PATH=/usr/local/openmpi/lib:$LD_LIBRARY_PATH&lt;br /&gt;&lt;/pre&gt; &lt;pre class=cli&gt;&lt;br /&gt;# cd /usr/local&lt;br /&gt;# wget http://www.netlib.org/scalapack/scalapack-2.0.1.tgz&lt;br /&gt;# tar xvf scalapack-2.0.1.tgz&lt;br /&gt;# ln -s scalapack-2.0.1 scalapack&lt;br /&gt;# cd scalapack&lt;br /&gt;# cp SLmake.inc.example SLmake.inc&lt;br /&gt;# vim SLmake.inc&lt;br /&gt;    BLASLIB       = -lblas -L/usr/local/BLAS&lt;br /&gt;    LAPACKLIB     = -llapack -L/usr/local/LAPACK&lt;br /&gt;    LIBS          = $(LAPACKLIB) $(BLASLIB)&lt;br /&gt;# make&lt;br /&gt;# export SCALAPACK=/usr/local/scalapack/libscalapack.a&lt;br /&gt;&lt;/pre&gt;  References: &lt;ul&gt;&lt;li&gt;&lt;a href=http://www.scipy.org/Installing_SciPy/BuildingGeneral#head-e618da78f29d5a85f680cc47e574a84951c8dffb target=_blank&gt;Installing SciPy / BuildingGeneral - Linear Algebra libraries&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=http://www.netlib.org/scalapack/ target=_blank&gt;ScaLAPACK&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=http://www.open-mpi.org/ target=_blank&gt;Open MPI&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=http://www.netlib.org/lapack/ target=_blank&gt;LAPACK&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=http://www.netlib.org/blas/ target=_blank&gt;BLAS&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=http://software.intel.com/en-us/articles/non-commercial-software-download/ target=_blank&gt;Intel Non-Commercial Software Download&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/2426102989279858652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2012/03/building-scalapack-with-lapack-blas-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/2426102989279858652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/2426102989279858652'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2012/03/building-scalapack-with-lapack-blas-and.html' title='Building ScaLAPACK with LAPACK, BLAS and Open MPI'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-M2qVjxzep5Q/T3W3IInwhLI/AAAAAAAACAE/VX0m_C8Sv_w/s72-c/scalapack.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-1086010309684096544</id><published>2012-01-19T22:04:00.002-05:00</published><updated>2012-09-15T13:42:15.814-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asus"/><category scheme="http://www.blogger.com/atom/ns#" term="eee"/><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="installation"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="netbook"/><title type='text'>Fedora 16 Xfce on an Eee PC</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; width=&quot;200&quot; src=&quot;http://1.bp.blogspot.com/-Uv6mqs74pYQ/TZ8-PxKImdI/AAAAAAAAAOA/ZdKBlPnlV6s/s200/P_500.jpg&quot; /&gt;&lt;/div&gt;Here are some notes from a recent install of  &lt;a href=http://fedoraproject.org/  target=_blank&gt;Fedora&lt;/a&gt; 16, 64-bit, on an Asus Eee PC &lt;a href=http://www.asus.com/Eee/Eee_PC/Eee_PC_1015PEM/#specifications target=_blank&gt;1015PEM&lt;/a&gt; Seashell netbook, with a 2GB memory upgrade and an SSD.  This system has a 64-bit 1.5 GHz Intel Atom N550 processor.  I skipped Gnome 3 and went with the &lt;a href=http://spins.fedoraproject.org/xfce/ target=_blank&gt;Fedora Xfce Spin&lt;/a&gt;. &lt;br&gt;&lt;p&gt;Create installation media by &lt;a href=http://spins.fedoraproject.org/xfce/#downloads target=_blank&gt;downloading&lt;/a&gt; the ISO of the Fedora 16 Xfce Spin 64-bit.  A bootable USB drive can be prepared with &lt;a href=&quot;https://fedorahosted.org/liveusb-creator/&quot; target=&quot;_blank&quot;&gt;liveusb-creator&lt;/a&gt;.  To boot the installer, insert the prepared liveusb drive into the left USB port and hit the Esc key after powering on.  This brings up the boot menu where the USB drive can be selected.  The Linux install should be mostly defaults, except that disk encryption and a grub password should be enabled.&lt;br /&gt;&lt;br /&gt;After a fresh install and reboot, plug into a wired network connection, install the &lt;a href=&quot;http://rpmfusion.org/&quot; target=&quot;_blank&quot;&gt;RPM Fusion&lt;/a&gt; software repository, do the first big system software update, then install the wireless driver package.  Note that kmod-wl from RPM Fusion provides a driver for the Broadcom wireless card after reboot.&lt;br /&gt;&lt;pre class=&quot;cli&quot;&gt;# yum -y install yum-fastestmirror&lt;br /&gt;# yum -y update&lt;br /&gt;# yum localinstall --nogpgcheck \&lt;br /&gt;http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm \&lt;br /&gt;http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm&lt;br /&gt;# yum install kmod-wl akmod-wl &lt;/pre&gt;and install some extra packages you may or may not find useful... &lt;pre class=cli&gt;# yum -y install krb5-workstation tkinter mutt getmail \&lt;br /&gt;python-setuptools ipython mysql-workbench gconf-editor git \&lt;br /&gt;subversion ethtool liveusb-creator telnet freeglut-devel \&lt;br /&gt;gcc gcc-c++ SDL-devel rdesktop thunderbird thunderbird-enigmail \&lt;br /&gt;vim fortune-mod lsb redhat-lsb-graphics qt-x11 powertop dosbox \&lt;br /&gt;tigervnc tigervnc-server audacity-freeworld rdiff-backup \&lt;br /&gt;samba-client rtorrent unrar anki libreoffice-langpack-de \&lt;br /&gt;libreoffice-writer libreoffice-calc libreoffice-impress \&lt;br /&gt;screen nmap net-snmp-utils wireshark-gnome iptraf strace sysstat \&lt;br /&gt;gimp rpmdevtools yum-utils ncurses-devel dvd+rw-tools \&lt;br /&gt;libpng-devel mednafen jwhois java-1.6.0-openjdk-plugin wget \&lt;br /&gt;ddrescue wodim vlc mplayer mencoder grip lame easytag \&lt;br /&gt;lm_sensors xterm xorg-x11-xinit-session xorg-x11-apps&lt;/pre&gt;&lt;br /&gt;The biggest tip with a 10&quot; netbook is to consolidate and auto-hide menus/toolbars for maximum screen real estate.  And when sitting at a desk, use a full-sized LCD monitor.  The screen space issue is one of the main reasons I went with Xfce over Gnome 3.  Gnome 3 wastes too much screen space with wide toolbars and window borders.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;187&quot; width=&quot;320&quot; src=&quot;http://2.bp.blogspot.com/-keCyEo9or5c/TxjTTt0x__I/AAAAAAAAB54/jSO1u_WKqWo/s320/Screenshot%2B-%2B01192012%2B-%2B09%253A36%253A13%2BPM.png&quot; /&gt;&lt;/div&gt;The trackpad is nice, supporting one, two and three-finger tapping. Enable this in the Xfce mouse preferences is not possible, though.  Adding three lines to a config file fixes this, for easy copy-and-paste the way it was meant to be.  On Linux, mouse button-one is highlight/select, copy being automatic, and button-three is paste.  With a touchpad this is a double-tap with one finger and drag to select text, then a two-finger tap to paste. &lt;br&gt;&lt;p&gt;&lt;i&gt;/usr/share/X11/xorg.conf.d/50-synaptics.conf&lt;/i&gt;&lt;pre class=conf&gt;Section &quot;InputClass&quot;&lt;br /&gt;        Identifier &quot;touchpad catchall&quot;&lt;br /&gt;        Driver &quot;synaptics&quot;&lt;br /&gt;        MatchIsTouchpad &quot;on&quot;&lt;br /&gt;        MatchDevicePath &quot;/dev/input/event*&quot;&lt;br /&gt;        Option &quot;TapButton1&quot; &quot;1&quot;&lt;br /&gt;        Option &quot;TapButton2&quot; &quot;2&quot;&lt;br /&gt;        Option &quot;TapButton3&quot; &quot;3&quot;&lt;br /&gt;EndSection&lt;/pre&gt;&lt;br&gt;Now, one could stop here and be finished, but I&#39;m interested in tweaking for power saving features, like the Super Hybrid Engine (SuperHE) features of this model.  To enable the Asus SuperHE power saving, we add a few scripts to the power management system.&lt;br&gt;&lt;p&gt;&lt;i&gt;/etc/pm/power.d/asus_she_power&lt;/i&gt;&lt;pre class=conf&gt;#!/bin/sh&lt;br /&gt;# /etc/pm/power.d/asus_she_power&lt;br /&gt;&lt;br /&gt;cpufv=&quot;/sys/devices/platform/eeepc-wmi/cpufv&quot;&lt;br /&gt;lcd=&quot;/sys/devices/virtual/thermal/cooling_device4/cur_state&quot;&lt;br /&gt;&lt;br /&gt;case &quot;$1&quot; in&lt;br /&gt;    true)&lt;br /&gt;        echo &quot;Super Hybrid Engine ENABLED&quot;&lt;br /&gt;        echo 2 &gt; $cpufv&lt;br /&gt;        echo 8 &gt; $lcd&lt;br /&gt;    ;;&lt;br /&gt;    false)&lt;br /&gt;        echo &quot;Super Hybrid Engine DISABLED&quot;&lt;br /&gt;        echo 0 &gt; $cpufv&lt;br /&gt;        echo 0 &gt; $lcd&lt;br /&gt;        setpci -s 00:02.0 f4.b=ff&lt;br /&gt;    ;;&lt;br /&gt;esac&lt;br /&gt;&lt;br /&gt;exit 0&lt;/pre&gt;&lt;i&gt;/etc/pm/sleep.d/asus_she_sleep&lt;/i&gt;&lt;pre class=conf&gt;#!/bin/sh&lt;br /&gt;# /etc/pm/sleep.d/asus_she_sleep&lt;br /&gt; &lt;br /&gt;battery=&quot;/proc/acpi/ac_adapter/AC0/state&quot;&lt;br /&gt;ac=&quot;/sys/bus/acpi/drivers/ac/ACPI0003:00/power_supply/AC0/online&quot;&lt;br /&gt; &lt;br /&gt;case &quot;$1&quot; in&lt;br /&gt;    thaw)&lt;br /&gt;        if (test -e $battery); then&lt;br /&gt;            if grep off-line &quot;$battery&quot; &gt; /dev/null; then&lt;br /&gt;                /etc/pm/power.d/asus_she_power true&lt;br /&gt;            fi&lt;br /&gt;        elif (test -e $ac); then&lt;br /&gt;            if grep 0 &quot;$ac&quot; &gt; /dev/null; then&lt;br /&gt;                /etc/pm/power.d/asus_she_power true&lt;br /&gt;            fi&lt;br /&gt;        else&lt;br /&gt;            /etc/pm/power.d/asus_she_power false&lt;br /&gt;        fi&lt;br /&gt;esac&lt;br /&gt; &lt;br /&gt;exit 0&lt;/pre&gt;These two above scripts will trigger when plugging power and waking from suspend respectively.  Don&#39;t forget to make them executable: &lt;pre class=cli&gt;# chmod +x /etc/pm/sleep.d/asus_she_sleep /etc/pm/power.d/asus_she_power&lt;/pre&gt;&lt;br&gt;With an SSD, we want to enable the noop scheduler.  Edit &lt;i&gt;/etc/default/grub&lt;/i&gt; and add the &lt;i&gt;elevator&lt;/i&gt; option to the kernel line: &lt;pre class=conf&gt;GRUB_TIMEOUT=5&lt;br /&gt;GRUB_DISTRIBUTOR=&quot;Fedora&quot;&lt;br /&gt;GRUB_DEFAULT=saved&lt;br /&gt;GRUB_CMDLINE_LINUX=&quot;rd.md=0 rd.dm=0  KEYTABLE=us rd.lvm.lv=vg_foo/lv_swap quiet rd.luks.uuid=luks-xxxxxxxx-xxxx-xxxx-xxxx SYSFONT=latarcyrheb-sun16 rhgb rd.lvm.lv=vg_foo/lv_root LANG=en_US.UTF-8 elevator=noop&quot;&lt;/pre&gt;And rebuild the grub configuration: &lt;pre class=cli&gt;# grub2-mkconfig -o /boot/grub2/grub.cfg&lt;/pre&gt;Enable noatime on ext4 file systems, and tmpfs for temporary directories in the &lt;i&gt;/etc/fstab&lt;/i&gt; file:&lt;br /&gt;&lt;pre class=&quot;conf&quot;&gt;/dev/mapper/vg_foo-lv_root / ext4 defaults,noatime 1 1&lt;br /&gt;tmpfs /tmp tmpfs defaults,nodev,nosuid,size=256M 0 0&lt;br /&gt;tmpfs /var/tmp tmpfs defaults,nodev,nosuid,size=64M 0 0&lt;br /&gt;tmpfs /var/log tmpfs defaults,nodev,nosuid,size=32M 0 0&lt;/pre&gt;&lt;br&gt;Some additional power and SDD saving tweaks: &lt;pre class=cli&gt;# touch /etc/rc.d/rc.local&lt;br /&gt;# chmod +x /etc/rc.d/rc.local&lt;/pre&gt;&lt;i&gt;/etc/rc.d/rc.local&lt;/i&gt;&lt;pre class=conf&gt;echo 1 &gt; /proc/sys/vm/swappiness&lt;br /&gt;echo 50 &gt; /proc/sys/vm/vfs_cache_pressure&lt;br /&gt;echo 1500 &gt; /proc/sys/vm/dirty_writeback_centisecs&lt;br /&gt;echo 20 &gt; /proc/sys/vm/dirty_ratio&lt;br /&gt;echo 10 &gt; /proc/sys/vm/dirty_background_ratio&lt;br /&gt;echo 0 &gt; /proc/sys/kernel/nmi_watchdog&lt;br /&gt;echo 1 &gt; /sys/devices/system/cpu/sched_smt_power_savings&lt;br /&gt;echo 1 &gt; /sys/module/snd_hda_intel/parameters/power_save&lt;br /&gt;echo 5 &gt; /proc/sys/vm/laptop_mode&lt;br /&gt;#echo noop &gt; /sys/block/sda/queue/scheduler &lt;br /&gt;#for I in /sys/devices/system/cpu/cpu?/cpufreq/scaling_governor; do echo &#39;ondemand&#39; &gt;$I; done&lt;br /&gt;#echo min_power &gt; /sys/class/scsi_host/host0/link_power_management_policy&lt;br /&gt;#ethtool -s eth0 wol d&lt;br /&gt;#modprobe sdhci&lt;br /&gt;#for I in `find /sys -name autosuspend -exec echo {} \;`; do echo &quot;0&quot; &gt;&quot;$I&quot;; done&lt;br /&gt;for I in `find /sys/devices -wholename &quot;*pci*power/control&quot; |grep -v &quot;usb2&quot;`; do echo &#39;auto&#39; &gt;&quot;$I&quot;; done&lt;/pre&gt; Disable some unused services on a laptop client machine: &lt;pre class=cli&gt;# for s in abrtd-ccpp abrt-oops abrt-vmcore abrtd atd auditd avahi-daemon fcoe ip6tables iscsi livesys-late livesys lldpad mdmonitor-takeover sendmail sm-client; do echo $s; systemctl disable $s.service; done&lt;/pre&gt; If restoring a home directory from backup, with SELinux enabled, make sure to restore the security context of the home directories:&lt;br /&gt;&lt;pre class=&quot;cli&quot;&gt;# restorecon -vr /home&lt;/pre&gt;&lt;br /&gt; &lt;a href=&quot;http://www.google.com/chrome&quot; target=&quot;_blank&quot;&gt;Google Chrome&lt;/a&gt; is an excellent browser for a netbook.  It is a very efficient in terms of performance speed and screen utilization.  Download the rpm package from the Google website, then install it with yum to get all dependencies. &lt;pre class=cli&gt;$ sudo yum install ~/Downloads/google-chrome-stable_current_x86_64.rpm&lt;/pre&gt;&lt;br&gt; &lt;a href=&quot;http://www.skype.com/intl/en-us/get-skype/on-your-computer/linux/&quot; target=&quot;_blank&quot;&gt;Skype&lt;/a&gt; is good for video chat and international voice calling.  Download the RPM from the Skype website, then use yum to install.   &lt;pre class=cli&gt;$ sudo yum install ~/Downloads/skype-2.2.0.35-fedora.i586.rpm&lt;/pre&gt;&lt;br&gt; I am a big fan of video calling on Linux netbooks and Android phones.  If you use Google Talk for chat, the &lt;a href=http://www.google.com/chat/video target=_blank&gt;voice and video plugin&lt;/a&gt; will allow easy video chat and conferencing with &lt;a href=http://www.google.com/tools/dlpage/res/talkvideo/hangouts/ target=_blank&gt;Google+ Hangouts&lt;/a&gt;. &lt;pre class=cli&gt;$ sudo yum install ~/Downloads/google-talkplugin_current_x86_64.rpm&lt;/pre&gt;&lt;br&gt; To get the latest version of 64-bit Flash, install the Adobe repo, then the plugin package. &lt;pre class=cli&gt;# yum install http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm&lt;br /&gt;# yum install flash-plugin&lt;/pre&gt; Install some i686 libraries for 32-bit compatibility. &lt;pre class=cli&gt;# yum install libXmu.i686 libXt.i686&lt;/pre&gt; If using Thunderbird for mail, you may have to tell it to default to Chrome for web links with this quick fix: &lt;pre class=cli&gt;$ xdg-mime query default x-scheme-handler/http&lt;br /&gt;$ xdg-mime default google-chrome.desktop x-scheme-handler/http&lt;br /&gt;$ xdg-mime default google-chrome.desktop x-scheme-handler/https&lt;/pre&gt; You can change video modes from the command line when connecting to an external monitor or video projector.  Stick these aliases into your &lt;i&gt;~/.bashrc&lt;/i&gt; file:&lt;br /&gt;&lt;pre class=conf&gt;alias vga=&#39;xrandr --fb 1280x1624 --output LVDS1 --primary --mode 1024x600 --rate 60 --pos 0x0 --panning 0x0 --output VGA1 --mode 1280x1024 --rate 60 --pos 0x1024 --above LVDS1&#39;&lt;br /&gt;alias mir=&#39;xrandr --fb 1280x1024 --output LVDS1 --primary --mode 1024x600 --rate 60 --pos 0x0 --panning 1280x1024 --output VGA1 --mode 1280x1024 --rate 60 --pos 0x0 --same-as LVDS1&#39;&lt;br /&gt;alias lcd=&#39;xrandr --fb 1024x600  --output LVDS1 --primary --mode 1024x600 --rate 60 --output VGA1 --off&#39;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;After using Xfce for a few days, I&#39;m liking it.   &lt;p&gt;For further details on Fedora 16, I recommend reading the &lt;a href=http://docs.fedoraproject.org/en-US/Fedora/16/html/Release_Notes/index.html target=_blank&gt; Release Notes&lt;/a&gt;, particularly the section on &lt;a href=http://docs.fedoraproject.org/en-US/Fedora/16/html/Release_Notes/sect-Release_Notes-Changes_for_Sysadmin.html target=_blank&gt;Changes for System Administrators&lt;/a&gt;. &lt;p&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/1086010309684096544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2012/01/fedora-16-xfce-on-eee-pc.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/1086010309684096544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/1086010309684096544'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2012/01/fedora-16-xfce-on-eee-pc.html' title='Fedora 16 Xfce on an Eee PC'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-Uv6mqs74pYQ/TZ8-PxKImdI/AAAAAAAAAOA/ZdKBlPnlV6s/s72-c/P_500.jpg" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-3751559035656682686</id><published>2011-12-17T16:30:00.000-05:00</published><updated>2012-07-26T15:48:33.971-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="HPC"/><category scheme="http://www.blogger.com/atom/ns#" term="installation"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Sun Grid Engine"/><title type='text'>Grid Engine Config Tips</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;184&quot; width=&quot;320&quot; src=&quot;http://4.bp.blogspot.com/-loI1Y0YqeX4/Tu0Ju1BJxSI/AAAAAAAAB3Q/bobgCYdpwEA/s320/qmon.gif&quot; /&gt;&lt;/div&gt;&lt;p&gt; Here are some of the Grid Engine configuration steps we should take on a new install.  I recommend doing all of these from the very beginning, to prevent changes that may confuse or break user workflow. &lt;p&gt; There is one thing we must always do with a new compute cluster, and that is enable hard memory limits.  Users are usually not too keen on any kind of limit, because jobs will eventually run into them.  Once the realization is made that limits ensures node stability and uptime, users will demand them.  Without limits, one bad job can crash a node and bring down many other jobs. &lt;p&gt; To enable hard memory limits, we modify the complex configuration to make h_vmem requestable. &lt;pre class=cli&gt;# qconf -mc&lt;br /&gt;h_vmem              h_vmem     MEMORY      &lt;=    YES         YES        1g       0&lt;/pre&gt; Once this complex is set, it is a good idea to define a default option for qsub in the &lt;i&gt;$SGE_ROOT/default/common/sge_request&lt;/i&gt; file.  When enabling h_vmem, we should also set a default value for h_stack.  h_vmem sets a limit on virtual memory, while h_stack sets a limit on stack space for binary execution.  Without a sufficient value for h_stack, programs like Python, Matlab or IDL will fail to start.  Here, we are also binding each job to a single core. &lt;pre class=conf&gt;-binding linear:1&lt;br /&gt;-q all.q&lt;br /&gt;-l h_vmem=1g&lt;br /&gt;-l h_stack=128m&lt;/pre&gt; If we want to manually set values for each individual node, like slots and memory, a for-loop is very helpful. &lt;pre class=cli&gt;# qconf -rattr exechost complex_values slots=8,num_proc=8,h_vmem=8g node01&lt;br /&gt;# for ((I=1; I &lt;= 16 ; I++)); do &lt;br /&gt;&gt; NODE=`printf &quot;node%02d\n&quot; $I`&lt;br /&gt;&gt; MEM=`ssh $NODE &#39;free -b |grep Mem |cut -d&quot; &quot; -f 5&#39;`&lt;br /&gt;&gt; SWAP=`ssh $NODE &#39;free -b |grep Swap |cut -d&quot; &quot; -f 4&#39;`&lt;br /&gt;&gt; VMEM=`echo $MEM+$SWAP|bc`&lt;br /&gt;&gt; qconf -rattr exechost complex_values slots=8,num_proc=8,h_vmem=$VMEM $NODE&lt;br /&gt;&gt; done&lt;/pre&gt; To submit a job with a 4 gig limit, use the -l command line option. &lt;pre class=cli&gt;$ qsub -l h_vmem=4g -l h_stack=256m myjob.sh&lt;/pre&gt; To see available memory, use qstat. &lt;pre class=cli&gt;$ qstat -F h_vmem&lt;/pre&gt; It is also a good idea to place limits on the amount of memory any single process on the login node may allocate, in the &lt;i&gt;/etc/security/limits.conf&lt;/i&gt; file.  This example will limit any user in the &lt;i&gt;clusterusers&lt;/i&gt; group to 4 gigs per process.  Anything larger should be ran via qlogin.  When adding new users, make sure to add them to this now default group. &lt;pre class=conf&gt;# limit any process to 4GB = 1024*1024*4KB = 4194304&lt;br /&gt;@clusterusers      hard    rss             4194304&lt;br /&gt;@clusterusers      hard    as              4194304&lt;/pre&gt; There should also be a limit on how many jobs a single user can queue at once.  If a user must submit over 2000 jobs simultaneously, they may want to consider a more manageable workflow utilizing array jobs. &lt;pre class=cli&gt;# qconf -mconf&lt;br /&gt;max_u_jobs 2000&lt;/pre&gt; If we want to limit the number of jobs a single user can have in the running state simultaneously: &lt;pre class=cli&gt;# qconf -msconf&lt;br /&gt; max_reservation 128&lt;br /&gt; maxujobs 128&lt;/pre&gt; If the queue will be accepting multi-slot parallel jobs, slot reservation should be enabled to prevent starvation.  Otherwise, single-slot jobs will constantly fill in space ahead of the big job. This can be done by submitting multi-slot jobs with the “-R y&quot; option. &lt;p&gt; To enable a simple fairshare policy between all users, there are only three options to check: &lt;pre class=cli&gt;# qconf -mconf&lt;br /&gt;enforce_user auto&lt;br /&gt;auto_user_fshare 100&lt;br /&gt;# qconf -msconf&lt;br /&gt;weight_tickets_functional 10000&lt;/pre&gt; To be a bit more verbose, we should collect some job scheduler info. &lt;pre class=cli&gt;# man sched_conf&lt;br /&gt;# qconf -msconf&lt;br /&gt; schedd_job_info true&lt;/pre&gt; Now we can see why or why not a job is scheduled. &lt;pre class=cli&gt;$ qstat -j 427997&lt;br /&gt;$ qacct -j 427997&lt;/pre&gt; If we plan to allow graphical GUI programs in the queue, we must setup a qlogin wrapper script with proper X11 forwarding. &lt;pre class=cli&gt;# vim /usr/global/sge/qlogin_wrapper&lt;br /&gt;# chmod +x /usr/global/sge/qlogin_wrapper&lt;/pre&gt; qlogin_wrapper: &lt;pre class=conf&gt;#!/bin/sh&lt;br /&gt;HOST=$1&lt;br /&gt;PORT=$2&lt;br /&gt;shift&lt;br /&gt;shift&lt;br /&gt;echo /usr/bin/ssh -Y -p $PORT $HOST&lt;br /&gt;/usr/bin/ssh -Y -p $PORT $HOST&lt;/pre&gt; Set the qlogin wrapper and ssh shell: &lt;pre class=cli&gt;# qconf -mconf&lt;br /&gt; qlogin_command /usr/global/sge/qlogin_wrapper&lt;br /&gt; qlogin_daemon /usr/sbin/sshd -i&lt;/pre&gt; If we have a floating license server with a limited number of seats, we will want to configure a consumable complex resource.  When a user submits a job, the qsub option &#39;-l idl=1&#39; must be used.  In this example, the number of jobs that specify idl will be limited to 15 at any one time. &lt;pre class=cli&gt;# qconf -mc&lt;br /&gt;matlab ml INT &lt;= YES YES 0 0&lt;br /&gt;idl idl INT &lt;= YES YES 0 0&lt;br /&gt;# qconf -me global&lt;br /&gt;complex_values matlab=10,idl=15&lt;/pre&gt; If we want to have multiple queues across the same hosts, we can define a policy so that nodes do not become oversubscribed. &lt;pre class=cli&gt;# qconf -arqs&lt;br /&gt;{&lt;br /&gt;    name         limit_slots_to_cores_rqs&lt;br /&gt;    description  Prevents core oversubscription across queues. &lt;br /&gt;    enabled      TRUE    &lt;br /&gt;    limit        hosts {*} to slots=$num_proc&lt;br /&gt;}&lt;/pre&gt; Here are some handy aliases I find useful in my ~/.bashrc file: &lt;pre class=conf&gt;alias qconf-all=&#39;qconf -mq all.q&#39;&lt;br /&gt;alias qconf-offline=&#39;echo &quot;all.q@nodeXX&quot; ; \qconf -rattr queue slots 0&#39; # all.q@node23&lt;br /&gt;alias qconf-online=&#39;echo &quot;all.q@nodeXX&quot; ; \qconf -rattr queue slots 8&#39; # all.q@node23&lt;br /&gt;alias qstat-errors=&#39;\qstat -f -explain E&#39;&lt;br /&gt;alias qstat-summary=&#39;\qstat -g c&#39;&lt;br /&gt;alias qstat-mem=&#39;qstat -F h_vmem&#39;&lt;br /&gt;alias qstat-ext=&#39;qstat -ext&#39;&lt;br /&gt;alias qstat-io=&#39;qstat -ext | awk &#39;&quot;&#39;&quot;&#39;{print $11 &quot;  &quot; $5 &quot;  &quot; $1}&#39;&quot;&#39;&quot;&#39; | grep -v &quot;\-\-&quot; | sort -n&#39;&lt;br /&gt;alias qmod-clear=&#39;\qmod -c &quot;*&quot;&#39;&lt;/pre&gt; And done.  If you have some must-do configuration steps, please post them in the comments bellow.</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/3751559035656682686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/12/grid-engine-config-tips.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/3751559035656682686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/3751559035656682686'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/12/grid-engine-config-tips.html' title='Grid Engine Config Tips'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-loI1Y0YqeX4/Tu0Ju1BJxSI/AAAAAAAAB3Q/bobgCYdpwEA/s72-c/qmon.gif" height="72" width="72"/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-2277166782025112191</id><published>2011-12-14T19:41:00.003-05:00</published><updated>2011-12-17T16:44:33.726-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="CLI"/><category scheme="http://www.blogger.com/atom/ns#" term="command line"/><category scheme="http://www.blogger.com/atom/ns#" term="GPGPU"/><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="HPC"/><category scheme="http://www.blogger.com/atom/ns#" term="installation"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="scientific linux"/><title type='text'>GPGPU with AMD</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;214&quot; width=&quot;320&quot; src=&quot;http://1.bp.blogspot.com/-F_c_YmkSF1o/Tuk58OvZO1I/AAAAAAAAB3A/VBoQ-IF3IWs/s320/9250.JPG&quot; /&gt;&lt;/div&gt; &lt;a href=http://en.wikipedia.org/wiki/GPGPU target=_blank&gt;GPGPU&lt;/a&gt; (General Purpose Graphics Processing Unit) is a high performance computing solution which off-loads heavy floating-point computation to the video card.  &lt;a href=http://www.khronos.org/opencl/ target=_blank&gt;OpenCL&lt;/a&gt; is a cross-platform cross-vendor solution for parallel computing with various kinds of coprocessors such a GPU video card. &lt;p&gt;Here, we will be configuring an &lt;a href=http://www.amd.com/us/products/server/processors/firestream/firestream-9250/pages/firestream-9250.aspx target=_blank&gt;AMD FireStream 9250 GPU Compute Accelerator&lt;/a&gt; which provides over 1 TFLOPS of computing power.  The target operating system is Scientific Linux 6 x86_64, which is Red Hat Enterprise Linux 6 compatible. &lt;p&gt;You can verify the model of GPU installed with the &lt;i&gt;lspci&lt;/i&gt; command: &lt;pre class=cli&gt;# lspci | grep VGA&lt;br /&gt;07:00.0 VGA compatible controller: ATI Technologies Inc RV770 [FireStream 9250]&lt;/pre&gt; To find the latest graphics driver, head over to the &lt;a href=http://support.amd.com/us/gpudownload/Pages/index.aspx target=_blank&gt;AMD driver download&lt;/a&gt; page.  The current version is the AMD Catalyst 11.12 Proprietary Linux x86 Display Driver.  Once we have the URL of the driver we can begin.  &lt;pre class=cli&gt;# mkdir /usr/local/src/amd ; cd /usr/local/src/amd&lt;br /&gt;# wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-12-x86.x86_64.run&lt;br /&gt;# chmod +x ati-driver-installer-11-12-x86.x86_64.run&lt;br /&gt;# ./ati-driver-installer-11-12-x86.x86_64.run --buildpkg RedHat/RHEL6_64a&lt;br /&gt;# yum -y install fglrx64_p_i_c-8.92-1.x86_64.rpm&lt;br /&gt;# aticonfig --initial -f&lt;/pre&gt; We may need to tweak the GDM setting to allow remote users access to the GPU with  the &lt;i&gt;/etc/gdm/custom.conf&lt;/i&gt; config file: &lt;pre class=conf&gt;[servers]&lt;br /&gt;0=Rendering&lt;br /&gt;[server-Rendering]&lt;br /&gt;command=/usr/bin/Xorg -br -ac -audit 0&lt;br /&gt;flexible=true&lt;/pre&gt; An we also may need to allow permissions to direct rendering for shell users in the &lt;i&gt;/etc/X11/xorg.conf&lt;/i&gt; config file: &lt;pre class=conf&gt;Section &quot;DRI&quot;&lt;br /&gt;Mode 0666&lt;br /&gt;EndSection&lt;/pre&gt; Now to restart the display and verify that the FireGL module is in use. &lt;pre class=cli&gt;# killall -9 gdm-binary&lt;br /&gt;# lsmod | grep fgl&lt;br /&gt;fglrx                3154329  49&lt;br /&gt;# grep FireGL /var/log/Xorg.0.log&lt;br /&gt;(II) Module fglrx: vendor=&quot;FireGL - ATI Technologies Inc.&quot;&lt;br /&gt;(II) Module fglrxdrm: vendor=&quot;FireGL - ATI Technologies Inc.&quot;&lt;br /&gt;(II) fglrx(0):     Desc: ATI FireGL DRM kernel module&lt;/pre&gt; Install the &lt;a href=http://developer.amd.com/sdks/AMDAPPSDK/downloads/Pages/default.aspx target=_blank&gt;AMD APP SDK v2.5 with OpenCL&lt;/a&gt;: &lt;pre class=cli&gt;# wget http://developer.amd.com/Downloads/AMD-APP-SDK-v2.5-lnx64.tgz&lt;br /&gt;# mkdir AMD-APP-SDK-v2.5-lnx64 ; cd AMD-APP-SDK-v2.5-lnx64&lt;br /&gt;# tar xzvf &lt;br /&gt;# ./Install-AMD-APP.sh&lt;/pre&gt; Install GPU-enabled BLAS and FFT, the &lt;a href=http://developer.amd.com/libraries/appmathlibs/Pages/default.aspx target=_blank&gt;AMD Accelerated Parallel Processing Math Libraries (APPML) v1.4&lt;/a&gt;. &lt;pre class=cli&gt;# cd /usr/local/src/amd&lt;br /&gt;# wget http://developer.amd.com/Downloads/clAmdBlas-1.4.182-Linux.tar.gz&lt;br /&gt;# wget http://developer.amd.com/Downloads/clAmdFft-1.4.182-Linux.tar.gz&lt;br /&gt;# wget http://developer.amd.com/Downloads/LUDOpenCLBLAS-Linux.zip&lt;br /&gt;# wget http://developer.amd.com/Downloads/ObjectDetection-Linux.zip&lt;br /&gt;# mkdir clAmdBlas-1.4.182-Linux ; cd clAmdBlas-1.4.182-Linux&lt;br /&gt;# tar xzvf ../clAmdBlas-1.4.182-Linux.tar.gz&lt;br /&gt;# ./install-clAmdBlas-1.4.182.sh&lt;br /&gt;# cd ..&lt;br /&gt;# mkdir clAmdFft-1.4.182-Linux ; cd clAmdFft-1.4.182-Linux&lt;br /&gt;# tar xzvf ../clAmdFft-1.4.182-Linux.tar.gz&lt;br /&gt;# ./install-clAmdFft-1.4.182.sh&lt;/pre&gt; Verify everything is functioning. &lt;pre class=cli&gt;# . /etc/profile.d/ati-fglrx.sh&lt;br /&gt;# . /opt/clAmdBlas-1.4.182/appmlEnv.sh&lt;br /&gt;# /opt/clAmdBlas-1.4.182/bin64/clBlasVersion &lt;br /&gt;clAmdBlas version 1.4.182&lt;br /&gt;# /opt/clAmdBlas-1.4.182/bin64/example_sgemm &lt;br /&gt;Result:&lt;br /&gt;21370 22040 22710 &lt;br /&gt;37070 38240 39410 &lt;br /&gt;52770 54440 56110 &lt;br /&gt;68470 70640 72810 &lt;br /&gt;# /opt/clAmdBlas-1.4.182/bin64/example_strsm &lt;br /&gt;Result:&lt;br /&gt;-1.17478e+00 -7.83188e-01 -3.91593e-01 1.51806e-06 3.91595e-01 &lt;br /&gt;-4.03831e-01 -2.69220e-01 -1.34610e-01 5.98375e-07 1.34612e-01 &lt;br /&gt;-2.06611e-01 -1.37741e-01 -6.88705e-02 2.98023e-07 6.88705e-02 &lt;br /&gt;9.31818e+00 9.54545e+00 9.77273e+00 1.00000e+01 1.02273e+01&lt;br /&gt;# . /opt/clAmdFft-1.4.182/appmlEnv.sh&lt;br /&gt;# /opt/clAmdFft-1.4.182/bin64/clAmdFft.Client&lt;br /&gt;                Client Test *****PASS*****&lt;/pre&gt;Read more about it all at the &lt;a href=http://developer.amd.com/zones/openclzone/pages/default.aspx target=_blank&gt;AMD OpenCL Zone&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/2277166782025112191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/12/gpgpu-with-amd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/2277166782025112191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/2277166782025112191'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/12/gpgpu-with-amd.html' title='GPGPU with AMD'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-F_c_YmkSF1o/Tuk58OvZO1I/AAAAAAAAB3A/VBoQ-IF3IWs/s72-c/9250.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-824465319877042692</id><published>2011-11-01T16:00:00.000-04:00</published><updated>2011-12-17T16:44:48.660-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HPC"/><title type='text'>How Much Work Can a Cluster Do?</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;147&quot; src=&quot;http://3.bp.blogspot.com/-zMKKjNdKhvs/TrBPsxd77FI/AAAAAAAAB18/ig9cqw0VH8w/s320/workers.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;&lt;br /&gt;If we take a 32 node computer cluster, with each compute node averaging over 2 amps under high load, add in some extra amps for storage and network components, all running on 208 volt, we could be pulling over 90 amps total. &lt;br /&gt;&lt;pre class=&quot;conf&quot;&gt;current x voltage = power&lt;br /&gt; amps  x  volts   = watts&lt;br /&gt;   90A  x  208V   = 18720W&lt;/pre&gt;Wikipedia say, &quot;A laborer over the course of an 8-hour day can sustain an average output of about 75 watts.&quot;  So a 32 node HPC cluster is roughly equivalent to 250 laborers that never sleep!  &lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Watt&quot; target=&quot;_blank&quot;&gt;Watt - Wikipedia&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/824465319877042692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/11/how-much-work-can-cluster-do.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/824465319877042692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/824465319877042692'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/11/how-much-work-can-cluster-do.html' title='How Much Work Can a Cluster Do?'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-zMKKjNdKhvs/TrBPsxd77FI/AAAAAAAAB18/ig9cqw0VH8w/s72-c/workers.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-1173993889848826843</id><published>2011-10-12T15:03:00.000-04:00</published><updated>2013-02-13T12:55:59.723-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="backup"/><category scheme="http://www.blogger.com/atom/ns#" term="howto"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><title type='text'>Easy Backup of MySQL Databases</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;229&quot; width=&quot;296&quot; src=&quot;http://4.bp.blogspot.com/-UBT1Ug56-gg/TpXkPEtcHWI/AAAAAAAAB1U/NThJBy_x52U/s320/mnemonic-dolphin.jpg&quot; /&gt;&lt;/div&gt; &lt;blockquote&gt;Real Men don&#39;t make backups.  They upload it via ftp and let the world mirror it.  &lt;br&gt;-- Linus Torvalds&lt;/blockquote&gt; &lt;br&gt;&lt;p&gt;Here is a simple method for doing daily backups of all MySQL databases on a server.  This method will save a separate file for each database, every morning at 4AM, into a file named with the host, database and date.  This method is extremely convenient for quick restores, to any day within the last two weeks. &lt;p&gt;Create a  mysql backup user and grant database permissions.  Then set the backup script to run every day at 4AM with cron. &lt;pre class=cli&gt;# adduser mysqlbackup&lt;br /&gt;# mysql -u root -p -e &quot;GRANT SELECT, LOCK TABLES ON *.* TO &#39;mysqlbackup&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;XXXXXXX&#39;; flush privileges;&quot;&lt;br /&gt;# touch /home/mysqlbackup/mysqlbackup.sh ; chmod +x /home/mysqlbackup/mysqlbackup.sh&lt;br /&gt;# echo &quot;0 4 * * * /home/mysqlbackup/mysqlbackup.sh&quot; |crontab -u mysqlbackup -&lt;/pre&gt;&lt;p&gt;Set the backup user mysql password, replacing XXXXXX with your own password, in the .my.cnf file. &lt;p&gt;&lt;i&gt;/home/mysqlbackup/.my.cnf&lt;/i&gt;&lt;pre class=conf&gt;[client]&lt;br /&gt;user=mysqlbackup&lt;br /&gt;password=XXXXXXX&lt;/pre&gt; &lt;i&gt;/home/mysqlbackup/mysqlbackup.sh&lt;/i&gt;&lt;pre class=conf&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;### get the hostname&lt;br /&gt;MYHOST=&quot;`hostname -s`&quot;&lt;br /&gt;&lt;br /&gt;### individually dump all databases with timestamps&lt;br /&gt;for I in `mysql -e &quot;show databases;&quot; |egrep -v &#39;^Database$|hold$&#39;`; do&lt;br /&gt;        ### dump and compress&lt;br /&gt;        mysqldump --single-transaction --quote-names --opt $I |gzip -cf &gt;/home/mysqlbackup/$MYHOST-$I-`date +%Y%m%d`.sql.gz&lt;br /&gt;        ### remove two-week old dumps&lt;br /&gt;        rm -f /home/mysqlbackup/$MYHOST-$I-`date +%Y%m%d --date=&quot;-14 days&quot;`.sql.gz&lt;br /&gt;done&lt;/pre&gt; I recommend running the script at least once by hand to check functionality. &lt;pre class=cli&gt;&lt;br /&gt;# su - mysqlbackup&lt;br /&gt;$ /home/mysqlbackup/mysqlbackup.sh&lt;br /&gt;$ exit&lt;/pre&gt; Now that you have daily database dumps, to do a restore you simply cat the dump file to the mysql client.  The current database will be dropped and rebuilt from the file selected.  Here is an example of restoring the database &lt;i&gt;importantstuff&lt;/i&gt; on host &lt;i&gt;foo&lt;/i&gt; from 4AM on 2011, April 30th. &lt;pre class=cli&gt;# zcat /home/mysqlbackup/foo-importantstuff-20110430.sql.gz |mysql -u root -p importantstuff&lt;/pre&gt;&lt;p&gt;It&#39;s easy.  Do your backups!</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/1173993889848826843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/10/easy-backup-of-mysql-databases.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/1173993889848826843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/1173993889848826843'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/10/easy-backup-of-mysql-databases.html' title='Easy Backup of MySQL Databases'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-UBT1Ug56-gg/TpXkPEtcHWI/AAAAAAAAB1U/NThJBy_x52U/s72-c/mnemonic-dolphin.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-5799203440789871239</id><published>2011-10-05T15:49:00.000-04:00</published><updated>2011-10-05T15:55:10.063-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="dell"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="red hat"/><category scheme="http://www.blogger.com/atom/ns#" term="RHEL"/><category scheme="http://www.blogger.com/atom/ns#" term="scientific linux"/><title type='text'>Auto Update Kernel Modules with DKMS</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; width=&quot;282&quot; src=&quot;http://1.bp.blogspot.com/-AXySlMAn3No/Toy11o0QY2I/AAAAAAAAB1M/3bHEm6XVbnU/s320/optiplex990.jpg&quot; /&gt;&lt;/div&gt;I had a brand new Dell OptiPlex 990 desktop computer that had just been installed with Scientific Linux 6.  Enterprise Linux runs great on these things, except I was getting a lot of network errors. &lt;pre class=cli&gt;# lspci | grep Ethernet&lt;br /&gt;00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)&lt;/pre&gt;&lt;pre class=conf&gt;Sep 11 03:59:47 foo kernel: e1000e: em1 NIC Link is Down&lt;br /&gt;Sep 11 03:59:47 foo NetworkManager[1760]: &lt;info&gt; (em1): carrier now OFF (device state 8, deferring action for 4 seconds)&lt;br /&gt;Sep 11 03:59:47 foo kernel: e1000e 0000:00:19.0: em1: Reset adapter&lt;/pre&gt;The solution was to update to the latest &lt;a href=http://sourceforge.net/projects/e1000/files/e1000e%20stable/ target=_blank&gt;Intel Wired Ethernet&lt;/a&gt; e1000e driver, currently version 1.6.2.  It is easy enough to download, un-tar, and make install the package, but it will be ignored after a new kernel is installed.   &lt;p&gt;Dynamic Kernel Module Support (&lt;a href=http://linux.dell.com/dkms/ target=_blank&gt;DKMS&lt;/a&gt;) is an easy solution to such a problem.  Since we are replacing a kernel module that is included in the stock kernel RPM package, we want to be sure that the updated driver will be built and installed automatically whenever a new kernel is booted. &lt;p&gt;DKMS is easy to install with the EPEL repository enabled.  Here we are enabling &lt;a href=http://fedoraproject.org/wiki/EPEL target=_blank&gt;EPEL&lt;/a&gt; on &lt;a href=http://www.scientificlinux.org/ target=_blank&gt;Scientific Linux 6&lt;/a&gt;, then yum installing the DKMS package: &lt;pre class=cli&gt;# rpm -ihv http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm&lt;br /&gt;# yum install dkms&lt;/pre&gt; We must download and prepare the latest module source code by moving the source code to a &lt;i&gt;/usr/src/MODULENAME-VERSION&lt;/i&gt; directory, then create a dkms.conf file within: &lt;pre class=cli&gt;# cd /usr/local/src&lt;br /&gt;# wget http://downloads.sourceforge.net/project/e1000/e1000e%20stable/1.6.2/e1000e-1.6.2.tar.gz&lt;br /&gt;# tar xzvf e1000e-1.6.2.tar.gz&lt;br /&gt;# mv e1000e-1.6.2/src /usr/src/e1000e-1.6.2&lt;br /&gt;# vim /usr/src/e1000e-1.6.2/dkms.conf&lt;/pre&gt; &lt;i&gt;dkms.conf&lt;/i&gt;: &lt;pre class=conf&gt;PACKAGE_NAME=&quot;e1000e&quot;&lt;br /&gt;PACKAGE_VERSION=&quot;1.6.2&quot;&lt;br /&gt;BUILT_MODULE_NAME[0]=&quot;e1000e&quot;&lt;br /&gt;DEST_MODULE_LOCATION[0]=&quot;/kernel/drivers/net/e1000e/&quot;&lt;br /&gt;AUTOINSTALL=&quot;yes&quot;&lt;/pre&gt; Now that we have the source code in place, we tell DKMS to maintain, build and install the module: &lt;pre class=cli&gt;# dkms add -m e1000e -v 1.6.2&lt;br /&gt;# dkms build -m e1000e -v 1.6.2&lt;br /&gt;# dkms install -m e1000e -v 1.6.2&lt;br /&gt;# chkconfig dkms_autoinstaller on&lt;/pre&gt; We must change the search order for modules to allow &quot;weak modules&quot; to load before the built-in modules by editing the &lt;i&gt;/etc/depmod.d/dist.conf&lt;/i&gt; file: &lt;pre class=conf&gt;search updates extra weak-updates built-in&lt;/pre&gt; This last step ensures that when rebooting into a new kernel, the custom module will be loaded instead of the RPM packaged module. </content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/5799203440789871239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/10/auto-update-kernel-modules-with-dkms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/5799203440789871239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/5799203440789871239'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/10/auto-update-kernel-modules-with-dkms.html' title='Auto Update Kernel Modules with DKMS'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-AXySlMAn3No/Toy11o0QY2I/AAAAAAAAB1M/3bHEm6XVbnU/s72-c/optiplex990.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-36651507848797877</id><published>2011-08-30T14:59:00.018-04:00</published><updated>2011-09-07T13:33:57.053-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="network"/><category scheme="http://www.blogger.com/atom/ns#" term="visualization"/><title type='text'>NX - A Fast Remote Linux Desktop</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; width=&quot;320&quot; src=&quot;http://4.bp.blogspot.com/-cwjcnRxPp3I/Tl0tGSv3rZI/AAAAAAAABzQ/hjQmbmWTxEc/s320/nomachine-400x300.jpg&quot; /&gt;&lt;/div&gt;&lt;p&gt;Many Linux users are familiar with X11 forwarding via SSH, or &lt;a href=http://idolinux.blogspot.com/2008/09/vnc-remote-desktop-on-red-hat-centos.html target=_blank&gt;VNC&lt;/a&gt; for remote desktop sharing.  SSH can tunnel X Windows from your remote host to the local X server display.  And VNC can remotely share the desktop seen on the monitor or start a completely new desktop in the background.  Similarly, &lt;a href=http://www.nomachine.com/ target=_blank&gt;NoMachine&lt;/a&gt; (NX) can do the same things, with the bonus of a faster compression algorithm for a more responsive GUI.&lt;br /&gt;&lt;p&gt;I had avoided NX because it seemed confusing and difficult to install.  Now, NX has a free client, node and server download, all of which is easy to install and use.  These steps work on the latest CentOS 5 and Fedora 15.&lt;br /&gt;&lt;p&gt;Download the latest NX Free Edition client, node and server RPMs from &lt;a href=http://www.nomachine.com/download.php target=_blank&gt;www.nomachine.com/download.php&lt;/a&gt; and install them on your server:&lt;br /&gt;&lt;pre class=cli&gt;# rpm -ihv nxclient-3.5.0-7.x86_64.rpm nxnode-3.5.0-6.x86_64.rpm nxserver-3.5.0-8.x86_64.rpm&lt;/pre&gt;On your client system, just install the client RPM:&lt;br /&gt;&lt;pre class=cli&gt;# rpm -ihv nxclient-3.5.0-7.x86_64.rpm&lt;/pre&gt;Now you may log into your server by providing your username and password.&lt;br /&gt;&lt;p&gt;NX provides a much more responsive remote desktop, especially over low speed and high latency connections.  There are also many options for choosing Gnome vs KDE, or even just a single program for your session.  Give it a try.&lt;br /&gt;&lt;p&gt;There is also an option for sharing your desktop with multiple other users, called shadowing in NX terminology.  The primary user logs in and starts a new Unix session.  Then another user logs in with a Shadow session, selecting the session of the primary user.  This is great for remote collaboration with trusted colleagues that have an account on the same server.&lt;br /&gt;&lt;p&gt;Make sure to check out &lt;a href=http://www.nomachine.com/documents/getting-started.php target=_blank&gt;Getting Started with NX&lt;/a&gt;.  Also, detailed instructions and troubleshooting for installing the repository version of NX can be found at &lt;a href=http://wiki.centos.org/HowTos/FreeNX target=_blank&gt;CentOS Wiki HowTos/FreeNX&lt;/a&gt;.  &lt;br /&gt;&lt;p&gt;&lt;b&gt;UPDATE:&lt;/b&gt;  I have found that the free NX server download from nomachine.com is more functional than the one provided in the repositories.  In particular, shadowing was broken in the repo version.  Shadowing is the desktop session sharing feature of NX.  So, I do not recommend using yum to install NX.  NX Free Edition seems to be limited to two users, though.</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/36651507848797877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/08/nx-fast-remote-linux-desktop.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/36651507848797877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/36651507848797877'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/08/nx-fast-remote-linux-desktop.html' title='NX - A Fast Remote Linux Desktop'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-cwjcnRxPp3I/Tl0tGSv3rZI/AAAAAAAABzQ/hjQmbmWTxEc/s72-c/nomachine-400x300.jpg" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-8183318668238951347</id><published>2011-08-17T15:46:00.001-04:00</published><updated>2011-08-18T09:55:56.206-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="open source"/><title type='text'>LinuxCon Live Stream</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;192&quot; width=&quot;185&quot; src=&quot;http://3.bp.blogspot.com/-034nfujJ5Kg/Tkwab7CJuaI/AAAAAAAAByI/D4CyTkCj8_0/s320/LinuxCon-20101.jpg&quot; /&gt;&lt;/div&gt;&lt;br /&gt;Didn&#39;t get a plane ticket to Vancouver for &lt;a href=http://events.linuxfoundation.org/events/linuxcon target=_blank&gt;LinuxCon North America 2011&lt;/a&gt;?  Well, there is a live video stream.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=http://events.linuxfoundation.org/events/linuxcon/live-video-streaming target=_blank&gt;North America 2011 | Live Video Streaming&lt;/a&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/8183318668238951347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/08/linuxcon-live-stream.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/8183318668238951347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/8183318668238951347'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/08/linuxcon-live-stream.html' title='LinuxCon Live Stream'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-034nfujJ5Kg/Tkwab7CJuaI/AAAAAAAAByI/D4CyTkCj8_0/s72-c/LinuxCon-20101.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-1972071421596702920</id><published>2011-07-11T09:39:00.005-04:00</published><updated>2011-08-08T21:22:03.265-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="installation"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="red hat"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="RHEL"/><title type='text'>CentOS 6 Available</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; width=&quot;200&quot; src=&quot;http://1.bp.blogspot.com/-Bm9xb160imE/Thr9W94JnUI/AAAAAAAAASk/6SndyqS8ifE/s320/centos.png&quot; /&gt;&lt;/div&gt;One of my favorite, license fee-free, Red Hat Enterprise Linux rebuilds is now available.  CentOS is completely RHEL-compatible, with a different logo.  Read all about it:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=http://www.karan.org/blog/index.php/2011/07/10/release-for-centos-6-0-i386-and-x86-64 target=_blank&gt;Karanbir Singh&#39;s blog post&lt;/a&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.0 target=_blank&gt;release notes on the wiki&lt;/a&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=http://lists.centos.org/pipermail/centos-announce/2011-July/017645.html target=_blank&gt;mailing list announcement&lt;/a&gt;&lt;/ul&gt;Of particular note is that the i386 DVD image is a bit too big to fit on a DVD+R, so use a DVD-R.  When the live CDs are released in a few days, be sure to give &lt;a href=https://fedorahosted.org/liveusb-creator/ target=_blank&gt;liveusb-creator&lt;/a&gt; a try to make a bootable USB thumb drive. &lt;p&gt;If you want a Linux distribution with great backwards compatibility, solid updates, a long support cycle (7+ years), that is tested on enterprise server hardware, then CentOS should be at the top of your list.  It turns out that &lt;a href=http://w3techs.com/blog/entry/highlights_of_web_technology_surveys_july_2010 target=_blank&gt;CentOS is the distribution of choice for 30% of web servers&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/1972071421596702920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/07/centos-6-available.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/1972071421596702920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/1972071421596702920'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/07/centos-6-available.html' title='CentOS 6 Available'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-Bm9xb160imE/Thr9W94JnUI/AAAAAAAAASk/6SndyqS8ifE/s72-c/centos.png" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-6737054697985820108</id><published>2011-05-25T11:05:00.005-04:00</published><updated>2011-06-16T09:29:14.010-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="netbook"/><title type='text'>Fedora 15 is Out</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;96&quot; width=&quot;96&quot; src=&quot;http://1.bp.blogspot.com/-wIitn-8AWVQ/TfoE68CpGVI/AAAAAAAAAQM/nBzk3OEtse0/s200/blue_fedora.png&quot; /&gt;&lt;/div&gt;The latest and greatest of Linux, Fedora 15, has been released.  &lt;a href=https://fedoraproject.org/get-fedora target=_blank&gt;Get your copy now!&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Check out the &lt;a href=https://fedoraproject.org/wiki/F15_one_page_release_notes target=_blank&gt;release notes&lt;/a&gt; for more info.&lt;br /&gt;&lt;p&gt;So I tried Fedora 15 beta with the new Gnome 3 desktop, on my netbook.  I didn&#39;t like the default Gnome desktop.  I reverted back to Fedora 14.  A netbook really needs a screen-space efficient window manager.  I want all toolbars to be consolidated and hide when not needed.  So what are other&#39;s doing?  Time to switch to the &lt;a href=http://spins.fedoraproject.org/lxde/ target=_blank&gt;LXDE&lt;/a&gt; or &lt;a href=http://spins.fedoraproject.org/xfce/ target=_blank&gt;XFCE&lt;/a&gt; spins?</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/6737054697985820108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/05/fedora-15-is-out.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/6737054697985820108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/6737054697985820108'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/05/fedora-15-is-out.html' title='Fedora 15 is Out'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-wIitn-8AWVQ/TfoE68CpGVI/AAAAAAAAAQM/nBzk3OEtse0/s72-c/blue_fedora.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-6945486095264319554</id><published>2011-04-21T11:38:00.003-04:00</published><updated>2011-06-16T09:54:18.068-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="open source"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="server room"/><title type='text'>Video Tour of the Facebook Server Room</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; width=&quot;200&quot; src=&quot;http://2.bp.blogspot.com/-d8fepjcfSHs/TfoG70iea-I/AAAAAAAAAQU/Iz6pK7vUeDA/s200/Facebook-logo-300x300.png&quot; /&gt;&lt;/div&gt;If you didn&#39;t already know, Facebook runs on a Linux software stack which utilizes Apache, MySQL, Memcached, PHP, as well as &lt;a href=https://developers.facebook.com/opensource/ target=_blank&gt;many other open source technologies&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Facebook also happens to be doing some interesting things in their data centers, with the &lt;a href=http://www.opendatacenteralliance.org target=_blank&gt;Open Data Center Alliance&lt;/a&gt; and &lt;a href=http://opencompute.org/datacenters/ target=_blank&gt;Open Compute Project&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;See behind the scenes in this video of Facebook data center hot isle containment.&lt;br /&gt;&lt;p align=&quot;center&quot;&gt;&lt;embed src=&quot;http://blip.tv/play/g7dBgrSxRgA&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;450&quot; height=&quot;360&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/embed&gt;&lt;/p&gt;via &lt;a href=http://www.datacenterknowledge.com/archives/2011/04/18/video-inside-facebooks-server-room/ target=_blank&gt;Data Center Knowledge&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/6945486095264319554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/04/video-tour-of-facebook-server-room.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/6945486095264319554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/6945486095264319554'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/04/video-tour-of-facebook-server-room.html' title='Video Tour of the Facebook Server Room'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-d8fepjcfSHs/TfoG70iea-I/AAAAAAAAAQU/Iz6pK7vUeDA/s72-c/Facebook-logo-300x300.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-6165389894668544631</id><published>2011-04-12T12:59:00.001-04:00</published><updated>2011-06-16T09:53:30.834-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>20 Year of Linux</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.linuxfoundation.org/ 20th&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; width=&quot;300&quot; alt=&quot;I&#39;ll be celebrating 20 years of Linux with The Linux Foundation!&quot; src=&quot;http://1.bp.blogspot.com/-n9eyUSYr-7E/TfoKicwDxEI/AAAAAAAAAQc/ZbtgHxEtDgo/s320/lf_linux20_webbadge.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/6165389894668544631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/04/20-year-of-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/6165389894668544631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/6165389894668544631'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/04/20-year-of-linux.html' title='20 Year of Linux'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-n9eyUSYr-7E/TfoKicwDxEI/AAAAAAAAAQc/ZbtgHxEtDgo/s72-c/lf_linux20_webbadge.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-5841859432569456974</id><published>2011-04-08T13:54:00.002-04:00</published><updated>2011-04-08T14:02:12.616-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="HPC"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="open source"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="RHEL"/><category scheme="http://www.blogger.com/atom/ns#" term="Sun Grid Engine"/><title type='text'>Grid Engine is Alive and Well</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;46&quot; width=&quot;200&quot; src=&quot;http://1.bp.blogspot.com/-JUigP_y409w/TZ9Nl1SUlRI/AAAAAAAAAOo/XeBm-ORIBpc/s200/SGE-logo.png&quot; /&gt;&lt;/div&gt;Now that the pieces are falling into place, after Oracle&#39;s acquisition of Sun Microsystems, we can see that open source can vendor-proof central pieces of your software infrastructure.  Grid Engine is alive and well, with a &lt;a href=http://gridengine.org/blog/about/ target=_blank&gt;blog&lt;/a&gt;, a &lt;a href=https://gridengine.org/mailman/listinfo/users target=_blank&gt;mailing list&lt;/a&gt;, a &lt;a href=https://github.com/gridengine target=_blank&gt;git repository&lt;/a&gt;, and even commercial support from &lt;a href=http://www.univa.com/ target=_blank&gt;Univa&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I&#39;d like to give a big THANK YOU to Dag over at Bioteam, for being so active and providing &lt;a href=http://bioteam.net/dag/gridengine-courtesy-binaries/ target=_blank&gt;courtesy binaries&lt;/a&gt; for CentOS Linux and Mac OS X.&lt;br /&gt;&lt;br /&gt;Source code repositories can also be found from the &lt;a href=http://gridscheduler.sourceforge.net/ target=_blank&gt;Open Grid Scheduler&lt;/a&gt; and &lt;a href=https://arc.liv.ac.uk/trac/SGE target=_blank&gt;Son of Grid Engine&lt;/a&gt; projects.</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/5841859432569456974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/04/grid-engine-is-alive-and-well.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/5841859432569456974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/5841859432569456974'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/04/grid-engine-is-alive-and-well.html' title='Grid Engine is Alive and Well'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-JUigP_y409w/TZ9Nl1SUlRI/AAAAAAAAAOo/XeBm-ORIBpc/s72-c/SGE-logo.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-8999683577222463028</id><published>2011-03-23T15:17:00.005-04:00</published><updated>2011-04-08T12:51:34.692-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="html"/><category scheme="http://www.blogger.com/atom/ns#" term="offtopic"/><title type='text'>Speech Input</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; width=&quot;180&quot; src=&quot;http://3.bp.blogspot.com/-R1k66Qd4BLw/TZ882UmsiwI/AAAAAAAAANw/p-CW1Rwyjg0/s200/voice.png&quot; /&gt;&lt;/div&gt;&lt;center&gt;&lt;br /&gt;&lt;form id=&quot;cse-search-box&quot; action=&quot;http://www.google.com/cse&quot; target=&quot;_blank&quot;&gt;&lt;input value=&quot;partner-pub-7053441482941811:mponb6-apml&quot; name=&quot;cx&quot; type=&quot;hidden&quot;/&gt;&lt;input name=&quot;q&quot; size=&quot;40&quot; type=&quot;text&quot;/ x-webkit-speech&gt;&lt;/form&gt;&lt;/center&gt;&lt;br /&gt;&lt;p&gt;Testing speech input with &lt;a href=http://chrome.blogspot.com/2011/03/talking-to-your-computer-with-html5.html target=_blank&gt;Chrome 11&lt;/a&gt;.  Neat.&lt;br /&gt;&lt;p&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/8999683577222463028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/03/speech-input.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/8999683577222463028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/8999683577222463028'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/03/speech-input.html' title='Speech Input'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-R1k66Qd4BLw/TZ882UmsiwI/AAAAAAAAANw/p-CW1Rwyjg0/s72-c/voice.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-6405049077833094815</id><published>2011-03-15T12:32:00.007-04:00</published><updated>2011-11-01T11:45:14.482-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="amazon"/><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="cloud"/><category scheme="http://www.blogger.com/atom/ns#" term="EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="HPC"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="red hat"/><category scheme="http://www.blogger.com/atom/ns#" term="server room"/><title type='text'>Amazon EC2 for HPC</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;73&quot; width=&quot;200&quot; src=&quot;http://3.bp.blogspot.com/-FeyMXuqRRYc/TZ9O46duV2I/AAAAAAAAAOw/FbNz5ZAbzMA/s200/Amazon-Cloud-Computing-Logo.png&quot; /&gt;&lt;/div&gt;I&#39;ve been sitting on this for a while now.  I did quite a lot of testing with &lt;a href=http://aws.amazon.com/ec2/ target=_blank&gt;Amazon EC2&lt;/a&gt;, Elastic Cloud Computing, to determine if replacing an on-site rack of high performance computing cluster hardware with cloud computing resources is feasible.  Utilizing the &lt;a href=http://docs.fabfile.org target=_blank&gt;Fabric&lt;/a&gt; and &lt;a href=http://boto.cloudhackers.com/ target=_blank&gt;Boto&lt;/a&gt; Python modules, I have build a command line utility for automating cluster deployments within the cloud.  The cluster utilizes a Red Hat Enterprise Linux-compatible operating system with Grid Engine for job queuing.  Initial testing targeted the large HPC instance types, but I have since been able to substitute in micro instances for faster and more economical testing of deployments.&lt;br /&gt;&lt;br /&gt;This slideshow covers the the basic terminology, and compares the cost of purchasing and maintaining a rack of equipment versus cloud fees.&lt;br /&gt;&lt;br /&gt;&lt;iframe src=&quot;https://docs.google.com/present/embed?id=df2psr94_0dgbwc9hc&quot; frameborder=&quot;0&quot; width=&quot;410&quot; height=&quot;342&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;Executive summary:  Yes, an on-site rack of equipment can be replaced with cloud computing resources, while continuing to utilize existing workflows.  The cost to a university for EC2 is competitive with in-house hardware, when factoring in data center and maintenance costs.  The cost to faculty is prohibitively expensive for cloud, since university overhead is paid up-front.  Data locality is a big concern.  An added benefit of cloud computing is hardware abstraction, meaning that staff time is focused instead on system configuration and software deployment.</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/6405049077833094815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/03/amazon-ec2-for-hpc.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/6405049077833094815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/6405049077833094815'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/03/amazon-ec2-for-hpc.html' title='Amazon EC2 for HPC'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-FeyMXuqRRYc/TZ9O46duV2I/AAAAAAAAAOw/FbNz5ZAbzMA/s72-c/Amazon-Cloud-Computing-Logo.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-3247065069313086872</id><published>2011-03-09T16:26:00.041-05:00</published><updated>2011-11-02T11:11:05.757-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asus"/><category scheme="http://www.blogger.com/atom/ns#" term="eee"/><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="netbook"/><title type='text'>Fedora 14 on an Eee PC 1015PEM</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; width=&quot;200&quot; src=&quot;http://1.bp.blogspot.com/-Uv6mqs74pYQ/TZ8-PxKImdI/AAAAAAAAAOA/ZdKBlPnlV6s/s200/P_500.jpg&quot; /&gt;&lt;/div&gt;Here are some notes from a recent install of &lt;a href=&quot;http://fedoraproject.org/&quot; target=&quot;_blank&quot;&gt;Fedora&lt;/a&gt; 14, 32-bit, on an Asus Eee PC 1015PEM Seashell netbook.  This system has a 64-bit 1.5 GHz Intel Atom N550 processor, but things like Skype may have problems with 64-bit.  I&#39;ll go 64-bit when Fedora 15 is released.&lt;br /&gt;&lt;p&gt;The 1GB memory chip was upgraded to a &lt;a href=&quot;http://www.crucial.com/store/mpartspecs.aspx?mtbpoid=5A4E2152A5CA7304&quot; target=&quot;_blank&quot;&gt;Crucial 2GB, 204-pin SODIMM, DDR3 PC3-10600&lt;/a&gt; memory module.  This was easily done by unscrewing the small panel on the bottom of the system and un-clipping the existing chip.  The hard disk drive was also upgraded to a &lt;a href=&quot;http://www.corsair.com/solid-state-drives/nova-series/cssd-v32gb2-brkt.html&quot; target=&quot;_blank&quot;&gt;Corsair Nova 32GB 2.5&quot; SSD&lt;/a&gt;, which was not-so-easily done.  Replacing the drive involving removing the keyboard, prying apart plastic and removing many screws.  I thought I was going to snap it to pieces!  A tool, like the one in these &lt;a href=&quot;http://fwd.name/eee/Eee%201015%20disassembly.html&quot; target=&quot;_blank&quot;&gt;disassembly photos&lt;/a&gt;, would have been handy.&lt;br /&gt;Installation media is created on a USB drive with &lt;a href=&quot;https://fedorahosted.org/liveusb-creator/&quot; target=&quot;_blank&quot;&gt;liveusb-creator&lt;/a&gt;.  To boot the installer, insert the liveusb drive and hit esc after powering on.  This brings up the boot menu where the usb drive can be selected.  The install should be mostly defaults, except that disk encryption and a grub password should be enabled.&lt;br /&gt;&lt;br /&gt;After an install and reboot, plug into a wired ethernet connection, install the &lt;a href=&quot;http://rpmfusion.org/&quot; target=&quot;_blank&quot;&gt;RPM Fusion&lt;/a&gt; software repository, do the first big system software update, then install and remove some packages.  Note that kmod-wl from RPM Fusion provides the driver for the Broadcom wireless card after a reboot.&lt;br /&gt;&lt;pre class=&quot;cli&quot;&gt;# yum -y install yum-fastestmirror&lt;br /&gt;# yum -y update&lt;br /&gt;# yum localinstall --nogpgcheck \&lt;br /&gt;http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm \&lt;br /&gt;http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm&lt;br /&gt;# yum -y install kmod-wl akmod-wl krb5-workstation tkinter \&lt;br /&gt;python-setuptools ipython mysql-workbench gconf-editor git \&lt;br /&gt;subversion ethtool liveusb-creator telnet freeglut-devel \&lt;br /&gt;gcc gcc-c++ SDL-devel rdesktop thunderbird thunderbird-enigmail \&lt;br /&gt;vim fortune-mod lsb redhat-lsb-graphics qt-x11 powertop dosbox \&lt;br /&gt;tigervnc tigervnc-server audacity-freeworld rdiff-backup \&lt;br /&gt;xscreensaver-extras-gss tempest-gnome-screensaver \&lt;br /&gt;samba-client rtorrent unrar \&lt;br /&gt;openoffice.org-writer openoffice.org-calc openoffice.org-impress \&lt;br /&gt;screen nmap net-snmp-utils wireshark-gnome iptraf strace sysstat \&lt;br /&gt;rfkill mono gimp rpmdevtools yum-utils ncurses-devel \&lt;br /&gt;libpng-devel mednafen jwhois java-1.6.0-openjdk-plugin wget \&lt;br /&gt;ddrescue wodim vlc mplayer mencoder grip lame easytag id3v2 \&lt;br /&gt;lm_sensors xterm xorg-x11-xinit-session xorg-x11-apps&lt;br /&gt;# yum remove alsa-plugins-pulseaudio&lt;/pre&gt;&lt;br /&gt;The biggest tip with a 10&quot; netbook is to consolidate and auto-hide menus/toolbars for maximum screen real estate.  And use a full-sized LCD monitor when sitting at a desk.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-WUHlEQk5SG0/TXf20u4XQ1I/AAAAAAAAANM/VVwB-vkqkfQ/s1600/Screenshot.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;117&quot; width=&quot;200&quot; src=&quot;http://3.bp.blogspot.com/-WUHlEQk5SG0/TXf20u4XQ1I/AAAAAAAAANM/VVwB-vkqkfQ/s200/Screenshot.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Now, one could stop here and be finished, but I&#39;m interested in tweaking for power saving features, like the Super Hybrid Engine (SuperHE) features of this model.  Currently, the &lt;i&gt;acpi_osi and acpi_backlight&lt;/i&gt; kernel options must be added to get the &lt;i&gt;/sys/devices/platform/eeepc/cpufv&lt;/i&gt; device functional.  Add the kernel options in &lt;i&gt;/boot/grub/grub.conf&lt;/i&gt;:&lt;br /&gt;&lt;pre class=&quot;cli&quot;&gt;kernel /vmlinuz-2.6.35.11-83.fc14.i686 ro root=/dev/mapper/vg_foo-lv_root rd_LUKS_UUID=luks-xxx-xxx-xxx rd_LVM_LV=vg_foo/lv_root rd_LVM_LV=vg_foo/lv_swap rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet elevator=noop &lt;b&gt;acpi_osi=Linux acpi_backlight=vendor&lt;/b&gt;&lt;/pre&gt;&lt;br /&gt;Enable noatime on ext4 file systems, and tmpfs for temp directories in &lt;i&gt;/etc/fstab&lt;/i&gt;:&lt;br /&gt;&lt;pre class=&quot;conf&quot;&gt;/dev/mapper/vg_foo-lv_root / ext4 defaults,noatime 1 1&lt;br /&gt;tmpfs /tmp tmpfs defaults,size=256M 0 0&lt;br /&gt;tmpfs /var/tmp tmpfs defaults,size=64M 0 0&lt;br /&gt;tmpfs /var/log tmpfs defaults,size=32M 0 0&lt;/pre&gt;&lt;br /&gt;Add some power tweak commands, mostly from &lt;a href=http://www.lesswatts.org/projects/powertop/ target=_blank&gt;powertop&lt;/a&gt;, to &lt;i&gt;/etc/rc.d/rc.local&lt;/i&gt;&lt;br /&gt;&lt;pre class=&quot;conf&quot;&gt;### some power and ssd saving tweaks&lt;br /&gt;echo noop &gt; /sys/block/sda/queue/scheduler &lt;br /&gt;echo 0 &gt; /proc/sys/vm/swappiness&lt;br /&gt;echo 50 &gt; /proc/sys/vm/vfs_cache_pressure&lt;br /&gt;echo 1500 &gt; /proc/sys/vm/dirty_writeback_centisecs&lt;br /&gt;echo 20 &gt; /proc/sys/vm/dirty_ratio&lt;br /&gt;echo 10 &gt; /proc/sys/vm/dirty_background_ratio&lt;br /&gt;echo 1 &gt; /sys/devices/system/cpu/sched_smt_power_savings&lt;br /&gt;echo 10 &gt; /sys/module/snd_hda_intel/parameters/power_save&lt;br /&gt;echo 5 &gt; /proc/sys/vm/laptop_mode&lt;br /&gt;echo ondemand &gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor&lt;br /&gt;echo ondemand &gt; /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor&lt;br /&gt;echo ondemand &gt; /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor&lt;br /&gt;echo ondemand &gt; /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor&lt;br /&gt;cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate_max &gt; /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate&lt;br /&gt;echo min_power &gt; /sys/class/scsi_host/host0/link_power_management_policy&lt;br /&gt;ethtool -s eth0 wol d&lt;br /&gt;for I in `find /sys -name autosuspend -exec echo {} \;` ; do echo &quot;0&quot; &gt; &quot;$I&quot; ; done&lt;br /&gt;/sbin/rfkill block bluetooth&lt;br /&gt;echo 0 &gt; /proc/sys/kernel/nmi_watchdog&lt;/pre&gt;&lt;br /&gt;Install the &lt;a href=&quot;http://www.jupiterapplet.org/&quot; target=&quot;_blank&quot;&gt;Jupiter&lt;/a&gt; package with Eee PC support to automatically tweak many of the above settings, including SuperHE.&lt;br /&gt;&lt;br /&gt;Disable some unused services:&lt;br /&gt;&lt;pre class=&quot;cli&quot;&gt;# for s in abrtd atd auditd avahi-daemon ip6tables iscsi iscsid mdmonitor portreserve livesys livesys-late; do echo &quot;chkconfig $s off&quot;; chkconfig $s off; done&lt;/pre&gt;&lt;br /&gt;If restoring a home directory from backup, with SELinux enabled, make sure to restore the security context of the home directories:&lt;br /&gt;&lt;pre class=&quot;cli&quot;&gt;# restorecon -vr /home&lt;/pre&gt;&lt;br /&gt;&lt;a href=&quot;http://www.google.com/landing/chrome/beta/&quot; target=&quot;_blank&quot;&gt;Google Chrome Beta&lt;/a&gt; is an excellent browser for a netbook.  It is a very efficient in terms of performance speed and screen usage.  To enable the built-in flash plugin, go to the URL &lt;i&gt;about:plugins&lt;/i&gt;, expand details, and enable Flash.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.skype.com/intl/en-us/get-skype/on-your-computer/linux/&quot; target=&quot;_blank&quot;&gt;Skype&lt;/a&gt; is a must for video chat and international voice calling.  To get automatic updates, create a repo file for yum in &lt;i&gt;/etc/yum.repos.d/skype.repo&lt;/i&gt;:&lt;br /&gt;&lt;pre class=&quot;conf&quot;&gt;[skype]&lt;br /&gt;name=Skype Repository&lt;br /&gt;baseurl=http://download.skype.com/linux/repos/fedora/updates/i586/&lt;br /&gt;gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-skype&lt;/pre&gt;&lt;br /&gt;And to get get the latest &lt;a href=&quot;http://get.adobe.com/reader/&quot; target=&quot;_blank&quot;&gt;Adobe Reader&lt;/a&gt;, install the adobe repo rpm:&lt;br /&gt;&lt;pre class=&quot;cli&quot;&gt;# yum localinstall --nogpgcheck http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm&lt;br /&gt;# yum -y install AdobeReader_enu&lt;/pre&gt;&lt;br /&gt;Someone on a mailing list pointed out that the &quot;Windows&quot; key can be made more useful by mapping it as a main menu key:&lt;br /&gt;&lt;pre class=&quot;cli&quot;&gt;# xmodmap -e &#39;remove mod4 = Super_L&#39; &lt;br /&gt;# gconftool-2 --set /apps/metacity/global_keybindings/panel_main_menu --type=string &#39;Super_L&#39;&lt;/pre&gt;&lt;br /&gt;The trackpad is nice, supporting one, two and three-finger tapping.  Enable this in the Gnome mouse preferences, for easy copy-and-paste the way it was meant to be.  On Linux, mouse button one is highlight/select, copy being automatic, and button three is paste.  With a trackpad this is double-tap and drag one finger to select text, then a three-finger single-tap to paste.&lt;br /&gt;&lt;br /&gt;To update the bios, here are my notes:&lt;br /&gt;&lt;pre class=&quot;conf&quot;&gt;update bios 1015PE.ROM on fat16 drive&lt;br /&gt;http://support.asus.com/download/&lt;br /&gt;unzip 1015PE-ASUS-0904.zip&lt;br /&gt;insert a free usb memory stick, assuming it is sdb...&lt;br /&gt;umount /dev/sdb1&lt;br /&gt;parted -s -- /dev/sdb mklabel msdos&lt;br /&gt;parted -s -- /dev/sdb mkpartfs primary fat16 0 32&lt;br /&gt;mount -t vfat -o fat=16 /dev/sdb1 /mnt&lt;br /&gt;cp 1015PE-ASUS-0904.ROM /mnt/1015PE.ROM&lt;br /&gt;umount /dev/sdb1&lt;br /&gt;reboot with the usb drive &amp;amp; power plugged in&lt;br /&gt;hit alt+f2 first thing at post&lt;br /&gt;if all is well, it will get past reading 1015PE.ROM&lt;br /&gt;allow the update to complete! ~10 minutes&lt;/pre&gt;&lt;br /&gt;You can change video modes from the command line.  Stick these into ~/.bashrc:&lt;br /&gt;&lt;pre class=conf&gt;alias vga=&#39;xrandr --fb 1280x1624 --output LVDS1 --primary --mode 1024x600 --rate 60 --pos 0x0 --panning 0x0 --output VGA1 --mode 1280x1024 --rate 60 --pos 0x1024 --above LVDS1&#39;&lt;br /&gt;alias mir=&#39;xrandr --fb 1280x1024 --output LVDS1 --primary --mode 1024x600 --rate 60 --pos 0x0 --panning 1280x1024 --output VGA1 --mode 1280x1024 --rate 60 --pos 0x0 --same-as LVDS1&#39;&lt;br /&gt;alias lcd=&#39;xrandr --fb 1024x600  --output LVDS1 --primary --mode 1024x600 --rate 60 --output VGA1 --off&#39;&lt;/pre&gt;&lt;br /&gt;Other things done:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://idolinux.blogspot.com/2010/06/usb-tether-android-with-linux.html&quot; target=&quot;_blank&quot;&gt;enable azilink usb tethering to android phone&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://idolinux.blogspot.com/2009/02/linux-and-umlaut-typing.html&quot; target=&quot;_blank&quot;&gt;enable international character compose key&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=http://idolinux.blogspot.com/2010/05/prevent-laptop-from-hibernating-on.html target=_blank&gt;laptop sleep/suspend, not hibernate, when left on battery&lt;/a&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=http://fedoraproject.org/wiki/EeePc target=_blank&gt;Eee PC - Fedora Project&lt;/a&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=http://www.fedora-netbook.com/index.php target=_blank&gt;custom&lt;/a&gt; &lt;a href=http://koji.fedoraproject.org/koji/packageinfo?packageID=8 target=_blank&gt; kernel&lt;/a&gt; &lt;a href=http://fedoraproject.org/wiki/Docs/CustomKernel target=_blank&gt;build&lt;/a&gt;&lt;br /&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/3247065069313086872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/03/fedora14-on-eee-pc-1015pem.html#comment-form' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/3247065069313086872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/3247065069313086872'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/03/fedora14-on-eee-pc-1015pem.html' title='Fedora 14 on an Eee PC 1015PEM'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-Uv6mqs74pYQ/TZ8-PxKImdI/AAAAAAAAAOA/ZdKBlPnlV6s/s72-c/P_500.jpg" height="72" width="72"/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-4514568787117882964</id><published>2011-02-21T17:01:00.002-05:00</published><updated>2011-04-08T12:59:22.569-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="fail"/><category scheme="http://www.blogger.com/atom/ns#" term="ldap"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="xserve"/><title type='text'>Recover LDAP Auth on Mac OS X</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;125&quot; width=&quot;120&quot; src=&quot;http://2.bp.blogspot.com/-W6sjHsJjubs/TZ8-zc6_9dI/AAAAAAAAAOI/jK91q4wjRWI/s200/unhappy-mac-logo.jpg&quot; /&gt;&lt;/div&gt;I have an entire rack of Apple Xserve nodes, running Mac OS X 10.5.  The Xserve is fond of refusing to reboot, crashing, and corrupting the Open Directory LDAP database when under high load.  Here is a quick fix:&lt;br /&gt;&lt;pre class=cli&gt;$ su -&lt;br /&gt;# tar cvzf ldap-YYYYMMDD.tar.gz /var/db/openldap&lt;br /&gt;# rm /var/db/openldap/openldap-data/log.0*&lt;br /&gt;# launchctl unload /System/Library/LaunchDaemons/org.openldap.slapd.plist&lt;br /&gt;# /usr/bin/db_recover -h /var/db/openldap/openldap-data&lt;br /&gt;# launchctl load /System/Library/LaunchDaemons/org.openldap.slapd.plist&lt;br /&gt;# slapcat | less&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/4514568787117882964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/02/recover-ldap-auth-on-mac-os-x.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/4514568787117882964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/4514568787117882964'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/02/recover-ldap-auth-on-mac-os-x.html' title='Recover LDAP Auth on Mac OS X'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-W6sjHsJjubs/TZ8-zc6_9dI/AAAAAAAAAOI/jK91q4wjRWI/s72-c/unhappy-mac-logo.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8077538291701918666.post-6538809198535734439</id><published>2011-02-21T14:39:00.002-05:00</published><updated>2011-11-01T11:45:53.212-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="red hat"/><category scheme="http://www.blogger.com/atom/ns#" term="RHEL"/><title type='text'>ATLAS NumPy SciPy Build on RHEL 6</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;187&quot; width=&quot;200&quot; src=&quot;http://3.bp.blogspot.com/-lmhgwE846Iw/TZ8_4oCTK_I/AAAAAAAAAOQ/k3eAWxukQHA/s200/scipy.png&quot; /&gt;&lt;/div&gt;This is a build log for the latest ATLAS (ATLAS/BLAS/LAPACK), NumPy, and SciPy on Red Hat Enterprise Linux 6.  Please note that this was attempted many times, following the documentation, but there were still errors when importing certain functions.  The big tip is to edit &lt;b&gt;site.cfg&lt;/b&gt; before building and installing numpy.&lt;br /&gt;Here is an example of some of the errors we would see with a mis-configured build:&lt;br /&gt;&lt;pre class=conf&gt;from scipy.optimize import fsolve&lt;br /&gt;import scipy.integrate as integrate&lt;br /&gt;from scipy.integrate import odeint&lt;br /&gt;ImportError: /usr/local/scipy/lib64/python2.6/site-packages/scipy/optimize/_lbfgsb.so: undefined symbol: ATL_dcopy&lt;br /&gt;ImportError: /usr/local/scipy/lib64/python2.6/site-packages/scipy/integrate/_odepack.so: undefined symbol: ATL_idamax&lt;br /&gt;ImportError: /usr/local/scipy/lib64/python2.6/site-packages/scipy/integrate/_odepack.so: undefined symbol: daxpy_&lt;/pre&gt;&lt;br /&gt;Here is a log of commands for a successful build.  We install each package into its own version-numbered directory, soft-linking to the current version and then setting the user environment variables.&lt;br /&gt;&lt;pre class=cli&gt;# cd /usr/local/src&lt;br /&gt;# wget http://www.netlib.org/lapack/lapack-3.3.0.tgz&lt;br /&gt;# tar xzvf lapack-3.3.0.tgz&lt;br /&gt;# cd lapack-3.3.0&lt;br /&gt;# cp INSTALL/make.inc.gfortran make.inc&lt;br /&gt;# vim make.inc&lt;br /&gt;add -fPIC to OPTS and NOOPT&lt;br /&gt;# make 2&gt;&amp;1 | tee log.make&lt;br /&gt;# make blaslib lapacklib tmglib lapack_testing 2&gt;&amp;1 | tee log.makeall&lt;br /&gt;&lt;br /&gt;# cd /usr/local/src&lt;br /&gt;# wget http://downloads.sourceforge.net/project/math-atlas/Developer%20%28unstable%29/3.9.35/atlas3.9.35.tar.bz2&lt;br /&gt;# tar xjvf atlas3.9.35.tar.bz2&lt;br /&gt;# mv ATLAS atlas-3.9.35&lt;br /&gt;# cd atlas-3.9.35&lt;br /&gt;# mkdir ATLAS_LINUX ; cd ATLAS_LINUX&lt;br /&gt;# cpufreq-selector -g performance&lt;br /&gt;# ../configure -Fa alg -fPIC -Si cputhrchk 0 --prefix=/usr/local/atlas-3.9.35 --with-netlib-lapack-tarfile=/usr/local/src/lapack-3.3.0.tgz 2&gt;&amp;1 | tee log.config&lt;br /&gt;# make 2&gt;&amp;1 | tee log.make&lt;br /&gt;THIS WILL TAKE HOURS TO MAKE!&lt;br /&gt;# make install 2&gt;&amp;1 | tee log.install&lt;br /&gt;# cd /usr/local ; ln -s atlas-3.9.35 atlas&lt;br /&gt;# export LD_LIBRARY_PATH=/usr/local/atlas/lib:$LD_LIBRARY_PATH&lt;br /&gt;&lt;br /&gt;# cd /usr/local/src&lt;br /&gt;# wget http://cdnetworks-us-2.dl.sourceforge.net/project/numpy/NumPy/1.5.1/numpy-1.5.1.tar.gz&lt;br /&gt;# tar xzvf numpy-1.5.1.tar.gz&lt;br /&gt;# cd numpy-1.5.1&lt;br /&gt;# cp site.cfg.example site.cfg&lt;br /&gt;# vim site.cfg&lt;br /&gt;[DEFAULT]&lt;br /&gt;library_dirs = /usr/local/atlas/lib&lt;br /&gt;include_dirs = /usr/local/atlas/include&lt;br /&gt;[atlas]&lt;br /&gt;atlas_libs = lapack, f77blas, cblas, atlas&lt;br /&gt;# python setup.py build 2&gt;&amp;1 | tee log.build&lt;br /&gt;# python setup.py install --prefix=/usr/local/numpy-1.5.1 2&gt;&amp;1 | tee log.install&lt;br /&gt;# cd /usr/local ; ln -s numpy-1.5.1 numpy&lt;br /&gt;# export PYTHONPATH=$PYTHONPATH:/usr/local/numpy/lib64/python2.6/site-packages&lt;br /&gt;# export PATH=/usr/local/numpy/bin:$PATH&lt;br /&gt;# python /usr/local/numpy/lib64/python2.6/site-packages/numpy/distutils/system_info.py&lt;br /&gt;&lt;br /&gt;# cd /usr/local/src&lt;br /&gt;# wget http://cdnetworks-us-2.dl.sourceforge.net/project/scipy/scipy/0.9.0rc3/scipy-0.9.0rc3.tar.gz&lt;br /&gt;# tar xzvf scipy-0.9.0rc3.tar.gz&lt;br /&gt;# cd scipy-0.9.0rc3&lt;br /&gt;# python setup.py build 2&gt;&amp;1 | tee log.build&lt;br /&gt;# python setup.py install --prefix=/usr/local/scipy-0.9.0rc3 2&gt;&amp;1 | tee log.install&lt;br /&gt;# cd /usr/local ; ln -s scipy-0.9.0rc3 scipy&lt;/pre&gt;&lt;br /&gt;Some references:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=https://wiki.rocksclusters.org/wiki/index.php/Numpy_and_Scipy target=_blank&gt;Numpy and Scipy - Rocks Clusters&lt;/a&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=http://www.scipy.org/Installing_SciPy/Linux target=_blank&gt;Installing SciPy / Linux&lt;/a&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=http://mail.scipy.org/pipermail/scipy-user/ target=_blank&gt;The SciPy-User Archives&lt;/a&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://idolinux.blogspot.com/feeds/6538809198535734439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idolinux.blogspot.com/2011/02/atlas-numpy-scipy-build-on-rhel-6.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/6538809198535734439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8077538291701918666/posts/default/6538809198535734439'/><link rel='alternate' type='text/html' href='http://idolinux.blogspot.com/2011/02/atlas-numpy-scipy-build-on-rhel-6.html' title='ATLAS NumPy SciPy Build on RHEL 6'/><author><name>Gavin Burris</name><uri>http://www.blogger.com/profile/03621751403310024701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-NC7scXs4898/UQKz-1ehwjI/AAAAAAAACYE/_mVCBjBf8ac/s220/profile-blur01.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-lmhgwE846Iw/TZ8_4oCTK_I/AAAAAAAAAOQ/k3eAWxukQHA/s72-c/scipy.png" height="72" width="72"/><thr:total>7</thr:total></entry></feed>