<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-7001061799867222901</id><updated>2009-12-25T21:51:39.967+01:00</updated><title type='text'>My 2nd Head</title><subtitle type='html'>Overflow Buffer for my 1st Head</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default?start-index=26&amp;max-results=25'/><author><name>Mika</name><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-4342490450474448596</id><published>2009-12-10T23:06:00.006+01:00</published><updated>2009-12-10T23:41:05.690+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='zfs arc metadata cache openstorage sun 7410'/><title type='text'>Efficient metadata caching</title><content type='html'>In my last post I was talking about 1 Million mailboxes. Each of them is a directory with several subdirectories, like Trash, Sent Items etc.&lt;br /&gt;&lt;br /&gt;The mailbox directory itself lies 4 directories below the root node (like /a/b/c/mailbox). The hierarchy is managed by our mail-store application.&lt;br /&gt;&lt;br /&gt;I don't know the average number of files/directory, but let's assume, each mailbox consists in average of 20 files/directories, we would currently have about 20'000'000 inodes.&lt;br /&gt;&lt;br /&gt;Mailbox access is mostly random. We don't know when a mail is coming in, we also don't know about when a user is reading his mails. What we now from experience is, that a lot of time is spend in looking up metadata.&lt;br /&gt;&lt;br /&gt;With mostly random access (we measured it as ~ 55% write / 45% read a while ago), and the amount of data, the chance to identify a data working set is quite low. Ok, maybe recently received emails could be part of a "working-set". &lt;br /&gt;&lt;br /&gt;But wouldn't it be great if we could cache as much metadata as possible?&lt;br /&gt;&lt;br /&gt;Roch Bourbonnais wrote a &lt;a href="http://blogs.sun.com/roch/entry/need_inodes"&gt;blog&lt;/a&gt; entry a while ago about inodes on zfs. This is by no means a scientific analysis, but let's take his numbers:&lt;br /&gt;&lt;br /&gt;"23.8M files consuming 27GB of data. Basically less than 1.2K of used disk space per KB of files" &lt;br /&gt;&lt;br /&gt;Let's say, each mail/directory uses 0.2K, and we have 20'000'000 of them, we would currently have 3.8GB of inode data. No problem to cache that. I certainly have to investigate a little bit more what kind of metadata the ARC Cache is caching.&lt;br /&gt;&lt;br /&gt;Thanks to analytics, I can at least do a bit of sanity checking, it currently shows me that around 11G inside ARC are used for metadata caching.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c6lTBP33IUw/SyF3AjyF57I/AAAAAAAAACg/E40Fq7ZRD2o/s1600-h/Screenshot-2.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 86px;" src="http://3.bp.blogspot.com/_c6lTBP33IUw/SyF3AjyF57I/AAAAAAAAACg/E40Fq7ZRD2o/s400/Screenshot-2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5413739078565095346" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;If we take another view, we can see that not only do we have metadata cached, it is also heavily used. In this picture I have colored all cache hits.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c6lTBP33IUw/SyF3edd19wI/AAAAAAAAACo/dKLXWvaBI7o/s1600-h/Screenshot-1.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 121px;" src="http://2.bp.blogspot.com/_c6lTBP33IUw/SyF3edd19wI/AAAAAAAAACo/dKLXWvaBI7o/s400/Screenshot-1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5413739592265627394" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Lessons learned today: &lt;br /&gt;&lt;br /&gt;-ZFS does not waste space for inodes and therefore not cache.&lt;br /&gt;-ARC is very efficient&lt;br /&gt;&lt;br /&gt;Questions to be answered:&lt;br /&gt;&lt;br /&gt;-What does "metadata" include?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-4342490450474448596?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/4342490450474448596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=4342490450474448596' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/4342490450474448596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/4342490450474448596'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2009/12/efficient-metadata-caching.html' title='Efficient metadata caching'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_c6lTBP33IUw/SyF3AjyF57I/AAAAAAAAACg/E40Fq7ZRD2o/s72-c/Screenshot-2.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-1422347201868670770</id><published>2009-12-02T10:22:00.008+01:00</published><updated>2009-12-03T19:55:00.169+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='zfs zil ssd slog logzilla'/><title type='text'>The noise of 1'000'000 inactive mailboxes</title><content type='html'>We have now migrated all inactive mailboxes (some may obviously be active again) to one 7410 Cluster.&lt;br /&gt;&lt;br /&gt;What you can see is the IO generated by these boxes. Even if the mailboxes are abandoned they receive mails (spam, newsletters etc.)&lt;br /&gt;&lt;br /&gt;Storage2/HDD4 and storage2/HDD8 are again the mirrored SLOG devices. As we can see here, they don't have any problems at all with the write load. If you look at all the other HDDs you see the low IOPS numbers&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c6lTBP33IUw/SxYyFnYvWtI/AAAAAAAAACQ/VLXO_Zu7lb0/s1600-h/mailin.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 173px;" src="http://2.bp.blogspot.com/_c6lTBP33IUw/SxYyFnYvWtI/AAAAAAAAACQ/VLXO_Zu7lb0/s400/mailin.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5410567074385713874" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Looking at how many bytes per seconds are going through the disks we can see that the SLOGs are busy collecting all synchronous bits and bytes.&lt;br /&gt;&lt;br /&gt;The slow 1TB disks get about ~700k of data per second. Looking at e.g. HDD11 we see a low number of IOPS. I would guess the average IO size is about 60-70kB. As a reference, an email is around 4k to 8k. &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c6lTBP33IUw/SxY4gXFrpVI/AAAAAAAAACY/v3yxU9dxRlE/s1600-h/bytes.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 194px;" src="http://1.bp.blogspot.com/_c6lTBP33IUw/SxY4gXFrpVI/AAAAAAAAACY/v3yxU9dxRlE/s400/bytes.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5410574130937046354" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;What this means: We get larger IOs to the disk thanks to the slog.&lt;br /&gt;&lt;br /&gt;Thanks, mighty Logzilla :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-1422347201868670770?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/1422347201868670770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=1422347201868670770' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/1422347201868670770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/1422347201868670770'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2009/12/noise-of-1000000-inactive-mailboxes.html' title='The noise of 1&apos;000&apos;000 inactive mailboxes'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_c6lTBP33IUw/SxYyFnYvWtI/AAAAAAAAACQ/VLXO_Zu7lb0/s72-c/mailin.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-7197728169107055212</id><published>2009-10-18T19:04:00.009+02:00</published><updated>2009-10-18T21:27:25.229+02:00</updated><title type='text'>SLOG Latency</title><content type='html'>After reading Brendan's newest &lt;a href="http://blogs.sun.com/brendan/entry/hybrid_storage_pool_top_speeds"&gt;blog&lt;/a&gt; entry, I was curious about what kind of slog latency we can see for our data migration load.&lt;br /&gt;&lt;br /&gt;To remind you, only synchronous writes go into the slog SSD devices.&lt;br /&gt;&lt;br /&gt;As this is a migration running, we can see mostly NFS write operations:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c6lTBP33IUw/SttWZamw1fI/AAAAAAAAABo/4H0I7rzmhnU/s1600-h/nfsv4.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 50px;" src="http://3.bp.blogspot.com/_c6lTBP33IUw/SttWZamw1fI/AAAAAAAAABo/4H0I7rzmhnU/s400/nfsv4.png" alt="" id="BLOGGER_PHOTO_ID_5393999973344925170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In our configuration the SSD slog is mirrored (HDD4 and HDD8). Hence the same number of IOPS:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c6lTBP33IUw/SttXGwrtIvI/AAAAAAAAABw/gHAl7000uLs/s1600-h/ssd.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 59px;" src="http://2.bp.blogspot.com/_c6lTBP33IUw/SttXGwrtIvI/AAAAAAAAABw/gHAl7000uLs/s400/ssd.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5394000752365347570" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The next picture shows us the latency for our SDD SLOG Device HDD 4. We can see here that latencies start at 79 us and are mostly under 200 us. There are some outliers, but approx. 95% are under 500 us:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c6lTBP33IUw/SttY-ZCGZkI/AAAAAAAAAB4/bcu6NkS2vWc/s1600-h/latency.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 54px;" src="http://1.bp.blogspot.com/_c6lTBP33IUw/SttY-ZCGZkI/AAAAAAAAAB4/bcu6NkS2vWc/s400/latency.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5394002807601129026" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This matches quite well with the values Brendan blogged about (137-181 us), which includes NFSv3 latency. For reference (no picture here), we can see latencies of about 170-500 us mostly for NFSv4.&lt;br /&gt;&lt;br /&gt;By the way. SLOG Devices are mostly one way devices, as shown here. Only if things go really bad, they are read from...&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c6lTBP33IUw/Stta9-lzCJI/AAAAAAAAACI/PO9o9ELYPXo/s1600-h/slog_write.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 50px;" src="http://4.bp.blogspot.com/_c6lTBP33IUw/Stta9-lzCJI/AAAAAAAAACI/PO9o9ELYPXo/s400/slog_write.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5394004999526353042" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-7197728169107055212?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/7197728169107055212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=7197728169107055212' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/7197728169107055212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/7197728169107055212'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2009/10/slog-latency.html' title='SLOG Latency'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_c6lTBP33IUw/SttWZamw1fI/AAAAAAAAABo/4H0I7rzmhnU/s72-c/nfsv4.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-2531406392238508903</id><published>2009-10-06T20:48:00.002+02:00</published><updated>2009-10-06T20:51:27.533+02:00</updated><title type='text'>Resilvering progress...found!</title><content type='html'>Found the CLI menu for resilvering progress :-)&lt;br /&gt;&lt;br /&gt;file1:configuration storage (pool-1)&gt; show&lt;br /&gt;Pools:&lt;br /&gt;&lt;br /&gt;       POOL    OWNER         DATA PROFILE  LOG PROFILE   STATUS&lt;br /&gt;pool = pool-1  file1         mirror_nspf   log_mirror_nspf  degraded&lt;br /&gt;&lt;br /&gt;Properties:&lt;br /&gt;                          pool = pool-1&lt;br /&gt;                        status = degraded&lt;br /&gt;                         owner = file1&lt;br /&gt;                       profile = mirror_nspf&lt;br /&gt;                   log_profile = log_mirror&lt;br /&gt;                 cache_profile = cache_stripe&lt;br /&gt;                         scrub = resilver in progress for 4h46m, 83.85% done, 0h55m to go&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-2531406392238508903?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/2531406392238508903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=2531406392238508903' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/2531406392238508903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/2531406392238508903'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2009/10/resilvering-progressfound.html' title='Resilvering progress...found!'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-4511370904086606729</id><published>2009-10-01T21:45:00.003+02:00</published><updated>2009-10-02T10:04:54.266+02:00</updated><title type='text'>High IOPS for 1TB Disks</title><content type='html'>Wondering how 1TB disk can have such a high IOPS.&lt;br /&gt;&lt;br /&gt;HDD8 and HDD4 are Log-Devices (SSD)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c6lTBP33IUw/SsUH_4U50_I/AAAAAAAAABg/-EaKuv7waDM/s1600-h/highiops2.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 333px;" src="http://4.bp.blogspot.com/_c6lTBP33IUw/SsUH_4U50_I/AAAAAAAAABg/-EaKuv7waDM/s400/highiops2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5387721323251880946" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;UPDATE:&lt;/span&gt; For the moment I assume, these are writes to the disk cache.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-4511370904086606729?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/4511370904086606729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=4511370904086606729' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/4511370904086606729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/4511370904086606729'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2009/10/high-iops-for-1tb.html' title='High IOPS for 1TB Disks'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_c6lTBP33IUw/SsUH_4U50_I/AAAAAAAAABg/-EaKuv7waDM/s72-c/highiops2.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-5741852325467439309</id><published>2009-10-01T07:01:00.004+02:00</published><updated>2009-10-01T07:10:43.910+02:00</updated><title type='text'>Being bored....</title><content type='html'>...while doing 22536 NFS ops per second, and doing gzip-2 at the same time.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c6lTBP33IUw/SsQ5qNQtM_I/AAAAAAAAABQ/g2BqFSu6Sg0/s1600-h/analytics.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 314px;" src="http://4.bp.blogspot.com/_c6lTBP33IUw/SsQ5qNQtM_I/AAAAAAAAABQ/g2BqFSu6Sg0/s400/analytics.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5387494451518977010" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.sun.com/ahl/entry/hybrid_storage_pools_in_cacm"&gt;HSP&lt;/a&gt; really works. NFS synchronous operations get "eaten" by the SSD devices (1133 IOPS).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-5741852325467439309?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/5741852325467439309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=5741852325467439309' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/5741852325467439309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/5741852325467439309'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2009/10/being-bored.html' title='Being bored....'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_c6lTBP33IUw/SsQ5qNQtM_I/AAAAAAAAABQ/g2BqFSu6Sg0/s72-c/analytics.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-5917550255977283238</id><published>2009-09-01T20:41:00.008+02:00</published><updated>2009-09-01T20:49:17.570+02:00</updated><title type='text'>Trekkie Stuff...</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Enterprise Warp Core:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c6lTBP33IUw/Sp1rHt4__RI/AAAAAAAAAA4/Epc5j2VeJtk/s1600-h/21082009599.jpg"&gt;&lt;img style="cursor: pointer; width: 300px; height: 400px;" src="http://1.bp.blogspot.com/_c6lTBP33IUw/Sp1rHt4__RI/AAAAAAAAAA4/Epc5j2VeJtk/s400/21082009599.jpg" alt="" id="BLOGGER_PHOTO_ID_5376571310472166674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Borg Cube:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c6lTBP33IUw/Sp1rdxlHx6I/AAAAAAAAABA/iIIcuGTaMMU/s1600-h/26082009603.jpg"&gt;&lt;img style="cursor: pointer; width: 240px; height: 320px;" src="http://2.bp.blogspot.com/_c6lTBP33IUw/Sp1rdxlHx6I/AAAAAAAAABA/iIIcuGTaMMU/s320/26082009603.jpg" alt="" id="BLOGGER_PHOTO_ID_5376571689419655074" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PS: We all know who won in the end ;-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-5917550255977283238?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/5917550255977283238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=5917550255977283238' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/5917550255977283238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/5917550255977283238'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2009/09/trekkie-stuff.html' title='Trekkie Stuff...'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_c6lTBP33IUw/Sp1rHt4__RI/AAAAAAAAAA4/Epc5j2VeJtk/s72-c/21082009599.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-5130790921296467294</id><published>2008-11-03T22:25:00.002+01:00</published><updated>2008-11-03T22:44:54.844+01:00</updated><title type='text'>Opensolaris, Huawei E220, Swisscom and Sunrise</title><content type='html'>I was able to open a 3G connection to Swisscom and Sunrise using a Huawei E220 3G Modem under Opensolaris.&lt;br /&gt;&lt;br /&gt;Here are the config files (If PIN is enabled on the SIM, add OK "AT+CPIN=????" to the chat script)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Swisscom:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;/etc/ppp/chat-swisscom:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;ABORT BUSY&lt;br /&gt;ABORT 'NO CARRIER'&lt;br /&gt;ABORT ERROR&lt;br /&gt;REPORT CONNECT&lt;br /&gt;TIMEOUT 120&lt;br /&gt;"" "AT&amp;amp;F"&lt;br /&gt;OK "ATZ"&lt;br /&gt;OK "ATQ0 V1 E1 S0=0 &amp;amp;C1 &amp;amp;D2"&lt;br /&gt;#OK "AT+CPIN=????"&lt;br /&gt;OK 'AT+CGDCONT=1,"IP","gprs.swisscom.ch"'&lt;br /&gt;SAY "Calling Swisscom"&lt;br /&gt;OK "ATDT*99***1#"&lt;br /&gt;TIMEOUT 120&lt;br /&gt;CONNECT ''&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;/etc/ppp/peers/swisscom:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;term/1&lt;br /&gt;115200&lt;br /&gt;connect "/usr/bin/chat -V -t15 -f /etc/ppp/chat-swisscom"&lt;br /&gt;idle 7200&lt;br /&gt;lock&lt;br /&gt;crtscts&lt;br /&gt;noipdefault&lt;br /&gt;modem&lt;br /&gt;user "gprs"&lt;br /&gt;password "gprs"&lt;br /&gt;noauth&lt;br /&gt;passive&lt;br /&gt;usepeerdns&lt;br /&gt;defaultroute&lt;br /&gt;connect-delay 6000&lt;br /&gt;novj&lt;br /&gt;nodetach&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Sunrise:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;/etc/ppp/chat-sunrise:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;ABORT BUSY&lt;br /&gt;ABORT 'NO CARRIER'&lt;br /&gt;ABORT ERROR&lt;br /&gt;REPORT CONNECT&lt;br /&gt;TIMEOUT 120&lt;br /&gt;"" "AT&amp;amp;F"&lt;br /&gt;OK "ATZ"&lt;br /&gt;OK 'ATS7=60'&lt;br /&gt;#OK "AT+CPIN=????"&lt;br /&gt;OK "AT+COPS?"&lt;br /&gt;OK "AT&amp;amp;V"&lt;br /&gt;OK "AT+CSQ"&lt;br /&gt;OK 'AT+CFUN=?'&lt;br /&gt;OK 'AT+CGDCONT=?'&lt;br /&gt;OK 'AT+CPBR=?'&lt;br /&gt;OK 'AT+CPBS=?'&lt;br /&gt;OK 'AT+CGDCONT=1,"IP","Internet"'&lt;br /&gt;SAY "Calling Sunrise"&lt;br /&gt;OK 'ATDT*99***1#'&lt;br /&gt;TIMEOUT 120&lt;br /&gt;CONNECT ''&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;/etc/ppp/peers:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;term/1&lt;br /&gt;115200&lt;br /&gt;connect "/usr/bin/chat -V -t15 -f /etc/ppp/chat-sunrise"&lt;br /&gt;idle 7200&lt;br /&gt;lock&lt;br /&gt;crtscts&lt;br /&gt;noipdefault&lt;br /&gt;modem&lt;br /&gt;user ""&lt;br /&gt;password ""&lt;br /&gt;noauth&lt;br /&gt;passive&lt;br /&gt;usepeerdns&lt;br /&gt;defaultroute&lt;br /&gt;connect-delay 6000&lt;br /&gt;novj&lt;br /&gt;nodetach&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Don't forget to adjust the term/? line to reflect your /dev/term/? device.&lt;br /&gt;&lt;br /&gt;After this, just fire up "pppd call swisscom" or "pppd call sunrise" and adjust your resolv.conf. The DNS Servers are in the output. For debugging just add -d to the pppd command.&lt;br /&gt;&lt;br /&gt;There are a few problems with the Huawei E220, as it is recognized as a storage device first, and not as a serial device.&lt;br /&gt;&lt;br /&gt;See the Opensolaris &lt;a href="http://www.opensolaris.org/jive/thread.jspa?messageID=270938"&gt;Forum&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Most of the time the modem is recognized correctly when the Modem is plugged in before booting, and doing a reconfiguration boot with grub. ( press "e" -&gt; append "-rv" -&gt; &lt;enter&gt; -&gt; press "b" )&lt;br /&gt;&lt;br /&gt;There is also a patch for the Eee PC's Serial USB Port driver. See Masafumi's &lt;a href="http://masafumi-ohta.blogspot.com/2008/10/fantastic.html"&gt;Blog&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Good luck!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-5130790921296467294?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/5130790921296467294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=5130790921296467294' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/5130790921296467294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/5130790921296467294'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2008/11/opensolaris-huawei-e220-swisscom-and.html' title='Opensolaris, Huawei E220, Swisscom and Sunrise'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-494029889294447898</id><published>2008-11-02T22:47:00.007+01:00</published><updated>2008-11-02T23:44:50.333+01:00</updated><title type='text'>Connecting Opensolaris to a Cisco VPN</title><content type='html'>I finally got my Opensolaris box hooked up to a Cisco VPN:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Get the tun/tap &lt;a href="http://www.whiteboard.ne.jp/%7Eadmin2/tuntap/source/tuntap/tuntap.tar.gz"&gt;driver&lt;/a&gt; from &lt;a href="http://www.whiteboard.ne.jp/%7Eadmin2/tuntap/"&gt;Kazuyoshi.&lt;/a&gt; This driver is used for creating a using between the client and the Cisco VPN router.&lt;br /&gt;&lt;br /&gt;2. Compile and install the driver:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;pkg install sunstudioexpress&lt;br /&gt;export CC=/opt/SunStudioExpress/bin/cc&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Download the &lt;a href="http://www.unix-ag.uni-kl.de/%7Emassar/vpnc/"&gt;vpnc&lt;/a&gt; client. This program handels the vpn connection. I've used the version &lt;a href="http://www.unix-ag.uni-kl.de/%7Emassar/vpnc/vpnc-0.5.1.tar.gz"&gt;0.5.1.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. Get gmake&lt;br /&gt;&lt;code&gt;&lt;br /&gt;pkg install SUNWgmake&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;5. Adjust installation paths (my personal preferences):&lt;br /&gt;&lt;code&gt;&lt;br /&gt;Makefile:&lt;br /&gt;&lt;br /&gt;PREFIX=/opt/vpnc&lt;br /&gt;ETCDIR=/opt/vpnc/etc&lt;br /&gt;&lt;br /&gt;config.c (hardcoded locations):&lt;br /&gt;&lt;br /&gt;Line 250: return "/opt/vpnc/etc/ssl/certs";&lt;br /&gt;Line 270: return "/opt/vpnc/etc/vpnc-script";&lt;br /&gt;Line 275: return "/var/run/vpnc.pid";&lt;br /&gt;Line 541: ... : /opt/vpnc/etc/", ...&lt;br /&gt;Line 760: ... "/opt/vpnc/etc/default.conf" ...&lt;br /&gt;Line 761: ... "/opt/vpnc/etc/vpnc.conf" ...&lt;br /&gt;&lt;br /&gt;gmake&lt;br /&gt;gmake install&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;6. Convert the pcf file into vpnc format using &lt;span style="font-family: courier new;"&gt;/opt/vpnc/pcf2vpnc&lt;/span&gt;. Store the file in /opt/vpnc/etc&lt;br /&gt;&lt;br /&gt;7. Now comes the tricky part. Create the &lt;span style="font-family: courier new;"&gt;/opt/vpnc/etc/vpnc-script -script&lt;/span&gt;. The script opens the connection and sets up the appropriate routing.&lt;br /&gt;&lt;br /&gt;My target was to just have a couple of connections go through the tunnel instead of all.&lt;br /&gt;&lt;br /&gt;Attention! If you want to have a default route set into the tunnel, be sure to add some direct routes to your vpn gateway before the default route points to the tunnel. Otherwise the vpn gateway will become unreachable and the tunnel goes down. Your remote gateway can be found in your conf file ("IPSec gateway" line).&lt;br /&gt;&lt;br /&gt;Depending on what you want to achieve, you have to configure your DNS servers in /etc/resolv.conf manually.&lt;br /&gt;&lt;br /&gt;Here is my sample /opt/vpnc/etc/vpnc-script :&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;#* reason                       -- why this script was called, one of: pre-init connect disconnect&lt;br /&gt;#* VPNGATEWAY                   -- vpn gateway address (always present)&lt;br /&gt;#* TUNDEV                       -- tunnel device (always present)&lt;br /&gt;#* INTERNAL_IP4_ADDRESS         -- address (always present)&lt;br /&gt;#* INTERNAL_IP4_NETMASK         -- netmask (often unset)&lt;br /&gt;#* INTERNAL_IP4_DNS             -- list of dns serverss&lt;br /&gt;#* INTERNAL_IP4_NBNS            -- list of wins servers&lt;br /&gt;#* CISCO_DEF_DOMAIN             -- default domain name&lt;br /&gt;#* CISCO_BANNER                 -- banner from server&lt;br /&gt;#* CISCO_SPLIT_INC              -- number of networks in split-network-list&lt;br /&gt;#* CISCO_SPLIT_INC_%d_ADDR      -- network address&lt;br /&gt;#* CISCO_SPLIT_INC_%d_MASK      -- subnet mask (for example: 255.255.255.0)&lt;br /&gt;#* CISCO_SPLIT_INC_%d_MASKLEN   -- subnet masklen (for example: 24)&lt;br /&gt;#* CISCO_SPLIT_INC_%d_PROTOCOL  -- protocol (often just 0)&lt;br /&gt;#* CISCO_SPLIT_INC_%d_SPORT     -- source port (often just 0)&lt;br /&gt;#* CISCO_SPLIT_INC_%d_DPORT     -- destination port (often just 0)&lt;br /&gt;&lt;br /&gt;# =========== script (variable) setup ====================================&lt;br /&gt;&lt;br /&gt;PATH=/sbin:/usr/sbin:$PATH&lt;br /&gt;&lt;br /&gt;FULL_SCRIPTNAME=/usr/local/sbin/vpnc&lt;br /&gt;SCRIPTNAME=`basename $FULL_SCRIPTNAME`&lt;br /&gt;&lt;br /&gt;# =========== tunnel interface handling ====================================&lt;br /&gt;&lt;br /&gt;do_ifconfig() {&lt;br /&gt;&lt;br /&gt;       ifconfig "$TUNDEV" inet "$INTERNAL_IP4_ADDRESS" "$INTERNAL_IP4_ADDRESS" netmask 255.255.255.255 mtu 1412 up&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# =========== route handling ====================================&lt;br /&gt;&lt;br /&gt;get_default_gw() {&lt;br /&gt;       # isn't -n supposed to give --numeric output?&lt;br /&gt;               # apperently not...&lt;br /&gt;               # Get rid of lines containing IPv6 addresses (':')&lt;br /&gt;               netstat -r -n | sed 's/default/0.0.0.0/' | sed 's/^.*:.*$//' | grep '^0.0.0.0' | awk '{print $2}'&lt;br /&gt;}&lt;br /&gt;      &lt;br /&gt;do_pre_init() {&lt;br /&gt;echo "do_pre_init"&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;do_connect() {&lt;br /&gt;       if [ -n "$CISCO_BANNER" ]; then&lt;br /&gt;               echo "Connect Banner:"&lt;br /&gt;               echo "$CISCO_BANNER" | while read LINE ; do echo "|" "$LINE" ; done&lt;br /&gt;               echo&lt;br /&gt;       fi&lt;br /&gt;      &lt;br /&gt;       do_ifconfig&lt;br /&gt;       if [ -n "$CISCO_SPLIT_INC" ]; then&lt;br /&gt;               i=0&lt;br /&gt;               while [ $i -lt $CISCO_SPLIT_INC ] ; do&lt;br /&gt;                       eval NETWORK="\${CISCO_SPLIT_INC_${i}_ADDR}"&lt;br /&gt;                       eval NETMASK="\${CISCO_SPLIT_INC_${i}_MASK}"&lt;br /&gt;                       eval NETMASKLEN="\${CISCO_SPLIT_INC_${i}_MASKLEN}"&lt;br /&gt;                       i=`expr $i + 1`&lt;br /&gt;               done&lt;br /&gt;&lt;br /&gt;       fi&lt;br /&gt;      &lt;br /&gt;       # Hosts 1&amp;amp;2 &amp;amp; 3&lt;br /&gt;       add_host_route "xx.xx.xx.xx"&lt;br /&gt;       add_host_route "xx.xx.xx.xy"&lt;br /&gt;       add_host_route "xx.xx.xx.xz"&lt;br /&gt;&lt;br /&gt;       for i in $INTERNAL_IP4_DNS ; do&lt;br /&gt;               add_host_route "$i"&lt;br /&gt;       done&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;do_disconnect() {&lt;br /&gt;       if [ -n "$CISCO_SPLIT_INC" ]; then&lt;br /&gt;               i=0&lt;br /&gt;               while [ $i -lt $CISCO_SPLIT_INC ] ; do&lt;br /&gt;                       eval NETWORK="\${CISCO_SPLIT_INC_${i}_ADDR}"&lt;br /&gt;                       eval NETMASK="\${CISCO_SPLIT_INC_${i}_MASK}"&lt;br /&gt;                       eval NETMASKLEN="\${CISCO_SPLIT_INC_${i}_MASKLEN}"&lt;br /&gt;                       i=`expr $i + 1`&lt;br /&gt;               done&lt;br /&gt;       fi&lt;br /&gt;      &lt;br /&gt;       # Delete all routes again&lt;br /&gt;       del_host_route "xx.xx.xx.xx"&lt;br /&gt;       del_host_route "xx.xx.xx.xy"&lt;br /&gt;       del_host_route "xx.xx.xx.xy"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;       for i in $INTERNAL_IP4_DNS ; do&lt;br /&gt;               del_host_route "$i"&lt;br /&gt;       done&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;add_host_route() {&lt;br /&gt;       HOST="$1"&lt;br /&gt;       route add "$HOST" "$INTERNAL_IP4_ADDRESS" -interface&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;del_host_route() {&lt;br /&gt;       HOST="$1"&lt;br /&gt;       route delete "$HOST" "$INTERNAL_IP4_ADDRESS" -interface&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#### Main&lt;br /&gt;&lt;br /&gt;if [ -z "$reason" ]; then&lt;br /&gt;       echo "this script must be called from vpnc" 1&gt;&amp;amp;2&lt;br /&gt;       exit 1&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;case "$reason" in&lt;br /&gt;       pre-init)&lt;br /&gt;               do_pre_init&lt;br /&gt;               ;;&lt;br /&gt;       connect)&lt;br /&gt;               do_connect&lt;br /&gt;               ;;&lt;br /&gt;       disconnect)&lt;br /&gt;               do_disconnect&lt;br /&gt;               ;;&lt;br /&gt;       *)&lt;br /&gt;               echo "unknown reason '$reason'. Maybe vpnc-script is out of date" 1&gt;&amp;amp;2&lt;br /&gt;               exit 1&lt;br /&gt;               ;;&lt;br /&gt;esac&lt;br /&gt;&lt;br /&gt;exit 0&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;8. Now you should be able to connect to your vpn:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;/opt/vpnc/sbin/vpnc myvpn.conf&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;9.The output should look like this:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt; /usr/local/sbin/vpnc cia.conf&lt;br /&gt;Enter password for tzhbomi5@bwpir.bluewin.ch: &lt;br /&gt;do_pre_init&lt;br /&gt;add host xx.xx.xx.xx: gateway zz.zz.zz.zz&lt;br /&gt;add host xx.xx.xx.xy: gateway zz.zz.zz.zz&lt;br /&gt;add host xx.xx.xx.xz: gateway zz.zz.zz.zz&lt;br /&gt;VPNC started in background (pid: 3971)...&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;10. The interfaces look like this, where zz.zz.zz.zz is the IP Address that got assigned from  the other side of the tunnel. The tun0 device was automatically created by vpnc·&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;ifconfig -a&lt;br /&gt;lo0: flags=2001000849&lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&gt; mtu 8232 index 1&lt;br /&gt; inet 127.0.0.1 netmask ff000000 &lt;br /&gt;rge0: flags=201004843&lt;UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS&gt; mtu 1500 index 2&lt;br /&gt; inet 192.168.1.35 netmask ffffff00 broadcast 192.168.1.255&lt;br /&gt; ether 0:22:15:5e:61:2b &lt;br /&gt;tun0: flags=10010008d1&lt;UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU&gt; mtu 1412 index 4&lt;br /&gt; inet zz.zz.zz.zz --&gt; zz.zz.zz.zz netmask ffffffff &lt;br /&gt; ether 2:0:0:0:0:0&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-494029889294447898?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/494029889294447898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=494029889294447898' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/494029889294447898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/494029889294447898'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2008/11/connecting-opensolaris-to-cisco-vpn.html' title='Connecting Opensolaris to a Cisco VPN'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-3097490829503539805</id><published>2008-05-11T23:35:00.002+02:00</published><updated>2008-12-09T12:17:21.744+01:00</updated><title type='text'>OpenSolaris 2008.05, BrandZ and Zattoo</title><content type='html'>I've been using OpenSolaris 2008.05 for about a week, and despite some small bugs, I really fell in love.&lt;br /&gt;&lt;br /&gt;Until now I did not have the time to play around with Nevada releases, but OpenSolaris 2008.05 could really be my future #1 desktop (beside my Sunray...).&lt;br /&gt;&lt;br /&gt;Things that worked so far:&lt;br /&gt;-Getting Windows inside Virtualbox (yeah there are some apps still left running only on windows..)&lt;br /&gt;-CentOS in a Branded Linux Zone (experimental Linux 2.6 support)&lt;br /&gt;-Skype in a Branded Linux Zone(without sound yet)&lt;br /&gt;-Zattoo in a Branded Linux Zone (without sound yet)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c6lTBP33IUw/SCdnbqCZz-I/AAAAAAAAAAY/cm7FcrV9fQs/s1600-h/Screenshot.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_c6lTBP33IUw/SCdnbqCZz-I/AAAAAAAAAAY/cm7FcrV9fQs/s320/Screenshot.png" alt="" id="BLOGGER_PHOTO_ID_5199238019661025250" border="0" /&gt;&lt;/a&gt;&lt;br /&gt; What does not work yet:&lt;br /&gt;-TUN for Cisco VPNs&lt;br /&gt;-ACPI (there are some drivers...)&lt;br /&gt;-Sun Secure Global Desktop Client (at least  the automatic client download...)&lt;br /&gt;&lt;br /&gt;What's left to say?&lt;br /&gt;&lt;br /&gt;Thanks to the OpenSolaris Community for all efforts.&lt;br /&gt;&lt;br /&gt;OpenSolaris Rocks!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-3097490829503539805?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/3097490829503539805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=3097490829503539805' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/3097490829503539805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/3097490829503539805'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2008/05/opensolaris-200805-brandz-and-zattoo.html' title='OpenSolaris 2008.05, BrandZ and Zattoo'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_c6lTBP33IUw/SCdnbqCZz-I/AAAAAAAAAAY/cm7FcrV9fQs/s72-c/Screenshot.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-756370352712052743</id><published>2008-04-14T09:20:00.003+02:00</published><updated>2008-04-14T09:26:26.012+02:00</updated><title type='text'>Using wget for downloads.oracle.com</title><content type='html'>Downloading from oracle.com using wget is simple.&lt;br /&gt;&lt;br /&gt;-First go to downloads.oracle.com and select the software to be downloaded&lt;br /&gt;&lt;br /&gt;-Log in with your account and accecpt the license&lt;br /&gt;&lt;br /&gt;-Copy the download link to your clipboard&lt;br /&gt;&lt;br /&gt;-Find your cookies.txt in your $HOME&lt;br /&gt;&lt;br /&gt;-Use wget:&lt;br /&gt;&lt;br /&gt;$ wget --load-cookies=$HOME/.mozilla/default/.../cookies.txt -c [your url]&lt;br /&gt;&lt;br /&gt;-Now you should be able to download the software&lt;br /&gt;&lt;br /&gt;-This should also work for other sites.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-756370352712052743?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/756370352712052743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=756370352712052743' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/756370352712052743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/756370352712052743'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2008/04/using-wget-for-downloadsoraclecom.html' title='Using wget for downloads.oracle.com'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-3820520540851898910</id><published>2007-11-27T13:50:00.000+01:00</published><updated>2007-11-27T13:53:18.254+01:00</updated><title type='text'>Debugging sendmail</title><content type='html'>To debug outgoing mail use following command&lt;br /&gt;&lt;br /&gt;# /usr/lib/sendmail -d -f root@hostname -ODeliveryMode=i recipient@hostname&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-3820520540851898910?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/3820520540851898910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=3820520540851898910' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/3820520540851898910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/3820520540851898910'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/11/debugging-sendmail.html' title='Debugging sendmail'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-1969608312358135895</id><published>2007-08-13T22:27:00.000+02:00</published><updated>2007-08-13T22:29:12.560+02:00</updated><title type='text'>I've got a green brain</title><content type='html'>&lt;table width=350 align=center border=0 cellspacing=0 cellpadding=2&gt;&lt;tr&gt;&lt;td bgcolor="#CCCCCC" align=center&gt;&lt;font face="Georgia, Times New Roman, Times, serif" style='color:black; font-size: 14pt;'&gt;&lt;b&gt;Your Brain is Green&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td bgcolor="#DDDDDD"&gt;&lt;center&gt;&lt;img src="http://images.blogthings.com/whatcolorisyourbrainquiz/green.jpg" height="100" width="100"&gt;&lt;/center&gt;&lt;font color="#000000"&gt;&lt;br /&gt;Of all the brain types, yours has the most balance.&lt;br /&gt;You are able to see all sides to most problems and are a good problem solver.&lt;br /&gt;You need time to work out your thoughts, but you don't get stuck in bad thinking patterns.&lt;br /&gt;&lt;br /&gt;You tend to spend a lot of time thinking about the future, philosophy, and relationships (both personal and intellectual).&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div align="center"&gt;&lt;a href="http://www.blogthings.com/whatcolorisyourbrainquiz/"&gt;What Color Is Your Brain?&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-1969608312358135895?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/1969608312358135895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=1969608312358135895' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/1969608312358135895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/1969608312358135895'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/08/ive-got-green-brain.html' title='I&apos;ve got a green brain'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-1770303822978961523</id><published>2007-07-22T10:23:00.000+02:00</published><updated>2007-07-23T23:18:00.003+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ZFS'/><title type='text'>ZFS Rocks</title><content type='html'>Jeff Bonwick &lt;a href="http://blogs.sun.com/bonwick/entry/zfs_license_announcement"&gt;writes&lt;/a&gt; about ZFS license announcements and how it rocks.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-1770303822978961523?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/1770303822978961523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=1770303822978961523' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/1770303822978961523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/1770303822978961523'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/07/zfs-rocks.html' title='ZFS Rocks'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-759288310794031564</id><published>2007-07-21T15:03:00.001+02:00</published><updated>2007-07-21T18:48:56.396+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ZFS'/><title type='text'>ZFS Take-Off</title><content type='html'>Robin Haris (&lt;a href="http://blogs.zdnet.com/storage/?p=162"&gt;&lt;span style="text-decoration: underline;"&gt;zdnet&lt;/span&gt;&lt;/a&gt;) and Jörg (&lt;a href="http://www.c0t0d0s0.org/permalink/End-of-RAID-5.html"&gt;c0t0d0s0&lt;/a&gt;) are writing about RAID6 respectivly ZFS.&lt;br /&gt;&lt;br /&gt;RAID6 will surely be a marketing success as most people do not know about ZFS, or are thinking that making the move from RAID5 to RAID6 will solve all their problems. Those companies who have heard about ZFS have certainly had a look at it.&lt;br /&gt;&lt;br /&gt;Most companies are rather conservative when implementing new technology. This is not a bad thing, especially when trusting your precious data to a new filesystem.&lt;br /&gt;&lt;br /&gt;Paradoxically, without proper checksumming like ZFS does, your data could be at higher risk, even if ZFS is a rather new technology.&lt;br /&gt;&lt;br /&gt;While there have been some problems with ZFS, none of them have affected the on-disk data. This is certainly the result of thoroughly testing ZFS like no other filesystem (leaving real-world "testing" beside).&lt;br /&gt;&lt;br /&gt;There are still some issues, that may prevent ZFS to be deployed in a broader area:&lt;br /&gt;&lt;br /&gt;-Performance issues on Storage Array with stable storage (not ignoring cache flush)&lt;br /&gt;-No dynamic LUN resizing (not really a ZFS issue)&lt;br /&gt;-Database performance may not be at UFS DirectIO level (work is on the way)&lt;br /&gt;-No long-term database performance experience available&lt;br /&gt;-Booting from ZFS not yet integrated&lt;br /&gt;-3rd Party support missing (e.g. Backup solutions not yet there)&lt;br /&gt;&lt;br /&gt;If Sun is working on these technical issues, and I know they are, my guess is that ZFS will really take off in a timeframe of 2 years. Compared with the age of UFS this is a short chapter.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-759288310794031564?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/759288310794031564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=759288310794031564' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/759288310794031564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/759288310794031564'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/07/zfs-take-off.html' title='ZFS Take-Off'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-5539003444084613228</id><published>2007-07-19T22:07:00.000+02:00</published><updated>2007-07-21T18:48:56.397+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ZFS'/><title type='text'>Again ZFS performance improvements for databases</title><content type='html'>There is a new &lt;a href="http://blogs.sun.com/erickustarz/entry/vdev_cache_improvements_to_help"&gt;fix&lt;/a&gt; to improve performance for databases on ZFS.&lt;br /&gt;&lt;br /&gt;Can't wait to see OLTP &lt;a href="http://blogs.sun.com/realneel/entry/zfs_and_databases_time_for"&gt;benchmarks&lt;/a&gt; where ZFS is being faster than UFS with DirectIO for.&lt;br /&gt;&lt;br /&gt;Oh, and did you know there is some &lt;a href="http://blogs.sun.com/perrin/entry/slog_blog_or_blogging_on"&gt;work&lt;/a&gt; going on for getting the ZIL onto seperate devices (NVRAM or Solid State Disks)&lt;br /&gt;&lt;br /&gt;(For those who don't know what the ZIL is, look &lt;a href="httphttp://blogs.sun.com/perrin/entry/the_lumberjack"&gt;here&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-5539003444084613228?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/5539003444084613228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=5539003444084613228' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/5539003444084613228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/5539003444084613228'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/07/again-zfs-performance-improvements-for.html' title='Again ZFS performance improvements for databases'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-4640016394487444202</id><published>2007-07-19T21:41:00.000+02:00</published><updated>2007-07-21T18:49:35.562+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Xen'/><title type='text'>Xen code drop to OpenSolaris</title><content type='html'>After almost waiting a year, the Lego bricks are &lt;a href="http://blogs.sun.com/cwb/entry/starting_out_with_solaris_on"&gt;falling&lt;/a&gt; neatly into place. This means, that it is finally possible to run Windows under Solaris (where needed :-).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-4640016394487444202?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/4640016394487444202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=4640016394487444202' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/4640016394487444202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/4640016394487444202'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/07/xen-code-drop-to-opensolaris.html' title='Xen code drop to OpenSolaris'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-8975871080786885267</id><published>2007-07-18T22:37:00.000+02:00</published><updated>2007-07-21T18:50:26.483+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Splunk'/><category scheme='http://www.blogger.com/atom/ns#' term='Systems Management'/><title type='text'>Splunk 3.0 with Access-Control</title><content type='html'>Yeaah!!!&lt;br /&gt;&lt;br /&gt;Just found out that Splunk 3.0 will support access control. This means e.g., that developers can debug production problems without logging in to that host. They will see only logfiles relevant to finding the problem...&lt;br /&gt;&lt;br /&gt;This is a huge step forward, as logs often contain classified data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-8975871080786885267?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/8975871080786885267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=8975871080786885267' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/8975871080786885267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/8975871080786885267'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/07/splunk-30-with-access-control.html' title='Splunk 3.0 with Access-Control'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-4426474251629184217</id><published>2007-07-18T22:04:00.000+02:00</published><updated>2007-07-18T22:34:05.949+02:00</updated><title type='text'>Where should security happen?</title><content type='html'>As close to the data as possible!&lt;br /&gt;&lt;br /&gt;Yesterday's post from Erik reminded me about a paradigm, that came up when I implemented the &lt;a href="http://www.ssh.com"&gt;SSH Tectia Suite&lt;/a&gt;. It's the question where to do security properly. The answer is as close to the data as possible.&lt;br /&gt;&lt;br /&gt;The problem with today's corporate networks is, that the "enemy" is already inside. There are so many people (internal/external) connecting to a company's network, which makes firewalls almost irrelevant. This effect is called deperimeterization.&lt;br /&gt;&lt;br /&gt;Firewalls have a false reputation, that they protect everything. But because there are so many people who have access to both sides of firewalls, this doesn't make it very secure.&lt;br /&gt;&lt;br /&gt;What could be a new approach? The &lt;a href="https://www.opengroup.org/jericho/index.htm"&gt;Jericho Forum&lt;/a&gt; (a security focused group) says: "Individual Hosts should be able to defend themselves".&lt;br /&gt;&lt;br /&gt;I certainly agree with that. Most operating systems contain integrated firewalls waiting for activation. Many applications provide extended authentication features and encryption (e.g. TLS/SSL). Not to forget the SSH protocol for managing the operating system instead of telnet.&lt;br /&gt;&lt;br /&gt;While in theory you could take all firewalls away, and rely on host security, in practice you wouldn't do that of course. As an analogy to real life, you would certainly lock the gate to your stately home...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-4426474251629184217?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/4426474251629184217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=4426474251629184217' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/4426474251629184217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/4426474251629184217'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/07/where-should-security-happen.html' title='Where should security happen?'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-7775450700639817783</id><published>2007-07-17T22:20:00.000+02:00</published><updated>2007-07-21T18:49:59.133+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Thin Clients'/><title type='text'>Paul Murphy clarifies the Sun Ray "difference"</title><content type='html'>In today's blog, &lt;a href="http://blogs.zdnet.com/Murphy/?p=917"&gt;Paul Murphy&lt;/a&gt; lists advantages of the Sun Ray technology. This as an answer to a comment of Erik Engbrecht (a regular visitor to Murph's blog).&lt;br /&gt;&lt;br /&gt;Of course, Erik has already answered in his &lt;a href="http://erikengbrecht.blogspot.com/2007/07/sun-ray-thin-clients.html"&gt;blog&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;While Erik certainly makes some valid points, I personally believe that having the desktop processing happening in the datacenter would be for a lot of companies the best approach.&lt;br /&gt;&lt;br /&gt;I worked for several banks, and you wouldn't believe me, the investments done or planned to make desktops/laptops secure (harddisk encryption, USB-port-locking software, reverse-firewalls, virus-scanners, security audit tools, etc.)&lt;br /&gt;&lt;br /&gt;Most of these security activities just aren't needed with a stateless device.&lt;br /&gt;&lt;br /&gt;Another point was made, that Sun Rays are dependent on a working network connection. As more and more vital information is kept on servers that require online access, you already are dependent of a connection to your company's network.&lt;br /&gt;&lt;br /&gt;Offline work usually requires documents to be carried with in paper form (bad!) or on harddisk. The later would again require harddisk encryption.&lt;br /&gt;&lt;br /&gt;Do you trust harddisk encryption made in China?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-7775450700639817783?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/7775450700639817783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=7775450700639817783' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/7775450700639817783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/7775450700639817783'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/07/paul-murphy-clarifies-sun-rays.html' title='Paul Murphy clarifies the Sun Ray &quot;difference&quot;'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-2114782346130506110</id><published>2007-07-17T21:32:00.000+02:00</published><updated>2007-07-17T21:57:50.489+02:00</updated><title type='text'>Links for 2007-07-17</title><content type='html'>&lt;ul&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Comparison_of_open_source_configuration_management_software"&gt;Comparison of open source configuration management software &lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/a&gt;(Wikipedia)&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.virtualdesktoptalk.com/"&gt;Virtual Desktop Talk&lt;/a&gt; (Podcast on desktop virtualization)&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.sun.com/software/sdis/wp_desktop_virtualization_blueprint.pdf"&gt;Sun Desktop Virtualization Solution Blueprint&lt;/a&gt; (with VMWare)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.win4solaris.com/jml/"&gt;Win4Solaris&lt;/a&gt; (Running Windows on Solaris)&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-2114782346130506110?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/2114782346130506110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=2114782346130506110' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/2114782346130506110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/2114782346130506110'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/07/links-for-2007-07-17.html' title='Links for 2007-07-17'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-5710295437381452308</id><published>2007-07-16T22:30:00.001+02:00</published><updated>2007-07-21T18:49:59.134+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Thin Clients'/><title type='text'>SunRay Stuff</title><content type='html'>&lt;a href="http://blogs.sun.com/ThinGuy"&gt;ThinGuy&lt;/a&gt; has a few interesting blog entries...&lt;br /&gt;&lt;br /&gt;First of all there are some Youtube &lt;a href="http://blogs.sun.com/ThinGuy/entry/sun_mitel"&gt;movies&lt;/a&gt; about the Sun/Mitel partnership. This sounds like a great deal. The deal consists of two parts. A Multi-Instance Call Server (I guess this is something like a phone switch), and a unified solution for SunRays and the Mitel IP phone. This allows to hotdesk not only between SunRays, but also between IP phone. You can find more information &lt;a href="http://www.mitel.com/DocController?documentId=23861"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.sun.com/ThinGuy/entry/august_you_me_and_some"&gt;Another&lt;/a&gt; entry in ThinGuy's blog sounds also promising. He will talk in august about  the upcoming SunRay Software 4.2. He promises some "trendy" new features for desktop virtualisation. As always, these kind of product release events are never around the corner...&lt;br /&gt;&lt;br /&gt;I really believe that in the next 1-2 years desktop virtualization will be the next big management buzzword (not in the negative meaning).&lt;br /&gt;&lt;br /&gt;The only thing Sun desperately needs if they want SunRays to take off, are salesmen who really want to sell thin clients. Selling Sunrays is certainly harder than selling big boxes, but hey, take it as a challenge!&lt;br /&gt;&lt;br /&gt;But maybe Sun salesmen just don't understand the real-life problems of todays desktops and how thin-clients are a solution for most of these problems...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-5710295437381452308?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/5710295437381452308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=5710295437381452308' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/5710295437381452308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/5710295437381452308'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/07/sunray-stuff.html' title='SunRay Stuff'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-6422761269211018238</id><published>2007-07-15T21:53:00.000+02:00</published><updated>2007-07-15T22:43:41.985+02:00</updated><title type='text'>Links for 2007-07-15</title><content type='html'>&lt;ul&gt;&lt;li&gt;&lt;a href="http://storagemojo.com/?p=490"&gt;Seattle Conference on Scalability Videos&lt;/a&gt; (from Storagemojo)&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.itjungle.com/breaking/bn071107-story01.html"&gt;IT Jungle about Oracle 11g&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.itjungle.com/tug/tug071207-story01.html"&gt;IT Jungle about AIX 6.1 Beta&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Hitachi Data Systems, Upcoming &lt;a href="http://www.hds.com/webtech/agenda.html"&gt;Webinars&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://storagearchitect.blogspot.com/"&gt;storagearchitect.blogspot.com&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-6422761269211018238?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/6422761269211018238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=6422761269211018238' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/6422761269211018238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/6422761269211018238'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/07/links-for-2007-07-15.html' title='Links for 2007-07-15'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-7754530990445861047</id><published>2007-07-15T10:06:00.000+02:00</published><updated>2007-07-21T18:50:26.484+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Systems Management'/><title type='text'>Configuration Engines for Unix</title><content type='html'>As a system administrator, there is one problem that is persistent. Standardizing and keeping track of configuration changes.&lt;br /&gt;&lt;br /&gt;Standardizing begins with the installation of a system. All major unix brands have their own installation methods. As mainly a Solaris administrator, I'm very familiar with the Jumpstart framework.&lt;br /&gt;&lt;br /&gt;Using plain vanilla jumpstart is ok, if no customization in addition to the OS is needed (special configurations/application installation)&lt;br /&gt;&lt;br /&gt;For advanced customization, Sun Professional Services UK developed the &lt;a href="http://www.sun.com/bigadmin/content/jet/"&gt;JET&lt;/a&gt; framework. JET is an addition to Jumpstart. The advantage of JET is in its usage of template files. All information about a client to install is kept in one file. The framework provides a simple way to add additional software, make additional software changes.&lt;br /&gt;&lt;br /&gt;With JET it is possible to get a host running with all its settings and applications. But,&lt;br /&gt;as soon as there are changes on a specific host, which could affect standardization, those changes have to be propagated towards JET.&lt;br /&gt;&lt;br /&gt;A couple of years ago, when we used our own framework on top of Jumpstart, we already had this discussion, about getting changes back to Jumpstart. We never found a real solution to this problem. Sometimes, changes were forgot by human error (lazyness?), or some changes would not fit into the framework.&lt;br /&gt;&lt;br /&gt;Fortunatly there are others, that have had the same problem. After googling some time, I found three configuration engines:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.cfengine.org/"&gt;cfengine&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://reductivelabs.com/projects/puppet/"&gt;puppet&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://trac.mcs.anl.gov/projects/bcfg2"&gt;bcfg2&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;While I haven't looked at these tools in detail, all of them are managing configuration files from a central host. Local configuration changes are always initiated from a central host. The new configuration will either be pushed from the central host or pulled from the local host. If somebody changes configuration files locally they will be overwritten. The local configurations can be generated dynamically by rules.&lt;br /&gt;&lt;br /&gt;The more I think about it, the right way seems to be to install a plain-vanilla OS, then install additional software packages (the configuration engines support this too), and finally push the configuration to the host.&lt;br /&gt;&lt;br /&gt;This would make it simple to reinstall or upgrading the OS on a host. Jumpstart could be used in a plain-vanilla configuration, with only needing the configuration engine to be installed.&lt;br /&gt;&lt;br /&gt;I will certainly further investigate the tools above.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-7754530990445861047?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/7754530990445861047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=7754530990445861047' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/7754530990445861047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/7754530990445861047'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/07/configuration-engines-for-unix.html' title='Configuration Engines for Unix'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7001061799867222901.post-4887116607668719221</id><published>2007-07-12T22:06:00.000+02:00</published><updated>2007-07-21T18:48:56.397+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ZFS'/><title type='text'>Using ZFS clones with several Application instances</title><content type='html'>This was an interesting &lt;a href="http://blogs.sun.com/pgdh/entry/prstat_dtrace_zones_zfs_e25k"&gt;blog entry&lt;/a&gt; about E25Ks, DTrace and ZFS.&lt;br /&gt;&lt;br /&gt;One thing I was also thinking about, was the performance gains with ZFS clones, when running several instances of Applications using mostly the same data.&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;&lt;br /&gt;"Then came a flash of inspiration. Using clones of a ZFS snapshot of the data together with Zones it was possible to partition multiple instances of the application. But the really cool bit is that ZFS snapshots are almost instant and virtually free.  &lt;p&gt;ZFS clones are implemented using copy-on-write relative to a snapshot. This means that most of the storage blocks on disk and filesystem cache in RAM can be shared across all instances. Although snapshots and partitioning are possible on other systems, they are not instant, and they are unable to share RAM."&lt;/p&gt;I had this idea, when I was thinking about using Solaris as a Xen Dom0 and running several identical (at least in the beginning) MS-Windows instances on Xen DomUs. The cloned MS-Windows images would be located on ZFS clones.&lt;br /&gt;&lt;br /&gt;Most of the blocks would then reside in the memory of Dom0. I guess this would certainly improve performance.&lt;br /&gt;&lt;br /&gt;The OS images could of course be also served over e.g. ZFS iSCSI Target devices, but the effect  would be the same...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7001061799867222901-4887116607668719221?l=my2ndhead.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my2ndhead.blogspot.com/feeds/4887116607668719221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7001061799867222901&amp;postID=4887116607668719221' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/4887116607668719221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7001061799867222901/posts/default/4887116607668719221'/><link rel='alternate' type='text/html' href='http://my2ndhead.blogspot.com/2007/07/using-zfs-clones-with-several.html' title='Using ZFS clones with several Application instances'/><author><name>Mika</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='03390030377090825310'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>