wildness

wildcat & ness blog

To content | To menu | To search

Tuesday, November 17 2009

Inject Outlook PST Archives files into IMAP account

After searching for a LONG while for a method to inject my outlook pst files into my IMAP server without any success... I decided to write some scripts to do it myself. This is using a mix of libpst, perl, bash and some mbox2imap script found on the net...

Check the full article for details!

Continue reading...

Friday, October 23 2009

ifclone - or how to clone an interface over network.

I remember some times ago, I had seen a great tool that permitted to clone an interface through the network. By saying that, I mean that you can run a little client on a box where you want to sniff an interface and where all the traffic will run through network to the host where you will effectively sniff it.

This could be usefull for example when the box you want to sniff is an embedded device with only a little space available.

As I was today in need of this tool but can't finally find it back, I decided to code my own and then to share it... Read the whole article to know more!

Continue reading...

Tuesday, October 13 2009

BGP4: Enabling IPv6 Neighbors

Being tired of using static routes with IPv6, I've some times ago implemented OSPFv3 with IPv6 peers... But I have faced a lot of issue, mostly due to quagga's implementation of OSPF.

I've decided some days ago to switch to BGP4 IPv6 peers. I have to say one things to summary: It works very well.

You can read the full article to see how I have put this in place.

Continue reading...

Wednesday, September 30 2009

Veritas: Restore from errors on private region

After the reboot of a sun server, I found a diskgroup being unusable because of a wrong disk private region that was not consistent with the information stored in Veritas..

After having tried the classics vxconfigd -k -x cleattempdir, I have found that Veritas is in fact doing some backup of the configuration of every diskgroup. This configuration could be easily restored online. Even more, this could be tested without any impact. Even better, if it doesn't work: just rollback!

 # vxdisk -o alldgs list
 DEVICE       TYPE            DISK         GROUP        STATUS
 EMC0_1       auto:sliced     zonedg-dg01   (zonedg)     online

This diskgroup wasn't importable as the private region was not consistent. It consists of only one disk.

 # /etc/vx/bin/vxconfigrestore -d zonedg

When this command is issued, you can then try to see if all you volumes are there and consistent (even fsck them). The cool thing is: nothing has been commited to the disk yet. If everything is clean and runs well, just commit the restore the the disk:

 # /etc/vx/bin/vxconfigrestore -c

And voila!

Wednesday, September 23 2009

Virtualbox: Scripts to make my life easier

It's been a few month that I daily use Virtualbox for my home virtual machines.. As I have a couple of theses, I wanted some scripts to ease the manipulation I have to make..

This post is simply to share theses scripts :)

You can find them here

Wednesday, September 2 2009

What's in the pipe...

Hello folks,

This post is to keep you updated about the future of articles posted here... We've just bought a new house and moved into it so now I'm preparing the network and doing some testing on virtual machines and so on.. so a few articles may come.

Meanwhile, I'm currently thinking of some articles to make in the coming weeks that could be usefull:

  • jQuery framework: How to make AJAX without knowing Javascript.
  • Cisco interoperability: Zyxel Gbit switches
  • Linux: Using VLAN to get a better network.
  • Linux: LACP
  • Virtualbox: Scripts to make my life easier
  • KVM: Quick Howto for Network appliance virtualization (m0n0wall, pfsense, ...)

Don't hesitate to leave a comment to give me feedback about articles you found interesting, or to request some of the articles here to be written in priority :)

Thanks for reading.

Friday, August 28 2009

AJAX: Changing the content of a web page dynamically...

It's been some time already that I wanted to know "How the f*ck does theses AJAX thing works".. Today I've tried some tiny things in AJAX and was suprise of the simplicity of all that stuff. I'll describe in little piece of code what I achieve and how, in case of anyone of you might be interested ;)

So what I wanted, is to have a static xhtml web page, which I could load instantly and then change some content into this page without the need to reload it. -> AJAX baby.

Continue reading...

Friday, July 3 2009

SAN Storage: CLARiiON LUN0 devices

This week I've had a problem with CLARiiON SAN Storage that needed to be investigated.

Here is my findings:

Problem: When provisionning a Host LUN0 CLARiiON disk on a server, sometimes it is not taken into account by MPxIO. Resulting in no multipathing available. (Although, single devices are available & working...)

Reason: Once MPxIO has seen some LUNZ (Gatekeeper) devices on a server, it consider every LUN0 devices as such, and don't take them. As LUNZ are provisionned with Host Lun 0, when a real LUN0 disk is provisionned, problems comes.

Read the article to see the solution :-)

Continue reading...

Wednesday, June 17 2009

Solaris parallel patching

Every sysadmin that has upgraded or patched a system running multiples zones will tell it, the upgrade was an undefinably long process.

When you consider that some SPARC machines are running now with 256 threads, it's a shame that such boxes are upgrading with a single thread (each zone sequentially, I mean). This is the end of a long wait ! SUN releases today patches that introduces parallel patching of zones.

It seems that we just need to apply 119254-66 (SPARC) or 119255-66 (x86) patche to take benefit from this feature. After the patchadd, just set the number of zones that should be patched in parallel by editing the file /etc/patch/pdo.conf and sets the value of num_proc var.

Happy (live) patching!

Thursday, April 30 2009

Solaris 10 05/09 is out!

Today, SUN has released a new version of its famous operating system: Solaris 10 update 7, also called 05/09.

It seems that there is no "What's new" paper yet nor anything advertising it, but the media are already available for download here

UPDATE: Here is the what's new article - here

Help Yourself!

- page 1 of 3