<?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>J Squared Consulting &#187; Windows</title>
	<atom:link href="http://jsquaredconsulting.com/blog/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://jsquaredconsulting.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 29 Nov 2010 13:00:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>rscurl: A Rackspace Cloud Server command line tool</title>
		<link>http://jsquaredconsulting.com/blog/2010/11/rscurl-a-rackspace-cloud-server-command-line-tool/</link>
		<comments>http://jsquaredconsulting.com/blog/2010/11/rscurl-a-rackspace-cloud-server-command-line-tool/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 21:51:08 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[amazon ec2 api tools]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[BASH]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[rackspace]]></category>
		<category><![CDATA[rackspace api]]></category>
		<category><![CDATA[rackspace api tools]]></category>
		<category><![CDATA[rackspace cloud]]></category>
		<category><![CDATA[rackspace cloud servers]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://jsquaredconsulting.com/blog/?p=107</guid>
		<description><![CDATA[rscurl.sh License: GPL Download: https://github.com/jsquared/rscurl After looking around for a tool that would allow me to manage my Rackspace Cloud Servers from the terminal and not finding anything I decided to write my own. My primary goal for this was to have a tool that could be used from the shell or used in scripts [...]]]></description>
			<content:encoded><![CDATA[<p>rscurl.sh<br />
License: GPL<br />
Download: <a href="https://github.com/jsquared/rscurl">https://github.com/jsquared/rscurl</a></p>
<p>After looking around for a tool that would allow me to manage my Rackspace Cloud Servers from the terminal and not finding anything I decided to write my own.  My primary goal for this was to have a tool that could be used from the shell or used in scripts to manage and automate the Rackspace Cloud Servers.  I have used Amazon&#8217;s EC2 API Tools in the past to manage hosts on their service and found it frustrating that they were written in Java, requiring anything that used them to have Java running on it.  Because of this I made it a secondary goal to use tools that are commonly available to systems that have bash.  Currently that has allowed me to use the script on Apple OS X, Red Hat based systems (CentOS), and Debian based systems (Ubuntu) without any modifications or special permissions on the systems.</p>
<p>rscurl allows you to list your servers, server images available to you ( including the images you make from your servers ), and server flavors ( the memory and disk combinations ).  In addition to that you can create, delete, resize and reimage servers as well as create and delete images.  All of the options except for the ones that specifically list data have a quiet option so that they can be used in automation scripts.  To use rscurl you will need your Rackspace username and api key.  The username is the same one you use to log into the web interface and the api key can be found in the <a href="https://manage.rackspacecloud.com/Login.do">Rackspace web interface</a> under Your Account, API Access.  </p>
<p>rscurl -u username -a apiKey -c command [ -s serverID ] [ -n name ] [ -i imageID ] [ -f flavorID ] [ -q -h ]<br />
	v 0.1<br />
	rscurl is a command line tool for managing Rackspace Cloud Servers.  It uses curl, awk, sed,<br />
	and tr to accomplish this in the hopes that it will work on most systems that use bash.  </p>
<p>	-u Your rackspace username.<br />
	-a Your rackspace api key, found on your rackspace cloud dashboard under Your Account, API Access.<br />
	   This cannot be your password.<br />
	-c command, possible commands are:<br />
		list-servers	- Lists all the servers you have on your account.<br />
		list-flavors	- Lists all the types of server that are available to you.<br />
		list-images		- Lists all the server images that are available to you.<br />
		create-server	- Creates a new server<br />
						  requires an imageID (-i) and flavorID (-f)<br />
						  optional name (-n)<br />
		delete-server	- Deletes a server, requires serverID (-s).<br />
						  DANGER: Server deleted without prompt, be sure.<br />
		rebuild			- Rebuilds a server with the new image, all data will be lost.<br />
						  requires an imageID (-i) and serverID (-s)<br />
		resize			- Resizes a server, requires flavorID (-f)<br />
		confirm-resize	- Confirms a recently resized server, after 24 hours it is done automatically.<br />
						  requires serverID (-s)<br />
		revert-resize	- Reverts a recently resized server to the previous size.<br />
						  requires serverID (-s)<br />
		reboot			- Reboots a server, requires serverID (-s)<br />
		force-reboot	- Forces a server to reboot, equivalent to pulling the power.<br />
		 				  Requires serverID (-s)<br />
		create-image	- Creates a new image based on an existing server.<br />
						  Requires serverID (-s), optional name (-n)<br />
		delete-image	- Deletes a server image that you own.<br />
						  Requires imageID (-i)<br />
	-s Server ID, required for some commands. To see the servers run list-servers.<br />
	-i Image ID, required for some commands. To see the images run list-images.<br />
	-f Flavor ID, required for some commands.  To see the flavors run list-flavors.<br />
	-n Name of server(required) or image(optional) when creating them.<br />
	-q Quiet mode, all commands except list-* will exit quietly<br />
	-h show this menu</p>
<p>This is my first attempt at writing something like this and there are most defiantly bugs but I think that it&#8217;s ready for other people to look at.  I have licensed it under the GPL and stored it on github in the hopes that others will find it useful and possibly contribute.  If this is a tool you can use or would like to contribute to please check it out at <a href="https://github.com/jsquared/rscurl">https://github.com/jsquared/rscurl</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jsquaredconsulting.com/blog/2010/11/rscurl-a-rackspace-cloud-server-command-line-tool/feed/</wfw:commentRss>
		<slash:comments>1131</slash:comments>
		</item>
		<item>
		<title>Likewise, the myth debunked</title>
		<link>http://jsquaredconsulting.com/blog/2009/06/likewise-the-myth-debunked/</link>
		<comments>http://jsquaredconsulting.com/blog/2009/06/likewise-the-myth-debunked/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 06:28:08 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[User Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[System administrator]]></category>
		<category><![CDATA[User]]></category>

		<guid isPermaLink="false">http://jsquaredconsulting.com/blog/?p=7</guid>
		<description><![CDATA[This post originally written for my personal blog on June 14th 2009. As a systems administrator in many mixed Windows and linux environments I have seen and made many of my own attempts at integrating the linux servers into the Windows Active Directory structure with mixed results. Linux registration and authentication inside of a Windows [...]]]></description>
			<content:encoded><![CDATA[<p>This post originally written for my personal blog on June 14th 2009.</p>
<p><a href="http://www.likewise.com"><img alt="" src="http://likewise.com/images/logo_likewise_pos.gif" title="Likewise" class="alignleft" width="232" height="36"></a>As a systems administrator in many mixed <a class="zem_slink" href="http://www.microsoft.com/WINDOWS" title="Windows" rel="homepage">Windows</a> and linux environments I have seen and made many of my own attempts at integrating the linux servers into the Windows Active Directory structure with mixed results.  Linux registration and authentication inside of a Windows domain is akin to the bigfoot: some have claimed to see one, many have worked long hours to find them, no one can produce consistent results.  Until now.</p>
<p>At the suggestion by a coworker I decided to give <a href="http://likewise.com" target="_new">Likewise</a> a try on my most recent attempt at bringing our linux servers into the windows domain.  Skeptically I built a new <a class="zem_slink" href="http://www.centos.org/" title="CentOS" rel="homepage">CentOS</a> 5.3 server and proceeded to follow the instructions for installing Likewise.  The seemed too simple and with each step I waited for the fatal issue that would bring the test to it&#8217;s demise.  Software installed, no issues.  As I reviewed the <a href="http://likewise.com/resources/documentation_library/manuals/open/likewise-open-guide.html" target="_new">instructions</a> for adding the system to the domain and found that it only required one command and no further configuration of files I thought, &#8220;This is so going to fall on it&#8217;s face.&#8221;  Command executed and I&#8217;m waiting, then it comes up on the screen: Success.  Success? Really? I don&#8217;t believe it, I log onto the domain controller and there it is, right where new computers are supposed to go in the domain.  I quickly flip over to the manual and look up how to authenticate for ssh, simple DOMAIN\\username@host, and give it the final test.  Success.  In the span of 15 minutes I was able to install the app, add my computer to the domain and authenticate against the domain.  15 more minutes and I was able to limit who could log in and give them sudo access.  This is a huge win for any admin who deals with linux servers in a domain.</p>
<p>I&#8217;m still testing the limits of <a href="http://likewise.com" target="_new">Likewise</a> and I will say that it hasn&#8217;t been without it&#8217;s speed bumps but I plan on paying for a little support and getting the answers I need.  Like may <a class="zem_slink" href="http://www.wikinvest.com/concept/Open_Source" title="Open Source" rel="wikinvest">open source</a> products, Likewise is making it&#8217;s money on support and by selling upgraded functionality.  I applaud this model, allowing the flexibility of open source while still finding a way to pay for all that hard work.  I will be continuing to test the limits of Likewise but as of now I am thoroughly impressed and will continue to use it.</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/bdcfe811-bf6d-41eb-89fd-6e19ef88c268/" title="Reblog this post [with Zemanta]"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=bdcfe811-bf6d-41eb-89fd-6e19ef88c268" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related more-info pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://jsquaredconsulting.com/blog/2009/06/likewise-the-myth-debunked/feed/</wfw:commentRss>
		<slash:comments>1463</slash:comments>
		</item>
	</channel>
</rss>

