wildness

To content | To menu | To search

Tag - solaris

Entries feed - Comments feed

Sunday, May 2 2010

Solaris SUN Cluster: Live update

As I've recently tried the patching of a sun cluster with Zones/ZFS/global filesystem and everything running, I've noticed that not so much people have tried this, so I might share the experience here ;)

So read the complete article to see how it behaves ;)

Continue reading...

Thursday, April 29 2010

Solaris Sun cluster core patch 126106-40 issue

I've recently had to apply the 126106-40 core patch for SUN Cluster and had some issues with it.. Seeing on the Internet, some issues with this patchs are documented by Juergen Scheich's blog and describing a howto fix some of them. Actually, the error I had was a bit different from the "loaddid" cycling dependencies that was found on his blog. I had a similar issues with the sysidtool:net service which gave me the almost same error as the loaddid did. No pun intented ;-)

Applying the same procedure as found on Juergen's blog fixed also that issue! So you can just:

  1. Boot in non clustered mode
  2. Remove the loaddid service from SMF: svccfg delete loaddid
  3. Import it again from the patch's XML file: svccfg import /path/to/patch/loaddid.xml
  4. Refresh the service: svcadm refresh loaddid
  5. init 6

This has not been faced on all the node of the cluster I was patching, but I thought it was worth a note here ;-)

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!

Friday, March 6 2009

ZFS: Howto dump & restore filesystem in the incremental way

As I have done in the past with UFS, and as already explained here in the "Migrate partition with minimal downtime..." article, I'll explain how to migrate a ZFS volume with minimum downtime.

What could be done during working hours without impact on the mounted filesystem:

  • Take a snapshot of the volume to copy:

zfs snapshot vs4f8-pool/test@v1

  • Send this snapshot accross the new ZFS volume:

zfs send vs4f8-pool/test@v1 | zfs receive vs4f8-pool/newtest

When the outage time has come, just issue following commands:

zfs snapshot vs4f8-pool/test@v2
zfs send -I vs4f8-pool/test@v1 vs4f8-pool/test@v2 | zfs receive vs4f8-pool/newtest

The last command should be as quick as hell... As your downtime. You could now restore the option on the "newtest" volume and start ot use it.

This same procedure could also be used to migrate volume across network, as the zfs send and receive commands could be piped with ssh.

Friday, February 20 2009

Solaris10 problems: siginfo.h

While I wanted to compile php5 under Solaris 10, I scratched my head upon this compilation error:

/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"

The solution was simple, but as I loose some time to find it, I'm sharing it here:

# cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools # ./mkheaders

HTH

Friday, August 8 2008

Working around an Live Update Bug...

ERROR: The following required file systems are not mounted by the currently running OS </toto>
ERROR: All required PBE file systems are not mounted.

This is the message I stumbled upon today while trying to create a Live Upgrade environment for a production server... And indeed, the so-called /toto was properly mounted.

A colleague just look at the problem and say "oh, just mount a dummy filesystem and it will work."

What the h... ?!

# mkdir /tmp2 ; mount -F lofs /tmp /tmp2

And god, It worked like a charm...

Wednesday, July 23 2008

Don't Panic

This famous sentence from H2G2 can apply to the previous issue posted about Solaris filesystem's been mounted without first fscked.

Indeed, there is a nopanic option to "fix" this issue.

It tells the system not to panic when it found an inconsistency on a filesystem.

Thanks SUN.