<?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>André Aulich &#187; Mac OS X</title>
	<atom:link href="http://www.andre-aulich.de/en/perm/category/mac-os-x/feed" rel="self" type="application/rss+xml" />
	<link>http://www.andre-aulich.de/en</link>
	<description>Digital Asset Management &#38; Workflow Automation</description>
	<lastBuildDate>Mon, 16 Jan 2012 12:42:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Edit remote files using your local BBEdit app and a secure ssh connection</title>
		<link>http://www.andre-aulich.de/en/perm/edit-remote-files-using-your-local-bbedit-app-and-a-secure-ssh-connection</link>
		<comments>http://www.andre-aulich.de/en/perm/edit-remote-files-using-your-local-bbedit-app-and-a-secure-ssh-connection#comments</comments>
		<pubDate>Fri, 06 Jan 2012 10:33:49 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=671</guid>
		<description><![CDATA[I need to edit text files sitting on remote machines all the time, and usually the only fast and secure connection I got is an ssh connection. While vi, emacs and nano are nice tools and are available on most &#8230; <a href="http://www.andre-aulich.de/en/perm/edit-remote-files-using-your-local-bbedit-app-and-a-secure-ssh-connection">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I need to edit text files sitting on remote machines all the time, and usually the only fast and secure connection I got is an ssh connection.</p>
<p>While vi, emacs and nano are nice tools and are available on most Mac and UNIX/Linux machines, using them remotely means that all your personal editor settings might not be available on the remote machine, and if you share a common admin account to connect to the remote machine, you might not be allowed to copy your personal setting files over to the remote machine.</p>
<p>If you prefer your personal editing environment, you either need an editor application which supports opening an ssh connection to the target machine and then opening the file with the local editor settings (like BBEdit), or you need to mount the remote ssh system as a local filesystem and then use any local text editor you prefer (like vi, emacs, TextMate, etc.). The latter can be done using <a href="http://fuse4x.org" title="Fuse4X">Fuse4X</a> and <a href="https://github.com/fuse4x/sshfs" title="sshfs">sshfs</a>. There are plenty of tutorials on the net how to set up Fuse4X and sshfs.</p>
<p>In BBEdit instead, just choose File -> Open from FTP/SFTP Server, then enter your ssh connection details:</p>
<p><a href="http://www.andre-aulich.de/en/wp-content/uploads/2012/01/BBEditOverSSH_1.jpg"><img src="http://www.andre-aulich.de/en/wp-content/uploads/2012/01/BBEditOverSSH_1.jpg" alt="" title="BBEditOverSSH_1" width="417" height="241" class="aligncenter size-full wp-image-672" /></a></p>
<p>Make sure you activate &#8220;SFTP&#8221;, as this tells BBEdit to use ssh instead of ftp.<br />
Now you can browse the remote file system the same way you could using an ssh connection in Terminal:</p>
<p><a href="http://www.andre-aulich.de/en/wp-content/uploads/2012/01/BBEditOverSSH_2.jpg"><img src="http://www.andre-aulich.de/en/wp-content/uploads/2012/01/BBEditOverSSH_2-450x409.jpg" alt="" title="BBEditOverSSH_2" width="450" height="409" class="aligncenter size-medium wp-image-673" /></a></p>
<p>Just browse to the file you are looking for and edit it the same way as it was a local file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/edit-remote-files-using-your-local-bbedit-app-and-a-secure-ssh-connection/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New free tool for Mac OS X and Amazon S3 integration available from Archiware Tech Labs</title>
		<link>http://www.andre-aulich.de/en/perm/new-free-tool-for-mac-os-x-and-amazon-s3-integration-available-from-archiware-tech-labs</link>
		<comments>http://www.andre-aulich.de/en/perm/new-free-tool-for-mac-os-x-and-amazon-s3-integration-available-from-archiware-tech-labs#comments</comments>
		<pubDate>Fri, 06 Jan 2012 09:18:20 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=665</guid>
		<description><![CDATA[Archive / Backup / Synchronize vendor Archiware hast released a free, FUSE based tool to mount your Amazon S3 storage in your Mac&#8217;s file system. The tool is called WingFS and can be found on the brand new Archiware Technical &#8230; <a href="http://www.andre-aulich.de/en/perm/new-free-tool-for-mac-os-x-and-amazon-s3-integration-available-from-archiware-tech-labs">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Archive / Backup / Synchronize vendor <a href="http://www.archiware.com" title="Archiware homepage">Archiware</a> hast released a free, <a href="http://fuse.sourceforge.net/" title="FUSE">FUSE</a> based tool to mount your <a href="http://aws.amazon.com/s3/" title="Amazon S3">Amazon S3</a> storage in your Mac&#8217;s file system.</p>
<p>The tool is called <a href="http://www.archiware.com/techblog/?cat=16" title="WingFS">WingFS</a> and can be found on the brand new <a href="http://www.archiware.com/techblog/" title="Archiware Technical Blog">Archiware Technical Blog</a>.</p>
<p>The tool is available for Mac OS X and is going to be released for Windows and Linux in Q1/2012, too.</p>
<p>While WingFS is cool as it is, I wonder if this is Archiware&#8217;s first step towards cloud integration of their commercial tools, too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/new-free-tool-for-mac-os-x-and-amazon-s3-integration-available-from-archiware-tech-labs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extended Mac Client Management Services</title>
		<link>http://www.andre-aulich.de/en/perm/extended-mac-client-management-services</link>
		<comments>http://www.andre-aulich.de/en/perm/extended-mac-client-management-services#comments</comments>
		<pubDate>Tue, 04 Oct 2011 15:41:29 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Mac Client Management]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=651</guid>
		<description><![CDATA[More and more enterprises want to integrate Mac clients into existing Windows or UNIX/Linux environments without the need to buy, set up and maintain additional Mac servers. I agree with these companies that it can be very efficient to extend &#8230; <a href="http://www.andre-aulich.de/en/perm/extended-mac-client-management-services">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>More and more enterprises want to integrate Mac clients into existing Windows or UNIX/Linux environments without the need to buy, set up and maintain additional Mac servers.</p>
<p>I agree with these companies that it can be very efficient to extend an existing infrastructure for Mac client management, as this allows you to use your support teams for this new task without big changes in organization, operation and infrastructure.</p>
<p>Using free Open Source tools allows Windows and Linux administrators to manage Macs in a similar way like with Apple servers or commercial third party solutions. (You can read more about it in my upcoming <a href="http://www.oreilly.de/catalog/macosxadministrationger/">O&#8217;Reilly book</a>, which I wrote with my co-author Harald Monihart – Harald works for Axel Springer, where he&#8217;s part of the team which integrates 12,000 Macs into a Windows environment)</p>
<p>The standard solution I use at most of my customers includes a little Python program and requires Web services as well as an SMB or AFP share and an Active Directory with an extended schema. Aside from these server-side services, the whole management process happens on an admin Mac client, so that your Windows team takes care for the availability of your Windows servers, while your Mac team takes care for the actual Mac client management – this way you maximize the usage of your admins&#8217; specific know-how.</p>
<p>These are the main advantages of the solution I work with:</p>
<ul>
<li>It doesn&#8217;t matter if you use Windows, Mac or Linux servers – the Mac client management services run on all of them.</li>
<li>There&#8217;s no licensing costs apart from Mac OS X Server or Windows Server costs.</li>
<li>Your users can install software delivered by you without administrative permissions, so that they don&#8217;t need to be admin users – this increases the security level of your Mac environment.</li>
<li>The GUI for your users is so easy to understand, that users either don&#8217;t need any training, or it doesn&#8217;t take longer than five minutes.</li>
<li>This solution can be operated by separated Windows, Linux and Mac teams. It doesn&#8217;t matter if individuals understand both Windows and Mac OS X or if Mac and Windows know-how is spread across multiple people.</li>
<li>Choose yourself how much internal and external resources you use – I provide consulting services to choose the best solution for your environment, help you build this solution, and train your admin team. My team and I also offer monitoring and operating of your Mac client management environment, so there&#8217;s a full choice of services from consulting to full-service operating available.<br />
Please <a href="http://www.andre-aulich.de/en/send-feedback">get in touch</a> to discuss your options.</li>
</ul>
<p>The tools I use help you with the following tasks:</p>
<ul>
<li>Installation and upgrading of operating system and applications (mass deployment)</li>
<li>Asset management</li>
<li>Preferences management on user, group, computer, and computer list level</li>
<li>Remote support of your users</li>
</ul>
<p>If you need help managing Mac clients using Mac, Linux or Windows servers, I&#8217;d be happy to help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/extended-mac-client-management-services/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Let Macs use either Wi-Fi or Ethernet</title>
		<link>http://www.andre-aulich.de/en/perm/let-mac-users-either-use-wi-fi-or-ethernet</link>
		<comments>http://www.andre-aulich.de/en/perm/let-mac-users-either-use-wi-fi-or-ethernet#comments</comments>
		<pubDate>Mon, 26 Sep 2011 11:09:16 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Mac Client Management]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=620</guid>
		<description><![CDATA[If you manage Mac OS X clients, it can be a challenge to manage laptops with access to external Wi-Fi or ethernet networks. For many companies it is important that their laptop users can access external networks for email and &#8230; <a href="http://www.andre-aulich.de/en/perm/let-mac-users-either-use-wi-fi-or-ethernet">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you manage Mac OS X clients, it can be a challenge to manage laptops with access to external Wi-Fi or ethernet networks.</p>
<p>For many companies it is important that their laptop users can access external networks for email and Internet access (e.g. at home, in the hotel or at a customer&#8217;s site) or because they need to access your customer&#8217;s server while they are on-site.</p>
<p>This means that most likely you let your users add network settings on their own.</p>
<p>Yet, in many companies you find both public Wi-Fi networks with internet access but limited access to a company&#8217;s internal network and an ethernet network with full access to the internal network but limited access to the outside world.</p>
<p>Due to security restrictions in these environments it is not allowed to build a bridge between the public Wi-Fi and the internal ethernet network.<br />
But if you let your users change network settings on their own, how do you make sure, that they don&#8217;t build that bridge, either on purpose or by accident?</p>
<p>One way to do this is to use a free tool like <a href="http://code.google.com/p/pymacadmin/">crankd</a>, which allows you to monitor your network devices and to trigger scripts whenever something changes. crankd has become part of the PyMacAdmin tools, so don&#8217;t get confused by the name PyMacAdmin.</p>
<p>In this little tutorial, we use crankd to monitor the ethernet and the Wi-Fi device in a MacBook Pro running Mac OS X 10.6.x. As soon as we get a working Wi-Fi connection, we deactivate our ethernet connection.</p>
<p>First, <a href="https://github.com/acdha/pymacadmin/zipball/master">download</a> and extract crankd.<br />
Cd into the extracted folder and invoke<br />
<code>sudo ./install-crankd.sh</code><br />
to install crankd on you machine.</p>
<p>Now, create the folder /usr/local/bin:<br />
<code>sudo mkdir -p /usr/local/bin</code></p>
<p>Create the file /usr/local/bin/toggleEthernet.sh:<br />
<code>sudo nano /usr/local/bin/toggleEthernet.sh</code></p>
<p>and copy the following code into it:<br />
<code><br />
#!/bin/bash<br />
AirPortStatus="$(/usr/sbin/networksetup -getairportnetwork en1)"<br />
# echo "${AirPortStatus}"<br />
if [[ "${AirPortStatus}" =~ "AirPort power is currently off." ]]; then<br />
	echo "AirPort not running. Activating Ethernet interface."<br />
	/usr/sbin/networksetup -setnetworkserviceenabled Ethernet on<br />
elif [[ "${AirPortStatus}" =~ "Current AirPort Network:" ]] || [[ "${AirPortStatus}" =~ "You are not associated with an AirPort network." ]]; then<br />
	echo "AirPort is running. Deactivating Ethernet interface."<br />
	/usr/sbin/networksetup -setnetworkserviceenabled Ethernet off<br />
fi<br />
echo "========================="</code><br />
(You can instead load the file from <a href="http://www.andre-aulich.de/en/wp-content/uploads/2011/09/toggleEthernet.sh_.zip">here</a>.)</p>
<p>Save this script by typing Control-W, and close nano by typing Control-X.<br />
Connect your test machine to working ethernet and Wi-Fi networks and run the script to see if it works.</p>
<p>If it works as expected, copy <a href="http://www.andre-aulich.de/en/wp-content/uploads/2011/09/de.andre-aulich.crankd.plist_.zip" title="crankd preference file">this file</a> (after unzipping it, of course) into /Library/Preferences/.</p>
<p>The interesting part in this crankd preference file is:<br />
<code><br />
SystemConfiguration<br />
State:/Network/Interface/en1/AirPort<br />
command: /usr/local/bin/toggleEthernet.sh<br />
</code><br />
which means, that crankd listens to our AirPort interface and runs the script /usr/local/bin/toggleEthernet.sh whenever something changes.</p>
<p>To start the crankd daemon during system startup, please download <a href="http://www.andre-aulich.de/en/wp-content/uploads/2011/09/de.andre-aulich.runcrankd.plist_.zip" title="crankd launchd plist file">this file</a>, unzip it and copy it into /Library/LaunchDaemons.</p>
<p>Set the correct permissions:<br />
<code>sudo chmod 644 /Library/LaunchDaemons/de.andre-aulich.runcrankd.plist<br />
sudo chown root:wheel de.andre-aulich.runcrankd.plist</code></p>
<p>and load the job:</p>
<p><code>sudo launchctl load -w de.andre-aulich.runcrankd.plist</code></p>
<p>Now AirPort should be turned off automatically as soon as you activate your ethernet connection.</p>
<p><strong>Note: if someone connects a USB ethernet interface to your laptop, this will not be watched by our example crankd configuration. If you need to monitor multiple ethernet interfaces, you need to customize the configuration files described here.</strong></p>
<p>Using the tools mentioned here, you can allow your laptop users to manage their network settings on their own without building a bridge between internal ethernet network and public Wi-Fi connection.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/let-mac-users-either-use-wi-fi-or-ethernet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A must-see if you want to create anything useful:</title>
		<link>http://www.andre-aulich.de/en/perm/a-must-see-if-you-want-to-create-anything-useful</link>
		<comments>http://www.andre-aulich.de/en/perm/a-must-see-if-you-want-to-create-anything-useful#comments</comments>
		<pubDate>Tue, 05 Jul 2011 14:14:49 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=611</guid>
		<description><![CDATA[http://www.youtube.com/user/LeadershipThinking]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/user/LeadershipThinking">http://www.youtube.com/user/LeadershipThinking</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/a-must-see-if-you-want-to-create-anything-useful/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple&#8217;s Professional Markets Strategy (my two cents)</title>
		<link>http://www.andre-aulich.de/en/perm/apples-professional-markets-strategy-my-two-cents</link>
		<comments>http://www.andre-aulich.de/en/perm/apples-professional-markets-strategy-my-two-cents#comments</comments>
		<pubDate>Tue, 05 Jul 2011 12:19:52 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Final Cut Server]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Xsan/StorNext]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=592</guid>
		<description><![CDATA[Many of the professionals working with Apple kit wonder if Apple is still going to provide them with great tools for professionals, or if Apple is going to more and more focus on consumer or prosumer markets. In short, I &#8230; <a href="http://www.andre-aulich.de/en/perm/apples-professional-markets-strategy-my-two-cents">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Many of the professionals working with Apple kit wonder if Apple is still going to provide them with great tools for professionals, or if Apple is going to more and more focus on consumer or prosumer markets.</p>
<p>In short, I would say, that</p>
<ul>
<li>Apple opens up its pro software like FCP X and Mac OS X Server to the consumer, by making it easier to learn than ever before. A great strategy to sell more boxes and devices, which surely leads to greater turnover, and probably to more profit, too, as consumers buy easy tools and need support on a very low level only (if at all), which Apple can provide for cheap.</li>
<li>Apple dumps all network products, which&#8217;s sole purpose was to help sell more client boxes to professionals in the enterprise or workgroup, like Xserves, Xserve RAIDS, Final Cut Server, and probably -on the long run- other products like Xsan metadata controllers and Mac OS X Server. In fact, I don&#8217;t think there is a big need for any of these products anymore, since Apple clients integrate just fine with Active Directory environments, most file servers, and many storage devices.</li>
<li>I don&#8217;t think that this necessarily means Apple doesn&#8217;t care for the pros anymore. I think that FCP X is already quite powerful, and multicam support, FCP X APIs/XML interfaces, SDI connectivity and the like are going to be added to FCP sooner or later. Yet, I think Apple&#8217;s main market for FCP X is the single user or small workgroup. If you look at FCP X&#8217;s media import options, you&#8217;ll see the option &#8220;Create proxy media&#8221;: <a href="http://www.andre-aulich.de/en/wp-content/uploads/2011/07/FCPXImportOption.jpg"><img src="http://www.andre-aulich.de/en/wp-content/uploads/2011/07/FCPXImportOption-450x316.jpg" alt="" title="FCPXImportOption" width="450" height="316" class="aligncenter size-medium wp-image-593" /></a>If you also look at the Sharing options: <a href="http://www.andre-aulich.de/en/wp-content/uploads/2011/07/FCPXSharingOptions.jpg"><img src="http://www.andre-aulich.de/en/wp-content/uploads/2011/07/FCPXSharingOptions-450x263.jpg" alt="" title="FCPXSharingOptions" width="450" height="263" class="aligncenter size-medium wp-image-594" /></a> you&#8217;ll see that FCP X includes an option to export files and probably metadata to CNN iReport. I bet that FCP X&#8217;s powerful metadata management capabilities and the option to generate proxies during media import, are a very good basis to add iCloud support to FCP X. I guess that for many very small workgroups it would be great to simply send a proxy version of a project to the iCloud, so that another team member can edit a sequence and send it back to the original FCP X machine which has access to hires files to render the final output. This might be a very good Final Cut Server replacement for very small teams.</li>
</ul>
<p>Making tools like FCP simpler than before doesn&#8217;t necessarily mean, that it&#8217;s not suited for pros anymore. Okay, right now it is not, but I am sure, it will soon be.</p>
<p>Yes, Apple has dumped Final Cut Server, which is the base for many postpro environments, now. But FCSvr meant to most of its customers, that you needed Xsan in place (most resellers and consultants were simply not able to design these systems right), that Open or Active Directory needed to work fine and that your Mac and Windows clients needed to be integrated into this directory infrastructure (and again, most service providers could not do these things properly).</p>
<p>This means it was very difficult to get a Final Cut Server infrastructure working, especially as so few people know how to make storage, asset management, Open or Active Directory, filesystem permissions, portable home directories and video editing clients work together smoothly.</p>
<p>In my opinion for many small shops it would be a great step to cut out all this overhead and move FCSvr into the cloud by adding an option to FCP X.</p>
<p>On the other hand, FCSvr leaves a big gap in the market, which tools like CatDV might fill: many shops do not want to publish their data into the cloud.<br />
Especially in Europe people don&#8217;t like to store their business data on servers hosted either in the US or anywhere else by a US company, which might sooner or later grant access to these data to any kind of secret service.<br />
This leaves a need for a local DAM in enterprise environments.</p>
<p>Personally, I would like to have a much easier DAM tool than anything on the market, something that can be set up without needing a consultant, at least for small environments. For bigger environments, I would say that if you work with FCSvr, you will be able to keep your current infrastructure and just replace either the FCSvr server software or probably the whole FCSvr machine to get something else up and running.</p>
<p>As FCSvr is so open, it is totally easy to export media and metadata to any other system.</p>
<p>I had a look at the new FCP X project files and the way FCP X stores files on a central storage. Even without the Apple API I think that there is a way to extract data easily and build them into your own asset management.</p>
<p>Being a consultant, my approach to Apple&#8217;s latest announcements is this:</p>
<ul>
<li>I recommend people to use Windows servers for directory management.</li>
<li>Don&#8217;t know if Xsan will really be free in Lion. Still Xsan is a great tool, but I might recommend people to use StorNext metadata controllers at least if people need rack-mountable hardware.</li>
<li>Apple builds wonderful standalone machines, which can be integrated into enterprise environments. In fact, now that Apple focuses on its core business – building great machines which are easy to use – and doesn&#8217;t care much about the enterprise network stuff around it, there&#8217;s more money in the game for third party developers who build DAM systems. I bet we&#8217;ll see great third party solutions soon and overall Apple kit will better fit into enterprise environments than today.</li>
</ul>
<p>I feel that Apple&#8217;s approach on the pro market might leave us all with better tools in the end.<br />
Let&#8217;s see.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/apples-professional-markets-strategy-my-two-cents/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replace Xsan MDC with StorNext MDC</title>
		<link>http://www.andre-aulich.de/en/perm/replace-xsan-mdc-with-stornext-mdc</link>
		<comments>http://www.andre-aulich.de/en/perm/replace-xsan-mdc-with-stornext-mdc#comments</comments>
		<pubDate>Wed, 09 Feb 2011 13:39:16 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Final Cut Server]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Xsan/StorNext]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=528</guid>
		<description><![CDATA[Attention: I don&#8217;t grant any liability for the text below. If you try any of the steps described here, on your own, I can&#8217;t guarantee that it works for you. So better do this in a test environment. If you &#8230; <a href="http://www.andre-aulich.de/en/perm/replace-xsan-mdc-with-stornext-mdc">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Attention: I don&#8217;t grant any liability for the text below. If you try any of the steps described here, on your own, I can&#8217;t guarantee that it works for you. So better do this in a test environment. If you do this in a production environment, make sure you got a recent backup of all your data and a time window big enough to recreate your setup incl. the restore of your data.</strong></p>
<p>Since Apple has discontinued the Apple Xserve in January 2011, there seems to be a growing need for rack mountable server hardware in the Apple world, which is more powerful than the Mac mini Server and takes less rack space and consumes less power than the Mac Pro.</p>
<p>If you want to run file services, directory services, software update services, and other services for Macs, Windows, and Linux clients, you&#8217;ll find both Linux and Windows based solutions to do just that. On the other hand, the Mac Pro and the Mac mini Server seem to be great systems to serve many of these things, too.</p>
<p>Yet, if you read the announcement of <a href="http://www.activestorage.com/activesan.php">ActiveSAN</a>, it seems as if there was a high demand for a 1U rack mountable metadata controller for Xsan environments.<br />
What the guys at ActiveStorage seem to do is build great server hardware incl. nice monitoring and setup tools, which make it easy to set up a Quantum StorNext metadata controller to handle your Mac-based Xsan clients.</p>
<p>If you are an Xsan or StorNext pro anyway and work in the command line most of the day, you can even replace your existing Apple Xserve MDC with a Linux-based StorNext MDC with a minimal downtime of your Xsan volume. This is what you need:</p>
<ul>
<li>Server hardware which is able to run a recent Linux version. Make sure you add enough RAM, redundant drives for the boot disk, a nice and OS supported FC card, dual Gigabit Ethernet. Note: You can also use a Windows OS instead, which is nice if you integrate with Active Directory, but whatever you do, make sure, the OS of choice supports the LUN size you use in your Xsan setup. The ActiveSAN hardware looks like a very nice solution to this.</li>
<li>I would go for CentOS as the MDC&#8217;s OS, as it&#8217;s officially supported by Quantum and doesn&#8217;t cost you money. If you need support, I would go for RedHat. See <a href="http://downloads.quantum.com/SNMS/4.1/StorNext%204.1%20Supported%20Platforms_V2.pdf">http://downloads.quantum.com/SNMS/4.1/StorNext%204.1%20Supported%20Platforms_V2.pdf</a> for a list of supported MDC platforms.</li>
<li>Make sure to integrate your MDC into your directory environment. Both Active Directory and Open Directory are supported. You will need this to use ACLs (the only way to properly deal with permissions in most Xsan environments).</li>
</ul>
<p>Before you start buying the hardware to build the new MDC, you need to make sure, that you don&#8217;t have named streams enabled in your existing Xsan environment.</p>
<p>To actually migrate the volume from the Xsan MDC to the SNFS MDC, roughly follow these steps:</p>
<ul>
<li>Make sure to use matching filesystem versions in the Xsan environment and on your StorNext controllers.</li>
<li>Run cvfsck -w on the Xsan volumes.</li>
<li>On the primary Xsan metadata controller, save the folder /Library/Filesystems/Xsan/config to a place we can access easily later on, like a USB stick, e.g.</li>
<li>Shut down the Xsan metadata controllers.</li>
<li>Set up the StorNext controllers. The easiest way is to use the same IP addresses as for the Xsan metadata controllers.</li>
<li>After installing the StorNext filesystem and -optionally- the Storage Manager, copy our Xsan volume’s config file into the StorNext controller’s config folder.</li>
<li>Open the config file and delete the lines with the options “NamedStreams”, “EnableSpotlight”, and “SpotlightSearchLevel”.</li>
<li>Optionally, make the volume managed by adding the appropriate option to its config file.</li>
<li>Make sure to run <code>chown www:adic</code> on the config file as well as <code>chmod 664</code></li>
<li>Run cvfsck on the volume.</li>
<li>Start the volume and mount it.</li>
<li>You are done.</li>
</ul>
<p>If you want to add Xsan clients to your StorNext controller, you find a nice article at <a href="http://krypted.com/xsan/adding-xsan-clients-to-stornext-environments/">http://krypted.com/xsan/adding-xsan-clients-to-stornext-environments/</a>.</p>
<p>While this migration is something that can be done very easily, you need to consider, that StorNext currently doesn&#8217;t support Spotlight searches, so you can&#8217;t easily use the Finder to search for content. If your users navigate through the filesystem or use a DAM like Final Cut Server, this is not an issue at all. (On the other hand, the StorNext MDC catches all filesystem events, so I guess it should be possible to write a client, which collects these events and tells a dedicated Mac machine to add new files to the filesystem&#8217;s central Spotlight DB).</p>
<p>Another caveat is that the automatic HSM process in Storage Manager, which moves data to tape and restores them to disk as needed, restores data whenever a file gets invoked by a client. You either need to turn off previews in Finder to prevent constant restores, or you better hide the filesystem from the Finder and let your users access the filesystem through FCSvr and its edit-in-place option only.</p>
<p>One of the best things that come with the migration from Xsan to StorNext is that you can add additional functions (part of SNFS and/or SNSM) like filesystem replication, Distributed Data Mover, HSM functionality, writing to tape, etc.</p>
<p>In addition, SNFS has documented optimization settings for image sequences, which is very interesting for film production.</p>
<p>On the other hand, if you already own an Xserve which runs your Xsan, I would say that this is a great hardware to do just that.</p>
<p>Although I have done the migration described here in the lab, and found it reasonably easy, I am curious to see ActiveSAN as soon as it&#8217;s there, because it looks like they made the process of building a new Xsan/StorNext environment so much easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/replace-xsan-mdc-with-stornext-mdc/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Triggering Time Machine backups using iCal</title>
		<link>http://www.andre-aulich.de/en/perm/triggering-time-machine-backups-using-ical</link>
		<comments>http://www.andre-aulich.de/en/perm/triggering-time-machine-backups-using-ical#comments</comments>
		<pubDate>Wed, 21 May 2008 09:17:07 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/perm/triggering-time-machine-backups-using-ical</guid>
		<description><![CDATA[With the release of Leoaprd many people have started to use Time Machine. Yet, when it runs in the background, it slows down your machine&#8217;s performance. Especially when you work with real-time applications like FCP, it can lead to dropped &#8230; <a href="http://www.andre-aulich.de/en/perm/triggering-time-machine-backups-using-ical">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>With the release of Leoaprd many people have started to use Time Machine. Yet, when it runs in the background, it slows down your machine&#8217;s performance. Especially when you work with real-time applications like FCP, it can lead to dropped frames when it runs.</p>
<p>So better than setting it to automatic mode and let it run every hour, we can schedule our Time Machine backups. While there are some nice GUI applications available for this task, this article explains how you can do this using onboard tools like AppleScript and iCal.</p>
<p>This is a nice and easy one, so don&#8217;t be afraid to go on reading.</p>
<p>First, we need to set up Time Machine in System Preferences:</p>
<p><a href='http://www.andre-aulich.de/en/wp-content/uploads/2008/05/timemachinesystempreferences.jpg' title='Time Machine Settings in System Preferences'><img src='http://www.andre-aulich.de/en/wp-content/uploads/2008/05/timemachinesystempreferences.jpg' alt='Time Machine Settings in System Preferences' /></a></p>
<p>This screenshot assumes that you have already chosen the backup volume. Under Options choose files, folder, and/or volumes which you don&#8217;t want to backup.<br />
The most important part, though, is that you TURN OFF Time Machine. Otherwise it would run every hour, which we are trying to change here.</p>
<p>After this, we can invoke Time Machine manually, which you can either do by using the Time Machine menulet:</p>
<p><a href='http://www.andre-aulich.de/en/wp-content/uploads/2008/05/timemachinemenulet.jpg' title='Time Machine in the menulet'><img src='http://www.andre-aulich.de/en/wp-content/uploads/2008/05/timemachinemenulet.jpg' alt='Time Machine in the menulet' /></a></p>
<p>or by opening the Terminal application in /Applications/Utilities/Terminal, and typing</p>
<p><code><br />
/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper<br />
</code></p>
<p>Either of this would trigger your Time Machine backup, while both methods would invoke the latter command in the background.</p>
<p>Now let&#8217;s use this command and make it executable by iCal.</p>
<p>First, open /Applications/AppleScript/Script Editor, then enter the following text and save the file as a script called Backup:<br />
<code><br />
tell application "Terminal"<br />
	do shell script "/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper"<br />
end tell<br />
</code></p>
<p>This should now look like this:</p>
<p><a href='http://www.andre-aulich.de/en/wp-content/uploads/2008/05/timemachinebackupscript.jpg' title='Time Machine Backup Script in Script Editor'><img src='http://www.andre-aulich.de/en/wp-content/uploads/2008/05/timemachinebackupscript.jpg' alt='Time Machine Backup Script in Script Editor' /></a></p>
<p>Hit Run in Script Editor to see if your little application works.</p>
<p>If it does, you can now go to iCal and open its Settings panel.<br />
Make sure, that in the advanced panel the options &#8220;Turn off all alarms&#8221; and &#8220;Turn off alarms only when iCal is not open&#8221; are not active.<br />
This makes sure, that your backups will run no matter if iCal is running or not.</p>
<p>Yet, the whole story only works as long as your current user is logged in to the GUI of your machine, so you might want to activate automatic login for your user (or you don&#8217;t, as you like).</p>
<p>Now create a new iCal event (which might be created in a dedicated Backup calendar):</p>
<p><a href='http://www.andre-aulich.de/en/wp-content/uploads/2008/05/timemachineicalevent.jpg' title='Time Machine backup as iCal event'><img src='http://www.andre-aulich.de/en/wp-content/uploads/2008/05/timemachineicalevent.jpg' alt='Time Machine backup as iCal event' /></a></p>
<p>The trick here is to set up an alarm and use &#8220;run script&#8221; as the alarm action. Now select your Apple Script which you have just created and save your choice.<br />
Schedule this event to a time at which you don&#8217;t work, and set up the recurrence rule.</p>
<p>Voilà! You&#8217;re done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/triggering-time-machine-backups-using-ical/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to update a 10.4/Xsan 1.4.2 MDC to 10.5/Xsan 2 and replace the RAID hardware at the same time</title>
		<link>http://www.andre-aulich.de/en/perm/how-to-update-a-104xsan-142-mdc-to-105xsan-2-and-replace-the-raid-hardware-at-the-same-time</link>
		<comments>http://www.andre-aulich.de/en/perm/how-to-update-a-104xsan-142-mdc-to-105xsan-2-and-replace-the-raid-hardware-at-the-same-time#comments</comments>
		<pubDate>Sun, 27 Apr 2008 09:50:29 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Xsan/StorNext]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/perm/how-to-update-a-104xsan-142-mdc-to-105xsan-2-and-replace-the-raid-hardware-at-the-same-time</guid>
		<description><![CDATA[More and more shops update their Xsan environments to Leopard server and client and Xsan 2. While this is quite easy, I&#8217;ve got some customers who want to replace their existing Apple Xserve RAIDs with 4Gb, redundant-controllers PROMISE RAIDs at &#8230; <a href="http://www.andre-aulich.de/en/perm/how-to-update-a-104xsan-142-mdc-to-105xsan-2-and-replace-the-raid-hardware-at-the-same-time">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>More and more shops update their Xsan environments to Leopard server and client and Xsan 2.</p>
<p>While this is quite easy, I&#8217;ve got some customers who want to replace their existing Apple Xserve RAIDs with 4Gb, redundant-controllers PROMISE RAIDs at the same time.</p>
<p>I choose the following way to do the whole thing:</p>
<ul>
<li>
Upgrade your existing Xsan environment to the latest Mac OS X 10.4.x/ Mac OS X Server 10.4.x version and upgrade to Xsan 1.4.2.
</li>
<li>Do a quick cvfsck on your volume, if necessary invoke cvfsck -w.</li>
<li>Now rename /Library/Filesystems/Xsan/config/XsanVolumeName.cfg to /Library/Filesystems/Xsan/config/XsanVolumeNameOld.cfg.</li>
<li>In /Library/Filesystems/Xsan/config/fsmlist change XsanVolumeName to XsanVolumeNameOld.</li>
<li>Fix the ICB mismatch by invoking cvfsk -w in interactive mode. This and the above two steps are explained at <a href="http://www.xsanity.com/article.php/20071125064731410">Xsanity</a>.
<li>
Now copy the MDC&#8217;s directory /Library/Filesystems/Xsan/config/ to an external device.
</li>
<li>
Install Leopard on the MDC, upgrade it to the latest version, and install Xsan 1.4.2 on it, too. Enter a valid Xsan serial number in Xsan Admin (Xsan 2 license works with Xsan 1.4.2, too).</li>
<li>
Mount the existing volume to see if it still works. Now unmount it, stop the volume, and install Xsan 2.</li>
<li>If you open Xsan Admin the Xsan Assistant starts up and asks you for some self-explaining data. After that your volume can be mounted again. Try if it still works and then deactivate and stop the volume again.</li>
<li>Again, cfsck the volume.</li>
<li>Now you can set up your new device, mount it using your old device&#8217;s original volume name and copy the data over to the new storage.</li>
<li>After you copied the data to the new device, delete the old Xsan volume and remove it physically.</li>
<li>Now install Leopard on all FC connected machines as well as Xsan 2 and integrate them with you new Xsan volume.</li>
<p>Hope this helps.</p>
<p>USE AT YOUR OWN RISK !!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/how-to-update-a-104xsan-142-mdc-to-105xsan-2-and-replace-the-raid-hardware-at-the-same-time/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Additional Config Script for Xsan 2 certified Promise RAIDs (and for the uncertified ones, too)</title>
		<link>http://www.andre-aulich.de/en/perm/additional-config-script-for-xsan-2-certified-promise-raids-and-for-the-uncertified-ones-too</link>
		<comments>http://www.andre-aulich.de/en/perm/additional-config-script-for-xsan-2-certified-promise-raids-and-for-the-uncertified-ones-too#comments</comments>
		<pubDate>Mon, 07 Apr 2008 12:51:02 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Xsan/StorNext]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/perm/additional-config-script-for-xsan-2-certified-promise-raids-and-for-the-uncertified-ones-too</guid>
		<description><![CDATA[When you create a second (third, fourth,&#8230;) storage pool in your Xsan volume and use the Apple Xsan 2 certified Promise RAIDs, you might only want to create data LUNs on these RAIDs, as you already store your metadata for &#8230; <a href="http://www.andre-aulich.de/en/perm/additional-config-script-for-xsan-2-certified-promise-raids-and-for-the-uncertified-ones-too">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When you create a second (third, fourth,&#8230;) storage pool in your Xsan volume and use the Apple Xsan 2 certified Promise RAIDs, you might only want to create data LUNs on these RAIDs, as you already store your metadata for this volume somewhere else.</p>
<p>Apple and Promise provide you with config scripts for the Promise RAIDs, of which one is supposed to configure pure data LUNs for Xsan environments.<br />
You find their script <a href="http://support.apple.com/kb/HT1161">here</a> (works with SATA drives).</p>
<p>Yet, if you look at the script, you will see, that this part</p>
<p><code>array -a add -p 13,14,15 -s "alias=Scratch1" -c 1 -l "alias=Scratch1,raid=5,readpolicy=readahead,writepolicy=writeback, preferredctrlid=1"</code></p>
<p>creates a third LUN on your RAID, which is made of three disks working as RAID level 5. This LUN, called &#8220;Scratch&#8221;, co-exists with two other LUNs, named &#8220;Data1&#8243; and &#8220;Data2&#8243;, which contain six disks each.</p>
<p>If two Promise RAIDs make one Xsan volume, you would probably use <a href="http://support.apple.com/kb/HT1160">this script</a> to configure the first RAID with two mirrored disks for metadata, six RAID 5 disks for LUN Data1, six RAID 5 disks for LUN Data2, and two global hotspare disks.<br />
If now you add a second RAID, you need to configure LUNs of the same size like the ones on the first RAID.</p>
<p>That&#8217;s why Apple&#8217;s script for data only RAIDs creates to six disks RAID level 5 arrays.<br />
As this leaves us four empty disks, Apple decided to create a third LUN based on three disks, which then you can format using HFS+ for Final Cut Pro project files (You would then use zoning on your FC switch to mount this scratch LUN on one machine only, which uses AFP to reshare this volume with your FCP clients). Also, this leaves one more disk free, which is then set up as a global hotspare disk.</p>
<p>Though this thinking is completely correct, some of us might want to add Promise RAIDs to an already existing Xsan volume. If your older RAIDs are Apple Xserve RAIDs, you might want to create an extra storage pool for your Promise RAIDs (see <a href="http://support.apple.com/kb/HT1110">http://support.apple.com/kb/HT1110</a>).</p>
<p>Probably you don&#8217;t want to create the third scratch LUN on each of your RAIDs if all you need is more sped and capacity for your Xsan volume.</p>
<p>So open up Apple&#8217;s config script in your favorite text editor (vi, nano, BBEdit,&#8230;), and do the following:</p>
<ul>
<li>Change <code>array -a add -p 1,2,5,6,9,10 -s "alias=Data1" -c 1 -l "alias=Data1,raid=5,readpolicy=readahead,writepolicy=writeback, preferredctrlid=1"</code> to <code>array -a add -p 1,2,5,6,9,10,13 -s "alias=Data1" -c 1 -l "alias=Data1,raid=5,readpolicy=readahead,writepolicy=writeback, preferredctrlid=1"</code><br />
During import this will later create the first seven disks RAID level 5 data LUN.</li>
<li>Change <code>array -a add -p 3,4,7,8,11,12 -s "alias=Data2" -c 1 -l "alias=Data2,raid=5,readpolicy=readahead,writepolicy=writeback, preferredctrlid=2</code> to <code>array -a add -p 3,4,7,8,11,12,14 -s "alias=Data2" -c 1 -l "alias=Data2,raid=5,readpolicy=readahead,writepolicy=writeback, preferredctrlid=2</code><br />
This will later create the second seven disks RAID level 5 data LUN.</li>
<li>Delete <code>array -a add -p 13,14,15 -s "alias=Scratch1" -c 1 -l "alias=Scratch1,raid=5,readpolicy=readahead,writepolicy=writeback, preferredctrlid=1"</code><br />
Now the script won&#8217;t create the scratch LUN anymore.</li>
<li>Change <code>spare -a add -p 16 -t g -r y</code> to <code>spare -a add -p 15,16 -t g -r y</code><br />
This will set up two hotspare drives.</li>
<li>To make it perfect, delete <code>init -a start -l 2 -q 100</code><br />
This wil prevent the script from trying to initialize the scratch LUN (which will not be created by our script).</li>
<p>All commands you find in the Apple config scripts can be either imported as a script via <a href="http://support.apple.com/kb/HT1200">the GUI</a> or manually entered in the CLI of the RAID.<br />
They even work with the original Promise VTrak E610f RAIDs.</p>
<p>Yet, make sure you upgrade your Promise RAID&#8217;s firmware to 3.28.0000.00 before you import the script, otherwise with 3.22.0000.00 it will not understand the part <code>hostcacheflushing=disable</code>, additionally config script import will only be possible on the CLI with older firmware versions. (BTW, the Apple certified Promise RAIDs come with 3.29.0000.00 pre-installed, which can not be downloaded from the Promise site).</p>
<p>ATTENTION: USE THIS INFORMATION AT YOUR OWN RISK!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/additional-config-script-for-xsan-2-certified-promise-raids-and-for-the-uncertified-ones-too/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

