<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>techslaves.org &#187; Sysadmin</title>
	<atom:link href="http://techslaves.org/category/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://techslaves.org</link>
	<description>Owned (and fascinated) by technology!</description>
	<lastBuildDate>Thu, 23 Feb 2012 04:55:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>It has been a while&#8230;</title>
		<link>http://techslaves.org/2012/02/10/it-has-been-a-while/</link>
		<comments>http://techslaves.org/2012/02/10/it-has-been-a-while/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 00:40:21 +0000</pubDate>
		<dc:creator>rthomson</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[cfengine]]></category>
		<category><![CDATA[job]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://techslaves.org/?p=190</guid>
		<description><![CDATA[It has been a while since I last expressed myself and shared thoughts with the world via techslaves.org. Time to change that. So what is new? For the first time in 5.5 years, I am single and living totally, utterly alone. This is a big change that I am learning to deal with day by [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>It has been a while since I last expressed myself and shared thoughts with the world via techslaves.org. Time to change that.</p>
<p>So what is new?</p>
<p>For the first time in 5.5 years, I am single and living totally, utterly alone. This is a big change that I am learning to deal with day by day.  Thankfully, I find myself busy enough that there isn&#8217;t a lot of downtime for me to dwell on negativity. I have challenged myself to use this as an opportunity to self-evaluate and change the things that I find which I do not like. I call it &#8220;Continuous Improvement&#8221;.</p>
<p>I recently achieved my goal of commuting by bicycle for 100 consecutive work days. I then promptly took several days off due to a series of crashes caused by the &#8220;winter&#8221; conditions here that quickly fade away. I&#8217;m now back in the saddle riding everyday and it feels great. 22km of cycling a day does the body good.</p>
<p>Professionally, my interest in cfengine and IT operations has been steadily increasing.</p>
<p>My adventures with cfengine have led to much pondering over the &#8220;meta topics&#8221; of configuration management such as the release management aspect (version controlled workflow for updating, authorizing and installing policy) and policy writing best practices such as file copy vs. file edit and policy layout/design. It is these meta topics that I find most immediately challenging when considering cfengine deployment. Learning from others, I have developed a release management workflow of sorts. Perhaps it will eventually be of quality enough to share.</p>
<p>With regards to IT operations, I&#8217;ve been invigorated by the LISA &#8217;11 talks available on YouTube. These talks exposed me to several (new-ish and old) books and authors that I am now exploring and enjoying. Some favorites so far are <em>&#8220;The Visible Ops Handbook&#8221;</em> and <em>&#8220;Future Shock&#8221;. </em>I am just getting started with <em>&#8220;Lean IT&#8221;</em>.</p>
<p>Speaking of LISA, I am now registered for the <a href="http://casitconf.org">Cascadia IT Conference</a> held March 23 and 24th this year in Seattle, WA. I am super excited to meet my fellow LOPSA members (and semi-local sysadmins) that I normally only interact with via the #lopsa and #lopsa-lounge IRC channels! Hopefully the employer professional development funds can cover the registration fees&#8230; but the conference is so close to fiscal year-end and the fund might be exhausted before HR reviews my application for reimbursement. Fingers crossed.</p>
<p>Aside from new interests in system administration but remaining in the professional sphere, there is also an excellent potential opportunity for a new position with my current employer available to me. I don&#8217;t regard anything as set in stone so tonight I will gear up and put in my application ASAP. Some very excellent key people are waiting for it to hit their desks and I will not disappoint!</p>
<p>I will make no promises with regards to new content&#8230; but let it be known, techslaves.org lives!</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://techslaves.org/2012/02/10/it-has-been-a-while/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(De)Centralized</title>
		<link>http://techslaves.org/2011/10/07/de-centralizing/</link>
		<comments>http://techslaves.org/2011/10/07/de-centralizing/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 23:11:59 +0000</pubDate>
		<dc:creator>rthomson</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[datacenter]]></category>
		<category><![CDATA[neural emesis]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://techslaves.org/?p=166</guid>
		<description><![CDATA[&#8220;The primary motivation for the decentralized model is to give the individual departments better or more customized service through having a stronger relationship with the SAs and more control over the work that they do. The primary motivation for centralizing system administration is to control costs through tracking costs centrally and then reducing them by [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>&#8220;<em>The primary motivation for the decentralized model is to give the individual departments better or more customized service through having a stronger relationship with the SAs and more control over the work that they do. The primary motivation for centralizing system administration is to control costs through tracking costs centrally and then reducing them by eliminating redundancy and taking advantage of economies of scale</em>&#8221;</p>
<p>&#8211; <span style="text-decoration: underline;">The Practice of System and Network Administration</span>, Thomas A. Limoncelli and Christine Hogan.</p>
<p>Bingo. But can there be a third hybrid model?</p>
<p>I currently represent the decentralized model and I must agree with these two fine authors that the benefit of my close working relationship with the individual department/group is that the service provided is highly customized and focused. The central IT department(s) are understandably focused on large-scale issues (&#8220;Infrastructure&#8221;, &#8220;Communications&#8221;, &#8220;Collaboration&#8221;, &#8220;Applications&#8221;) and as such do not always represent the most ideal channel for delivery of IT services to the various research groups and departments on campus, often with more nuanced, specialized and micro-level issues.</p>
<p>One of my developing long-term goals is to (warning: business jargon) &#8220;bridge the gap&#8221; between the focused local support that I currently represent and the value proposition(s) of centralized IT services. I&#8217;m not yet entirely certain of how to accomplish this but I am certain that there is a way to improve the delivery of IT services to researchers across all our campuses and I want to be involved.</p>
<p>Does such an approach warrant the definition of a third hybrid model or is this so-called bridging of the gap already encapsulated in the model of centralized vs. decentralized?</p>
<p>Some of the challenges I face specifically as a &#8220;standalone&#8221; decentralized sysadmin on campus are:</p>
<ul>
<li>Dealing with <em>all</em> IT needs from desktop support to infrastructure development to data security</li>
<li>Developing and maintaining vendor contacts and relationships</li>
<li>No immediate peers in our environment to bounce specific ideas around with</li>
<li>Weak purchasing power and negotiation leverage</li>
<li>Duplication of effort</li>
<li>Career progression is potentially limited</li>
<li>All too easy to develop a &#8220;King of the Castle&#8221; attitude</li>
<li>Complacency</li>
</ul>
<p>Some of the concerns I hear about when introducing researchers to the idea of centralized IT support:</p>
<ul>
<li>General lack of trust/faith in the centralized IT department</li>
<li>Perceived lack of personal attention and focus (turn around times, site knowledge, etc.)</li>
<li>Perceived lack of &#8220;control&#8221; over their environment (and data!) under the centralized model</li>
<li>Charge-back models for IT services are viewed as grant-unfriendly</li>
<li>Physical hardware ownership appears to remain important for many researchers</li>
</ul>
<p>Of course, this is but a snapshot of the challenges I face and the concerns I&#8217;ve been hearing but they do serve as decent examples. It must also be noted that I am seeing great progress is many of these areas already because there are very bright people here already working on these challenges. My interest in this field is absolutely not unique.</p>
<p>For the immediate future, I&#8217;m focusing on improving my collaborations and communication with centralized IT services by helping them out where I can and leaning on them more often for our localized problems. My hope is that by constantly forging a closer working relationship will increasingly expose me (and in turn, our group) to the benefits of the centralized IT model while providing the central IT group with greater insight into our environment and how we work.</p>
<p>The next steps are still a mystery to me but I&#8217;m keeping my eyes open for new opportunities to bring better IT to research.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://techslaves.org/2011/10/07/de-centralizing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeIPA and Samba 3 Integration</title>
		<link>http://techslaves.org/2011/08/24/freeipa-and-samba-3-integration/</link>
		<comments>http://techslaves.org/2011/08/24/freeipa-and-samba-3-integration/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 05:06:28 +0000</pubDate>
		<dc:creator>rthomson</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[freeipa]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://techslaves.org/?p=169</guid>
		<description><![CDATA[FreeIPA makes a pretty excellent backend for Samba 3. While all the information one needs to set this up is available online, I wasn&#8217;t able to find it all  in one location so I&#8217;ve decided to try my best at filling that gap here on techslaves.org. Hopefully this short guide will aid those trying to piece [...]
Related posts:<ol>
<li><a href='http://techslaves.org/2010/10/05/ldap-user-management-tools-and-user-private-groups/' rel='bookmark' title='LDAP User Management Tools and User Private Groups'>LDAP User Management Tools and User Private Groups</a></li>
<li><a href='http://techslaves.org/2010/08/04/life-support/' rel='bookmark' title='Life Support!'>Life Support!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>FreeIPA makes a pretty excellent backend for Samba 3. While all the information one needs to set this up is available online, I wasn&#8217;t able to find it all  in one location so I&#8217;ve decided to try my best at filling that gap here on techslaves.org. Hopefully this short guide will aid those trying to piece together the various parts necessary to integrate FreeIPA v2 and Samba 3, at least until FreeIPA v3 where there is talk of enabling Samba integration with a simple command line argument to the &#8220;ipa-server-install&#8221; script.</p>
<h1>Not for Domains</h1>
<p>It&#8217;s important to keep in mind that these instructions are not for a integrating FreeIPA with a Samba domain controller but merely a Samba file server. My understanding is that FreeIPA will never conveniently/properly support the necessary bits to make it a suitable backend for a Samba 3 PDC. I believe FreeIPA will eventually look towards Samba 4 integration (using Domain trusts) for this kind of integration but don&#8217;t quote me on that. Either way, these instructions are not for Samba domain controllers, just Samba file servers.</p>
<h1>The Assumptions</h1>
<p>There are some basic assumptions that these instructions make.</p>
<ul>
<li>FreeIPA is installed and functional</li>
<li>You have a general idea of how to use LDAP command line tools</li>
<li>If you have a nice GUI LDAP browser, you can use it to apply the example LDIFs and edit the tree instead of the ldap CLI tools</li>
<li>The LDAP commands are executed on the FreeIPA server</li>
<li>Samba and FreeIPA are installed on the same server (although it shouldn&#8217;t be difficult to use TLS encryption with separate servers)</li>
<li>Your LDAP suffix is <em>&#8220;dc=domain,dc=tld&#8221;</em></li>
<li>You know the difference between the &#8220;admin&#8221; account and the directory manager and their passwords</li>
</ul>
<h1>The Goods</h1>
<p>Let&#8217;s not beat around the bush any further.</p>
<p>1. Determine your Samba server SID by executing the following command while <em>smbd</em> is running and jot it down:</p>
<pre>root@ipaserver:~
# net getlocalsid
SID for IPASERVER domain  is: S-1-5-21-3180075094-3458813485-3821849995</pre>
<p>2. With the &#8220;admin&#8221; kerberos ticket, add two attributes to &#8220;<em>cn=ipaConfig,dc=etc,dc=domain,dc=tld&#8221;</em> that tell FreeIPA to setup each account as a Samba account and each group as a Samba group:</p>
<pre>ldapmodify -Y GSSAPI &lt;&lt;EOF
dn: cn=ipaconfig,cn=etc,dc=domain,dc=tld
changetype: modify
add: ipaUserObjectClasses
ipaUserObjectClasses: sambaSAMAccount
-
add: ipaGroupObjectClasses
ipaGroupObjectClasses: sambaGroupMapping
EOF</pre>
<p>3. With the directory manager password and the Samba SID you jotted down from above, create an instance of the 389 DS DNA plugin that will automatically generate SIDs for your users and groups which are necessary for use with Samba:</p>
<pre>ldapadd -x -D "cn=Directory Manager" -W &lt;&lt;EOF
dn: cn=SambaGroupSid,cn=Distributed Numeric Assignment Plugin,cn=plugins,cn=config
objectClass: top
objectClass: extensibleObject
dnatype: sambaSID
dnaprefix: S-1-5-21-3180075094-3458813485-3821849995-
dnainterval: 1
dnamagicregen: assign
dnafilter: (|(objectclass=sambasamaccount)(objectclass=sambagroupmapping))
dnascope: dc=domain,dc=tld
cn: SambaSid
dnanextvalue: 15277
EOF</pre>
<p>The thing to note here is that the <em>&#8220;dnaprefix&#8221;</em> is set to the SID your jotted down… <em>PLUS</em> a hyphen (&#8220;-&#8221;) appended to the end!</p>
<p>4. Now we have to start modifying the FreeIPA API, CLI and WebUI to allow us to specify the <em>&#8220;sambaGroupType&#8221;</em> attribute at group creation time. We have to set <em>&#8220;sambaGroupType&#8221;</em> because it is a required attribute for the objectClass <em>&#8220;sambaGroupMapping&#8221;</em> which we are automatically adding to every group with the <em>&#8220;ipaGroupObjectClasses&#8221;</em> setting from earlier.</p>
<p>Although the value is going to be &#8220;4&#8243; for every conceivable case in this non-domain configuration, I was not able to figure out how to make the DNA plugin insert static values like it can set incrementing values so I decided to allow setting it through the CLI and WebUS with defaults enabled instead. If anyone knows how to setup 389 to automatically add an attribute with a static value upon DN creation of DNs with specific objectClasses, please tell me.</p>
<p>There are a few steps required to make this CLI/UI stuff happen but the FreeIPA developers have actually made this quite simple.</p>
<p>The rule is: Extend the FreeIPA schema first, then the CLI, then the WebUI.</p>
<p>4.1. Extend the FreeIPA schema with a custom field by adding the attribute <em>&#8220;ipaCustomFields&#8221;</em> with a value of <em>&#8220;Samba Group Type,sambagrouptype,true&#8221;</em> to <em>&#8220;cn=ipaConfig,dc=etc,dc=domain,dc=tld&#8221;</em> with an &#8220;admin&#8221; kerberos ticket:</p>
<pre>ldapmodify -Y GSSAPI &lt;&lt;EOF
dn: cn=ipaconfig,cn=etc,dc=domain,dc=tld
changetype: add
add: ipaCustomFields
ipaCustomFields: "Samba Group Type,sambagrouptype,true"
EOF</pre>
<p>As there can only be one <em>&#8220;ipaCustomFields&#8221;</em> attribute, if you have multiple custom fields you need to separate each definition with a &#8220;$&#8221; like so: <em>&#8220;Samba Group Type,sambagrouptype,true$Description,attrname,isrequiredboolean&#8221;</em>.</p>
<p>4.2. Extend the CLI for groups by editing the python file &#8220;/&#8230;/site-packages/ipalib/plugins/group.py&#8221; to define the custom field and specify a default if not implicitly defined (diff):</p>
<pre>--- group.py.orig	2011-08-15 14:59:48.570715207 -0700
+++ group.py	2011-08-16 12:43:43.493236507 -0700
@@ -118,6 +118,13 @@
             label=_('GID'),
             doc=_('GID (use this option to set it manually)'),
         ),
+        Int('sambagrouptype',
+            cli_name='sgt',
+            label=_('Samba Group Type'),
+            doc=_('Samba Group Type (default is 4)'),
+            default=4,
+            autofill=True,
+        ),
     )

 api.register(group)</pre>
<p><strong>Important</strong>: Restart &#8220;httpd&#8221; at this point!</p>
<p>4.3. Test the CLI. With an &#8220;admin&#8221; (or equivalent priv) kerberos ticket, try creating a new group:</p>
<pre>account@ipaserver:~
$ ipa group-add testgrp --desc="Testing the group.py CLI mods"
---------------------
Added group "testgrp"
---------------------
  Group name: testgrp
  Description: Testing the group.py CLI mods
  GID: 1234500010
  Samba Group Type: 4</pre>
<p>4.4 With the CLI functioning properly, we can move on to extending the WebUI. To extend the WebUI for group attributes, edit &#8220;/usr/share/ipa/ui/group.js&#8221; like so (diff):</p>
<pre>--- group.js.orig	2011-08-15 10:01:28.515209121 -0700
+++ group.js	2011-08-16 13:52:59.587352034 -0700
@@ -34,6 +34,7 @@
                 column({name: 'cn'}).
                 column({name: 'gidnumber'}).
                 column({name: 'description'}).
+                column({name: 'sambagrouptype'}).
                 dialog(
                     IPA.add_dialog({
                         'name': 'add',
@@ -41,6 +42,7 @@
                     }).
                         field(IPA.text_widget({name: 'cn', undo: false})).
                         field(IPA.text_widget({name: 'description', undo: false})).
+                        field(IPA.select_widget({name: 'sambagrouptype', undo: false, options: [{label: 'Local', value: 4}, {label: 'Domain', value: 2}]})).
                         field(IPA.checkbox_widget({
                             name: 'posix',
                             label: IPA.messages.objects.group.posix,
@@ -56,6 +58,7 @@
                     }).
                         input({name: 'cn' }).
                         input({name: 'description'}).
+                        input({name: 'sambagrouptype'}).
                         input({name: 'gidnumber' }))).
         facet(
             IPA.group_member_user_facet({</pre>
<p>And then these the WebUI to ensure that you can both see the attribute in the group list, but also add it via the select widget added to the new/edit group dialog.</p>
<p>That should be it. Questions, comments, suggestions, correction and more… all are welcome!</p>
<p>Related posts:<ol>
<li><a href='http://techslaves.org/2010/10/05/ldap-user-management-tools-and-user-private-groups/' rel='bookmark' title='LDAP User Management Tools and User Private Groups'>LDAP User Management Tools and User Private Groups</a></li>
<li><a href='http://techslaves.org/2010/08/04/life-support/' rel='bookmark' title='Life Support!'>Life Support!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://techslaves.org/2011/08/24/freeipa-and-samba-3-integration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LinuxCon 2011: Day 1</title>
		<link>http://techslaves.org/2011/08/17/linuxcon-2011-day-1/</link>
		<comments>http://techslaves.org/2011/08/17/linuxcon-2011-day-1/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 03:05:28 +0000</pubDate>
		<dc:creator>rthomson</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[vendor]]></category>

		<guid isPermaLink="false">http://techslaves.org/?p=171</guid>
		<description><![CDATA[Today was the first day of LinuxCon North America 2011. I managed to received a free pass to the event via a contact at my place of employment which was in turn actually from Hewlett Packard. Thanks, JK and HP. Much appreciated. I arrived shortly after 8AM, registered to receive my badge and t-shirt then [...]
Related posts:<ol>
<li><a href='http://techslaves.org/2010/10/26/is-ubuntu-ready-for-the-enterprise/' rel='bookmark' title='Is Ubuntu Ready for the Enterprise?'>Is Ubuntu Ready for the Enterprise?</a></li>
<li><a href='http://techslaves.org/2010/09/01/lvm-filters-and-initrd/' rel='bookmark' title='LVM filters and initrd'>LVM filters and initrd</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Today was the first day of LinuxCon North America 2011. I managed to received a free pass to the event via a contact at my place of employment which was in turn actually from Hewlett Packard. Thanks, JK and HP. Much appreciated.</p>
<p>I arrived shortly after 8AM, registered to receive my badge and t-shirt then milled around the vendor booths until the keynotes were ready to start. I watched the keynotes (Jim Zemlin, Linux Foundation and Jim  Whitehurts, Red Hat), went to every session I could and came back to the main ballroom for the panel discussion with Jon &#8220;Maddog&#8221; Hall, Eben Moglen and Dan Frye and the following interview of Linus Torvalds by Greg Kroah-Hartman to wrap things up for day 1. So far, so good.</p>
<h1>The Keynotes</h1>
<p>Jim Zemlin&#8217;s opening keynote &#8220;Imagining a World Without Linux&#8221; was decent. While he did take some inevitable potshots at Microsoft, the message was generally very positive and uplifting. I won&#8217;t go into details but basically Jim described a world without Linux as one that would be black &amp; white as opposed to the colour filled world we know today (due to Linux). Jim is a smiley and positive person on stage, his style helped kick off LinuxCon 2011 with a good vibe.</p>
<p>Jim Whitehurst, CEO of Red Hat had a similar approach of sending positive vibes but focused on how the progress of Linux and Open Source has enabled businesses and business models. He said that Google wouldn&#8217;t exist (at least not in it&#8217;s current form) without Linux and basically implying the same about other major well know Linux-powered companies such as Amazon and Facebook. Jim struck me as a fairly modest fellow but he wasn&#8217;t shy about mentioning Red Hat&#8217;s penetration into Fortune 500 companies. Nor was he reserved about how Linux has powered, enabled, strongly driven by or directly benefitted various global forces that may or may not be angels (U.S. Navy, NSA, Russian Military, NYSE/Wall Street). While his examples spoke to the breadth of applications for and the wide reach of Linux, I couldn&#8217;t help but think about how the pervasiveness of Linux is not only helping drive great positive change int he world but may also be powering negative forces as well.</p>
<p>Overall both Jim&#8217;s did a good job and left me excited for the rest of LinuxCon to come.</p>
<h1>First Day Sessions</h1>
<p>I attended four sessions on day 1:</p>
<ol>
<li><em>Centralized User Administration with FreeIPA and sssd</em> by Stephen Gallagher</li>
<li><em>Watching Mad Men and Thinking About Open Source</em> by Karen Copenhaver</li>
<li><em>20 Years &#8211; And More &#8211; of Kernel Development</em> by Jon Cobert</li>
<li><em>What to Expect from Linux Storage</em> by James Bottomley</li>
</ol>
<h2>Centralized User Administration with FreeIPA and sssd</h2>
<p>My first LinuxCon session was by Stephen Gallagher of Red Hat. As is clear by the title, it was about FreeIPA and sssd, two emerging Red Hat driven projects relating to centralized directory and authentication services. Stephen wasn&#8217;t the most natural speaker I&#8217;ve had the pleasure to watch and I suspect that presentations aren&#8217;t something he does on a regular basis but he clearly knew his material and he was able to field the post-presentation questions with ease. The presentation material was fairly spot on to what I expected. I should stop by the Red Hat booth and speak with Stephen tomorrow as there are a few FreeIPA/sssd related questions I have which I didn&#8217;t ask during the question period. Overall, I was satisfied.</p>
<h2>Watching Mad Men and Thinking About Open Source</h2>
<p>First of all, Karen is a more natural speaker than Stephen but I suppose that&#8217;s to be expected: She is legal counsel for the Linux Foundation. The material in this session while clear and understandable was maybe not quite as impactful as I had hoped. Karen had some very nice points and brought good historical reference to the table but it wasn&#8217;t really anything that I didn&#8217;t already think think about in my own internal dialog, for the most part.</p>
<p>Some key points that Karen made early which did resonate with me:</p>
<ul>
<li>&#8220;It&#8217;s a privilege to work on something so important&#8221;, I believe she was quoting Linus Torvalds. This hits home for me as my work is only to enable the much more important and relevant work of others.</li>
<li>The observation that the open source community generally doesn&#8217;t have time for anything but the truth which is a nice ideal but perhaps isn&#8217;t necessarily reflective of the entire open source world so much as a few of the important luminaries.</li>
<li>Identify the things that you value and… well I missed that part. But I do think identifying the things you value is, well, valuable.</li>
</ul>
<p>These are all straight forward things but to hear someone say them can be powerful. This session was good but it wasn&#8217;t quite as hard hitting as I thought it might be based on the title and description. It was no let down, though.</p>
<h2>20 Year &#8211; And More &#8211; Of Linux Kernel Development</h2>
<p>Ok, now we&#8217;re getting way out of my league. Jon Corbet is a high profile Linux kernel contributor and he knows what he is talking about. This man has confidence and ostensibly the knowledge to back it up. His overview of the last 20 years of Linux kernel development was excellent and spotted with just enough humour to keep the real developers cracking up and the rest of us only getting every second joke.</p>
<p>Jon&#8217;s timeline approach to describing the history of kernel development was excellent and enabled him to visually map releases, events and growth in a very simple and understandable way. He made an excellent observation regarding the pace (measure by lines of code) of Linux kernel development during the dot com bust not slowing down one bit despite industry turmoil and job loss and pointed out the correlation between important points in Linux kernel development time with other events that may not be obvious to every outsider (BitKeeper, Git, time between certain releases, Merge Window, etc.).</p>
<p>While this session was developer focused, it wasn&#8217;t so technical to be devoid of value for anyone else, in fact I think it really helped frame the history of Linux kernel development for me in a way that I had never experienced before. Way to go, Jon.</p>
<h2>What To Expect From Linux Storage</h2>
<p>I&#8217;m not sure why James&#8217; talk was titled what it was because for the best of what I could tell, the majority of the talk was about what already is, not what to expect. That&#8217;s not to say it was devoid of important information regarding &#8220;what to expect&#8221; and maybe it was because James ran out of time and had to skip some slides but I did find the title interesting in that capacity none-the-less.</p>
<p>James is charismatic. He makes jokes, he wears a bow tie, he speaks with an attractive accent. He&#8217;s also clearly very knowledgable about his part of the Linux kernel: the Block layer.</p>
<p>Being a sysadmin, knowing more about the block layer and James&#8217; perspective on storage was hugely beneficial. He has historical reference that I never will and deep knowledge of the kernel which I&#8217;ll never achieve. With that said, some of his opinions regarding specific technologies and methods, I personally already held myself! How is it that a Linux kernel rube such as myself could had gleaned the same opinions on specific technologies as one of the people  who understands these technologies the best of anyone? iSCSI was an example. I think it&#8217;s safe to say James thinks iSCSI is an abhorrent mess that simply tries to solve a problem in entirely the wrong way. I&#8217;m also not a big fan of iSCSI and his reasoning  resonated with me, despite my lack of in depth knowledge.</p>
<p>I could go on because I liked this session but I already feel like I&#8217;m burning myself out on this summary of day 1 and we haven&#8217;t even gotten to the panel discussion or Linus interview yet.</p>
<h1>Panel Discussion</h1>
<p>The panel discussion with Jon Hall, Eben Moglen and Dan Frye was fairly profound despite Eben using the platform for an interesting but strangely placed speech that appeared entirely scripted/written. That&#8217;s not to say I didn&#8217;t like his speech or that I don&#8217;t agree with him or his world views but the way he momentarily took over the panel with what was clearly a pre-planned speech during a panel discussion main-hall format was strange indeed.</p>
<p>Dan Frye struck me as level-headed and one of those business people whom can take the challenge of  balancing the need to run a profitable business with social awareness and decency and excel at it. I&#8217;ve never really doubted IBM&#8217;s commitment to Linux and I know their commitment is based on profitability but the way that Dan framed the reasons that he and his team knew Linux meant good business for IBM put a smile on my face.</p>
<p>Jon Hall&#8217;s experience in the computing industry is staggering and humbling, even for today&#8217;s big shots. What a dude. Level head, very articulated, sense of humour and a huge white beard. It&#8217;s hard not to love the guy after watching that panel discussion. Jon talked about his hopes for how Linux and the open source model will foster the next generation of great thinkers, movers and shakers and enable them to do great things. I liked that.</p>
<p>I&#8217;m not really sure what to say about Eben. I agreed with everything he said but he just wasn&#8217;t as loveable as Jon Hall. Must be because he&#8217;s a lawyer :D I suppose that slightly awkward speech about the troubled times that are looming (mounting patent threats and inevitable &#8220;10-20 billion&#8221; dollar war) could have been a factor as well. That said, he seemed positive despite the heavy and serious tone he used to describe the battles ahead.</p>
<p>On one hand, the panel discussion left me feeling good and uplifted but on the other hand I was left with a feeling of powerlessness. I&#8217;m not one of the next great thinkers, doers or talkers. What&#8217;s my place in the Linux and open source world, then? Everything that was discussed revolved around the greatest minds in open source and the huge impacts made by major players. I almost felt a little left out as a lowly sysadmin whom has to deploy at least some non-RMS blessed systems alongside the requisite Linux systems. What&#8217;s my role in all this?</p>
<h1>Interview with Linus</h1>
<p>I really don&#8217;t have much to say about this one. Linus is down to earth, but strong in his opinions. He admits when something is outside of his immediate expertise, as evidenced by his answers to many non-Linux kernel specific questions. He talks well and he would have preferred if the crowd did not give him a standing ovation at the end but I suppose you cannot make a room full of Linux geeks sit down when their proverbial leader is being applauded.</p>
<p>I liked a lot of what Linus talked about regarding the modern direction of Linux such as the version numbering changes, the idea that we should be looking backwards at how to improve existing subsystems and layers instead of always looking forward to new feature inclusions. I liked how he described the cross-pollination of various parts of Linux that exist when everyone from embedded systems to massively parallel SMP systems are made to use the exact same kernel instead of everyone having their own specialized forks.</p>
<p>Linus was clam and cool, just like Linux and I had a seriously good time at LinuxCon today. Rock on, LinuxCon!</p>
<p>Related posts:<ol>
<li><a href='http://techslaves.org/2010/10/26/is-ubuntu-ready-for-the-enterprise/' rel='bookmark' title='Is Ubuntu Ready for the Enterprise?'>Is Ubuntu Ready for the Enterprise?</a></li>
<li><a href='http://techslaves.org/2010/09/01/lvm-filters-and-initrd/' rel='bookmark' title='LVM filters and initrd'>LVM filters and initrd</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://techslaves.org/2011/08/17/linuxcon-2011-day-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Nomenclature</title>
		<link>http://techslaves.org/2011/07/05/microsoft-nomenclature/</link>
		<comments>http://techslaves.org/2011/07/05/microsoft-nomenclature/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 05:25:12 +0000</pubDate>
		<dc:creator>rthomson</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://techslaves.org/?p=154</guid>
		<description><![CDATA[My friend just linked me to an amazing example of Microsoft nomenclature that he came across while diagnosing a boot problem on his Windows 7 PC. The phrase &#8220;WTF?&#8221; comes to mind. From http://support.microsoft.com/kb/314470: System Volume The system volume refers to the disk volume that contains the hardware-specific files that are needed to start Windows, [...]
Related posts:<ol>
<li><a href='http://techslaves.org/2010/04/30/microsoft-campus-agreement-double-dipping/' rel='bookmark' title='Microsoft Campus Agreement Double Dipping'>Microsoft Campus Agreement Double Dipping</a></li>
<li><a href='http://techslaves.org/2011/01/07/fresh-win2k-install-and-windows-update-error/' rel='bookmark' title='Fresh Win2k Install and Windows Update Error'>Fresh Win2k Install and Windows Update Error</a></li>
<li><a href='http://techslaves.org/2010/09/01/lvm-filters-and-initrd/' rel='bookmark' title='LVM filters and initrd'>LVM filters and initrd</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>My friend just linked me to an amazing example of Microsoft nomenclature that he came across while diagnosing a boot problem on his Windows 7 PC. The phrase &#8220;WTF?&#8221; comes to mind.</p>
<p>From <a href="http://support.microsoft.com/kb/314470">http://support.microsoft.com/kb/314470</a>:</p>
<blockquote><p>System Volume<br />
The system volume refers to the disk volume that contains the hardware-specific files that are needed to start Windows, such as Ntldr, Boot.ini, and Ntdetect.com.</p>
<p>On computers that are running the Intel x86 line of CPU processors and later versions, the system volume must be a primary volume that is marked as active. This requirement can be fulfilled on any drive on the computer that the system BIOS searches when the operating system starts.</p>
<p>The system volume can be the same volume as the boot volume. However, this configuration is not required.</p></blockquote>
<p>and</p>
<blockquote><p>Boot volume<br />
The boot volume refers to the disk volume that contains the Windows operating system files and the supporting files. By default, the Windows operating system files are in the WINDOWS folder, and the supporting files are in the WINDOWS\System32 folder.</p>
<p>The boot volume can be the same volume as the system volume. However, this configuration is not required.</p>
<p>There is only one system volume. However, there is one boot volume for each operating system in a multiboot system.</p></blockquote>
<p>So&#8230; the &#8220;system volume&#8221; is the volume that contains the boot files and the &#8220;boot volume&#8221; is the volume that contains the system files. It might have been <a href="http://en.wikipedia.org/wiki/Opposite_Day">opposite day</a> when this was named. Yikes.</p>
<p>Thanks for the laugh, Microsoft.</p>
<p>Related posts:<ol>
<li><a href='http://techslaves.org/2010/04/30/microsoft-campus-agreement-double-dipping/' rel='bookmark' title='Microsoft Campus Agreement Double Dipping'>Microsoft Campus Agreement Double Dipping</a></li>
<li><a href='http://techslaves.org/2011/01/07/fresh-win2k-install-and-windows-update-error/' rel='bookmark' title='Fresh Win2k Install and Windows Update Error'>Fresh Win2k Install and Windows Update Error</a></li>
<li><a href='http://techslaves.org/2010/09/01/lvm-filters-and-initrd/' rel='bookmark' title='LVM filters and initrd'>LVM filters and initrd</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://techslaves.org/2011/07/05/microsoft-nomenclature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browsing Automounted NFS with Nautilus</title>
		<link>http://techslaves.org/2011/05/13/browsing-automounted-nfs-with-nautilus/</link>
		<comments>http://techslaves.org/2011/05/13/browsing-automounted-nfs-with-nautilus/#comments</comments>
		<pubDate>Fri, 13 May 2011 20:18:18 +0000</pubDate>
		<dc:creator>rthomson</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[autofs]]></category>
		<category><![CDATA[automount]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nautilus]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[share]]></category>
		<category><![CDATA[slow]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://techslaves.org/?p=152</guid>
		<description><![CDATA[Has browsing automounted NFS shares with nautilus got you pulling out hair in frustration? Ever since we transitioned from the RHEL4 environment to Fedora 14, people have been reporting terrible slowness and delays in nautilus when browsing our NFS shares. Reports of waiting over a minute for an NFS automount root-level directory with &#60; 100 [...]
Related posts:<ol>
<li><a href='http://techslaves.org/2010/05/07/rhelcentos-nfs-and-firewalls/' rel='bookmark' title='RHEL/CentOS, NFS and Firewalls'>RHEL/CentOS, NFS and Firewalls</a></li>
<li><a href='http://techslaves.org/2010/10/26/is-ubuntu-ready-for-the-enterprise/' rel='bookmark' title='Is Ubuntu Ready for the Enterprise?'>Is Ubuntu Ready for the Enterprise?</a></li>
<li><a href='http://techslaves.org/2010/04/23/posix-default-acls-umask-and-project-directories/' rel='bookmark' title='POSIX Default ACLs, umask and Project Directories'>POSIX Default ACLs, umask and Project Directories</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Has browsing automounted NFS shares with nautilus got you pulling out hair in frustration? </p>
<p>Ever since we transitioned from the RHEL4 environment to Fedora 14, people have been reporting terrible slowness and delays in nautilus when browsing our NFS shares. Reports of waiting over a minute for an NFS automount root-level directory with &lt; 100 sub directories to display the contents are not good.</p>
<p>This wasn&#8217;t a problem on our old RHEL4 terminal server and I couldn&#8217;t for the life of me understand how nautilus could have become so slow in the years since RHEL4 was released. It just didn&#8217;t make sense. I started to think something had to be wrong and that this wasn&#8217;t just the new normal expected behaviour but I had nothing to go on.</p>
<p>I tried the basic recommendations: Disable thumbnails, disable preview, disable directory item counts. That didn&#8217;t help the user experience in any dramatic way. At this point, I started recommended pcmanfm and thunar as a way to workaround nautilus&#8217; terrible performance. I even wrote a fairly concise script for modifying the default file manager and desktop-drawing application so that using a different file manager wouldn&#8217;t be so foreign in GNOME.</p>
<p>Then one day I started looking at the verbose level output from automount while browsing the NFS mounts with nautilus and found a substantial amount of this in the logs:</p>
<pre>Apr 28 11:19:10 hostname automount[18959]: attempting to mount entry /home/.svn
Apr 28 11:19:10 hostname automount[18959]: key ".svn" not found in map source(s).
Apr 28 11:19:10 hostname automount[18959]: failed to mount /home/.svn
</pre>
<p>Oh my! Why are there repeated access attempts for &#8220;.svn&#8221;? What is causing automount to perform map lookups for &#8220;.svn&#8221; in the automount-controlled directories? Could it be nautilus?</p>
<p>Why yes!</p>
<p>As it turns out the GNOME SVN integration package &#8220;gnubversion&#8221; includes a nautilus extension and this extension was causing Nautilus to look for &#8220;.svn&#8221; directories everywhere and it just so happens that looking for &#8220;.svn&#8221; in a root-level automount directory causes slow map lookup failures that (presumably) kill the perceptible performance of browsing automounted NFS shares.</p>
<p>I removed gnubversion (as no one was using it) and the user experience for nautilus has normalized. While nautilus still isn&#8217;t as speedy as pcmanfm or thunar, its no longer a cause of forceful hair removal incidents&#8230; and all is well in the world.</p>
<p>Related posts:<ol>
<li><a href='http://techslaves.org/2010/05/07/rhelcentos-nfs-and-firewalls/' rel='bookmark' title='RHEL/CentOS, NFS and Firewalls'>RHEL/CentOS, NFS and Firewalls</a></li>
<li><a href='http://techslaves.org/2010/10/26/is-ubuntu-ready-for-the-enterprise/' rel='bookmark' title='Is Ubuntu Ready for the Enterprise?'>Is Ubuntu Ready for the Enterprise?</a></li>
<li><a href='http://techslaves.org/2010/04/23/posix-default-acls-umask-and-project-directories/' rel='bookmark' title='POSIX Default ACLs, umask and Project Directories'>POSIX Default ACLs, umask and Project Directories</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://techslaves.org/2011/05/13/browsing-automounted-nfs-with-nautilus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plotting for Sysadmins by Example: Part 1</title>
		<link>http://techslaves.org/2011/04/15/plotting-for-sysadmins-by-example-part-1/</link>
		<comments>http://techslaves.org/2011/04/15/plotting-for-sysadmins-by-example-part-1/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 07:17:56 +0000</pubDate>
		<dc:creator>rthomson</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[academia]]></category>
		<category><![CDATA[collection]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[graphing]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[nx]]></category>
		<category><![CDATA[plot]]></category>
		<category><![CDATA[plotting]]></category>
		<category><![CDATA[scientific]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://techslaves.org/?p=149</guid>
		<description><![CDATA[As my entire career as a sysadmin (~7 years) has been within academia, you&#8217;d think that by now I&#8217;d be a master of collecting, plotting and analyzing data. However, I wasn&#8217;t bred in academia and the fact that I work where I do is more of a circumstance than anything else. I was never properly [...]
Related posts:<ol>
<li><a href='http://techslaves.org/2010/09/04/migration-weekend/' rel='bookmark' title='Migration Weekend'>Migration Weekend</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>As my entire career as a sysadmin (~7 years) has been within academia, you&#8217;d think that by now I&#8217;d be a master of collecting, plotting and analyzing data. However, I wasn&#8217;t bred in academia and the fact that I work where I do is more of a circumstance than anything else. I was never properly taught very much about data collection, plotting and analysis beyond high school and anything I can practically use today is because I was required to learn it to get the job done or to try and prove a point. I&#8217;ve always been able to find a way to whip out xmgrace or generate simple plots with gnuplot but it&#8217;s never been something that I&#8217;m super confident with, especially being surrounded by people who live and breath this stuff day in day out.</p>
<p>So why bother with knowing anything about this whole plotting thing? It&#8217;s clear how it can be useful in monitoring-style applications where data points are collected over time and then visualized via a plot or graph. Such plotting exposes trends in our environments and that&#8217;s usually a helpful tool to have around. Of course, there are other more specific problems and/or questions where collecting, plotting and analyzing data is very helpful as well. I will do my best to describe one such example.</p>
<p>Over the last few days I&#8217;ve been trying to find an answer to the question:</p>
<p><em>&#8220;Does the VPN add latency to our remote NX connections and if so, is it significant?&#8221;</em></p>
<p>This is a question where I believe plotting data will prove useful. There are some other sub-questions I&#8217;d like answered as well but that is the overarching issue at hand. I realized that this would be a great opportunity to re-learn some of the basics and maybe try out a few new tools at my disposal so I decided to document my journey through this foreign land for all to criticize and enjoy.</p>
<h2>! Scientific Method</h2>
<p>Of course, I&#8217;m not following a strict <a href="http://en.wikipedia.org/wiki/Scientific_method">scientific method</a> with this endeavor. The question simply doesn&#8217;t warrant an entire drawn out, highly statistically relevant result despite my best intentions in delivering exactly that. What I&#8217;m trying to do is get an accurate sense more than an exact measurement, as flawed as that might be. It&#8217;s all I can justify in terms of time and effort for this project. From that strictly academic point of view, I&#8217;m sure to fail. My hope is that the results will be pseudo-science&#8217;d enough to provide confidence in my answer and that I&#8217;ll improve my skills throughout the exercise.</p>
<h2>What Tests?</h2>
<p>In order to determine if the VPN is affecting our latency I need at least two tests:</p>
<ol>
<li>NX connection <em>without </em>VPN</li>
<li>NX connection <em>with </em>VPN</li>
</ol>
<p>But while I&#8217;m at it, I figured I would gather additional data in order to attempt an answer at other RTT related questions. Adding additional tests based on client system &#8220;location&#8221; (local LAN, local wireless, various locations on campus wireless, home internet connection, etc. and NX compression settings (MODEM, ISDN, ADSL, WAN and LAN) greatly increases the amount of testing required but will provide for richer data to visualize.</p>
<p>On top of that , each one of these additional variables I am testing is to also be tested with and without VPN. To add even more tests, each one of these combination of tests needs to be performed multiple times in order to normalize the data and to increase the statistical relevance. More samples = better data = more accurate results (at least this is the hope).</p>
<h2>Data Collection</h2>
<p>In order to start analyzing data, I need data. And that data needs to of be quality. And to have quality of data, I need multiple samples. And to make useful comparisons I need multiple variable data sets and at least one control data set. For all that to work, I needed a reproducible set of actions to generate traffic, collect data and extract the relevant parts.</p>
<p>My basic method is as follows:</p>
<ol>
<li>Configure <a href="http://www.wireshark.org/">wireshark</a> or <a href="http://www.tcpdump.org/">tcpdump</a> on the remote host to capture packets related to the NX/SSH connection that we are testing. Capture filters are used to prevent capture of any other packets.</li>
<li>Initiate NX connection to remote host (login)</li>
<li>Perform predefined action X on remote host via NX</li>
<li>Logout of NX connection from remote host</li>
<li>Stop and save packet capture</li>
<li>Export RTT statistics from capture file with <a href="http://www.tcptrace.org/">tcptrace</a></li>
<li>Extract only the RTT data from `tcptrace` output (discard the TCP sequence # column because the absolute value doesn&#8217;t matter, we&#8217;ll use the index for the x-axis)</li>
<li>Label and save extracted RTT data as txt format for input to plotting function</li>
</ol>
<h2>Plot Types</h2>
<p>There are two primary plot types that are going to help me answer the question at hand: <a href="http://en.wikipedia.org/wiki/Scatter_plot">scatter plots</a> and <a href="http://en.wikipedia.org/wiki/Histogram">histograms</a>.</p>
<p>Scatter plots are basically used to visualize at least one data set with two display values. In this case, plotting the round trip time (RTT) in milliseconds by the corresponding TCP sequence number for various data sets. What&#8217;s more interesting though is juxtaposing combinations of data sets against each other in order to quickly visualize and observe qualitative differences.</p>
<p>Histograms are a way of visualizing the distribution of data set. In this case, a histogram will plot the number of TCP sequences at each millisecond increment in the data set. Visualizing the distribution of our data set will help to clarify what the least to most frequent round trip times are, something which cannot be quickly visualized in a dense scatter plot.</p>
<h2>Looking Forward to Part 2</h2>
<p>Now that you&#8217;ve made it through the snooze-fest that was part 1, I hope you&#8217;re eager for part 2! Oh boy! More blabbering, right? Hopefully not. Part 2 is where I&#8217;ll share some scripts, tips, techniques and finally, some finished plots for all to behold. You know, the technical stuff that we all love.</p>
<p>It shall be grand, now I just need to write it&#8230;</p>
<p>Comments are highly welcome.</p>
<p>Related posts:<ol>
<li><a href='http://techslaves.org/2010/09/04/migration-weekend/' rel='bookmark' title='Migration Weekend'>Migration Weekend</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://techslaves.org/2011/04/15/plotting-for-sysadmins-by-example-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Which Distro for PPC64 Server?</title>
		<link>http://techslaves.org/2011/03/08/which-distro-for-ppc64-server/</link>
		<comments>http://techslaves.org/2011/03/08/which-distro-for-ppc64-server/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 08:02:43 +0000</pubDate>
		<dc:creator>rthomson</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[crux ppc]]></category>
		<category><![CDATA[cruxppc]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[distribution]]></category>
		<category><![CDATA[distro]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[p505]]></category>
		<category><![CDATA[p505 express]]></category>
		<category><![CDATA[ppc]]></category>
		<category><![CDATA[ppc64]]></category>
		<category><![CDATA[pseries]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://techslaves.org/?p=131</guid>
		<description><![CDATA[We (work) have two IBM p505 Express Servers. Right now one machine is running an old way out of support RHEL4 installation and the other is on Fedora 12, which is no longer supported by the Fedora Project. Paid support/subscription is not a consideration yet for this project, but I do want to run a [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>We (work) have two IBM p505 Express Servers.</p>
<p>Right now one machine is running an old way out of support RHEL4 installation and the other is on Fedora 12, which is no longer supported by the Fedora Project. Paid support/subscription is not a consideration yet for this project, but I do want to run a modern Linux distribution for the associated modern application software and maintenance.</p>
<p>I basically need to move these servers to something free and supportable. I&#8217;m finding out that there aren&#8217;t a lot of options in PPC Linux as when I was last interested in this architecture. It&#8217;s pretty much just:</p>
<ul>
<li><a href="http://www.debian.org/ports/powerpc/">Debian</a></li>
<li><a href="http://cruxppc.org">CRUX PPC</a></li>
<li><a href="http://www.gentoo.org/proj/en/base/ppc64/">Gentoo</a></li>
</ul>
<p>I realize there is RHEL and SuSE Enterprise for PPC64 but those are subscription products without free binaries available. I&#8217;m not prepared to build an RPM-based distro from source at this point so I need something with binaries or something where building from source is highly automated and integrated, such as Gentoo. Digression&#8230;</p>
<p>The question is which of these distros do I go with? To answer the question I suppose I need to define the roles.</p>
<p>These two pSeries servers a redundant pair running LDAP/Auth Service, NTP, DNS and DHCP. The load is low but I want a solid modern software platform on both these servers from now until they are replaced with in the future (which is likely to be integration into a centralized architecture).</p>
<p>With that said, and with my familiarity level of these distros, I would first lean towards Debian and then to Gentoo and finally to CRUX PPC.</p>
<p>Debian is a binary distribution, which is nice for maintaining a server. Debian is more familiar to me. What are the arguments for Gentoo or CRUX PPC?</p>
<p>Agree or Disagree?</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://techslaves.org/2011/03/08/which-distro-for-ppc64-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Remote Access Solution: Follow Up</title>
		<link>http://techslaves.org/2011/02/21/remote-access-solution-follow-up/</link>
		<comments>http://techslaves.org/2011/02/21/remote-access-solution-follow-up/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 00:29:31 +0000</pubDate>
		<dc:creator>rthomson</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[campus]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[users]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://techslaves.org/?p=127</guid>
		<description><![CDATA[Yes! We&#8217;ve implemented what I think is the best compromise for our remote access problem that I outlined earlier. Three major things happened that made it possible to compromise: 1. I received an OK from the higher-ups that indeed it would be ok to mandate that users who want remote access to our system have [...]
Related posts:<ol>
<li><a href='http://techslaves.org/2011/02/10/remote-access-solution/' rel='bookmark' title='Remote Access Solution'>Remote Access Solution</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Yes! We&#8217;ve implemented what I think is the best compromise for our <a href="/2011/02/10/remote-access-solution/">remote access problem that I outlined earlier</a>.</p>
<p>Three major things happened that made it possible to compromise:</p>
<p>1. I received an OK from the higher-ups that indeed it would be ok to mandate that users who want remote access to our system have all their Internet traffic routed via the VPN.</p>
<p>2. The VPN configuration that was proposed is not that of a private group but the generic campus-wide VPN solution with ACLs to allow VPN clients to access our resources.</p>
<p>3. The generic campus-wide VPN service does *not* implement any outgoing restrictions, unlike the private VPN groups do. This makes it possible for VPN users to do whatever they want when connected, with the stipulation that it&#8217;s akin to bringing your personal computer to campus in terms of privacy.</p>
<p>This really is the best of both worlds (security, ease of use). The campus VPN service is super-simple to use and we restrict access to our services to VPN users instead of the whole Internet. While we don&#8217;t control who gets access to the VPN, the pool of users is MUCH smaller and at least semi-trusted by the organization. Thus the risk is greatly reduced.</p>
<p>I&#8217;m happy.</p>
<p>Related posts:<ol>
<li><a href='http://techslaves.org/2011/02/10/remote-access-solution/' rel='bookmark' title='Remote Access Solution'>Remote Access Solution</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://techslaves.org/2011/02/21/remote-access-solution-follow-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Access Solution</title>
		<link>http://techslaves.org/2011/02/10/remote-access-solution/</link>
		<comments>http://techslaves.org/2011/02/10/remote-access-solution/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 06:06:04 +0000</pubDate>
		<dc:creator>rthomson</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nx]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://techslaves.org/?p=125</guid>
		<description><![CDATA[NEW: See the Follow Up. I&#8217;m in a bit of a pickle. Traditionally, we&#8217;ve always allowed wide-open SSH access from anywhere to our main terminal server for remote access. Since we use NX (neatx, FreeNX, NXclient, etc.), all we ever needed open was SSH to make it all work nicely. Sure, SSH is a big [...]
Related posts:<ol>
<li><a href='http://techslaves.org/2011/02/21/remote-access-solution-follow-up/' rel='bookmark' title='Remote Access Solution: Follow Up'>Remote Access Solution: Follow Up</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>NEW: See the <a href="/2011/02/21/remote-access-solution-follow-up/">Follow Up</a>.</p>
<hr />
<p>I&#8217;m in a bit of a pickle.</p>
<p>Traditionally, we&#8217;ve always allowed wide-open SSH access from anywhere to our main terminal server for remote access. Since we use NX (neatx, FreeNX, NXclient, etc.), all we ever needed open was SSH to make it all work nicely. Sure, SSH is a big bruteforce target but with DenyHosts and low thresholds things are pretty well under control. I realize huge distributed bruteforce attacks are still possible against a DenyHosts protected SSH daemon but we have to factor in ease of use when thinking about security and the low risk of massively distributed bruteforce attacks.</p>
<p><span id="more-125"></span>With the deployment of a new terminal server we have the opportunity to use the Cisco-based campus VPN service delegated to us via a customized VPN group. This is all well and good except for one thing: There is no ability to set custom routes for the clients based on those VPN groups. When a remote user connects to the VPN, *all* their network traffic has to be routed via the VPN. This typically makes sense, it is a VPN after all. However, we have a strong use case for which this simply won&#8217;t work. We have remote collaborators from anywhere in the world and mandating that they route all their Internet traffic via us when they need to remote in to our systems is unacceptable. Not to mention we have local users working from home and the same applies. We cannot mandate that these users have to route all their non-work related private traffic via us whenever they also need to access our resources at the same time.</p>
<h2>Alternatives</h2>
<p>So what are we left with? What can we do to provide increased security while also maintaining the ease of use of direct SSH access? I&#8217;ve thought of a couple things, but they also have disadvantages:</p>
<p>1. Run our own VPN with OpenVPN on dd-wrt or a generic box.</p>
<p>This sounds great at first but this requires that we support another box and another service directly. The campus VPN service is managed by the central IT group, our own VPN would add support costs of our own and specifically with the client installation side of things. I&#8217;d have to come up with our own instructions for installing and configuring the clients on multiple operating systems and hope that our users don&#8217;t have serious problems getting it working.</p>
<p>2. Use SSH but mandate the use of SSH keys.</p>
<p>No doubt some of our users have bad passwords and using SSH keys would prevent password bruteforce attempts including massively distributed ones. But mandating the use of SSH keys seems like hell from a support perspective. Asking users to generate keys and have them available on any client they wish to use is really pushing the boundary of what they&#8217;ll be able to successfully do on their own. I just know I&#8217;d get the evil eye from everyone if I handed them the instructions for how to accomplish this.</p>
<h2>Push Back Times Two</h2>
<p>What makes this worse is no matter what I choose, I&#8217;ll get push back from one side or the other. Make things more secure but more complicated and my user base will be seriously unhappy. Continue allowing direct SSH access as the long term policy and the central IT group(s) will tar and feather me: &#8220;Bad practice! Bad practice!&#8221;. Damn this pickle!</p>
<p>So, again, what are we left with for secure remote access solutions that are both secure and simple enough for anyone to use? Any suggestions dear Internet?</p>
<p>Related posts:<ol>
<li><a href='http://techslaves.org/2011/02/21/remote-access-solution-follow-up/' rel='bookmark' title='Remote Access Solution: Follow Up'>Remote Access Solution: Follow Up</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://techslaves.org/2011/02/10/remote-access-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

