reddragdiva: (Default)
[personal profile] reddragdiva

[livejournal.com profile] hauntedunix's suggestion worked: mount the /var zpool as legacy. All hail!

The trick now is that the system won't install zones properly. The zone creates okay, verifies as installable, when I go to install it installs 3 packages and of course won't boot. This is because, desperate for space on Friday, I cleared all that faff out of /var/sadm/pkg ... which is where zone packages are installed from. D'oh!

So today I tried jumpstarting it. And IT appear to have set up the network so stuff won't tftpboot. ARGH. Tomorrow we make an appointment to go down to the server room and ... put the 10u8 SPARC DVD in the drive.

It's been a learning experience.

Oh, and the Solaris 10u8 i386 VirtualBox image that Sun heartily encourages everyone to download and try is a dysfunctional piece of complete dogshit that seems to have been put together with the express aim of warning people off Solaris.

(no subject)

Date: 2010-02-10 04:23 am (UTC)
gothgeekgirl: (snark)
From: [personal profile] gothgeekgirl
Um. You need /var/sadm/pkg and /var/sadm/patch. Those directories are where the system keeps track of what packages and patches are installed. Have been since Solaris 8 at least.

Zones are dead easy. I should email you some of my notes.

About that VirtualBox 10u8 image... don't. Just don't. Sun's default images are awful - and I say that as an avowed Solaris fangirl.

(just for the record, I am typing this on a newish Vaio running OpenSolaris snv_131, with Windows 7 running inside VirtualBox to feed my TurboTax addiction ;)

Edited Date: 2010-02-10 04:32 am (UTC)

(no subject)

Date: 2010-02-10 08:33 pm (UTC)
gothgeekgirl: (Default)
From: [personal profile] gothgeekgirl
You're welcome. And, as I once said about a potential lover, "I was good- I didn't laugh."

Yes, do try creating a Sol10 virtual box from scratch. It's done very well for me as both production servers and deskside workstations.

(no subject)

Date: 2010-02-10 08:02 am (UTC)
ideological_cuddle: (Default)
From: [personal profile] ideological_cuddle
You haven't touched Solaris in a while, have you? What you did is kind of like blowing away /var/lib/dpkg on a Debian/Ubuntu box, or nuking the RPM database on RH.

One recommendation about zones which I suspect I'll get jumped on and told I'm an idiot for: unless you're sure you'll never need to add packages that go in /usr and friends, do it with "create -b" to avoid making a sparse zones. Sparse zones are cool in theory but my experience has been that you can easily wind up jumping through lots of hoops to deal with the fact that /usr and friends are now read-only and almost no third-party stuff takes that into account.

Disk space in a modern Solaris system is not exactly at a premium so the couple of gigs for a full duplicate of the OS is not a big drama.

(no subject)

Date: 2010-02-10 10:51 am (UTC)
ideological_cuddle: (Default)
From: [personal profile] ideological_cuddle
Full zones are just as good as sparse ones when it comes to containing workloads, they just mean you don't wind up in a sticky situation when some bozotic app turns out to need to do something to /usr.

The only advantages I'm seeing with sparse zones is deployment time and disk space. Mostly those two things matter less than flexibility. Deployment only takes 10 minutes for a full zone anyway.

Do yourself a favour and build yourself a Sol10U8 VM somewhere to play with. It'll be worth the effort. IIRC you need to do the install in text mode (or "text in an xterm" mode) rather than using the GUI if you want to install on ZFS root, the assumption is that Serious Cat has Serious Jumpstart Infrastructure so the interactive installer is unimportant.

(no subject)

Date: 2010-02-10 08:36 pm (UTC)
gothgeekgirl: (Default)
From: [personal profile] gothgeekgirl
Different uses have different requirements. Since I run externally facing dns servers (among other things), I rather like having a read only /usr/local that can't be twiddled into read/write.

(no subject)

Date: 2010-02-09 11:02 pm (UTC)
From: [identity profile] thefon.livejournal.com
and you wonder why even Sun engineers install linux on their machines

(no subject)

Date: 2010-02-10 09:28 am (UTC)
From: [identity profile] blarglefiend.livejournal.com
Well, y'know, you did do some dumb shit to that machine, so it's no great surprise that it's not behaving well. Nuke the package database on your Ubuntu laptop and see just how well it copes when you try to do installs/updates...

(no subject)

Date: 2010-02-09 11:24 pm (UTC)
From: [identity profile] hirez.livejournal.com
We went through a bit of a random boostrap process to get the first two Suns up: install OS on box1, realise we needed to have Jumpstarted it so as to config the h/w RAID controller, so install enough j/s swerver to bring up box2 as we really wanted, install j/s on box2 so we could splat & j/s box1.

The ZFS learning curve has been much flattened by already having several Netapps lying about, so the concepts of optimal raidgroup sizing and how to utterly hose a CoW f/s are already common and/or wikified.

There are regular exchanges of the form 'What d'you mean ZFS doesn't do (x)? I thought it was a Netapp killer. Everyone says so. Does this mean they've not actually tried to do (x)?'

(no subject)

Date: 2010-02-09 11:50 pm (UTC)
From: [identity profile] hirez.livejournal.com
a. Fill several 1Tb volumes.
b. Delete it all at once.
c. Profit!

Actually, (c) expands to 'watch the Filer have a complete head-fit and peg the CPUs for several minutes. Since throughput has just fallen through the floor, watch all the businessy-businessy apps expire messily and then deal with the throng of angry suits between you and the coffee machine.'

The Netapp tech-note boils down to 'Don't do that. Performance can be sub-optimal.'

(no subject)

Date: 2010-02-10 12:18 am (UTC)
From: [identity profile] hirez.livejournal.com
Oh God Yes. The weenies are shitting themselves with hatred, I understand.

I know damn fine that I'd worry more about the data if it were on things that weren't Filers. (He said, being non-committal and leaving out a bunch of stuff)

(no subject)

Date: 2010-02-10 12:24 am (UTC)
From: [identity profile] nisaba.livejournal.com
Very true. Two words are key to this: maintenance, and resiliency.

Netapp's support is pretty damn good and it means I don't have to phaff about detecting the inevitable failed disks or even reporting them. And Netapp's clustering is good and has only been getting better in the two yers I've worked with them. I wouldn't want to run anything really key on an x4500 (and that's without going into the problems we had during a PoC running an oracle DB on same with zfs on top as it dealt with random reads/writes really really badly).

We still have a truckload of netapps at our place, and I still love them. Where OracleSun end up when their zfs-based product (Unified? Formerly Amber Rd) is more mature however, that remains to be seem (we trialled their beta when it was the only one they had in europe, it was in serious need of getting the basics right let alone the clever stuff).

(no subject)

Date: 2010-02-10 03:53 am (UTC)
ext_243: (stupid)
From: [identity profile] xlerb.livejournal.com
There are regular exchanges of the form 'What d'you mean ZFS doesn't do (x)? I thought it was a Netapp killer. Everyone says so

Also, RAID-Z is full of goodness and light and bunnies and is like RAID except better in every way and will solve every problem in the world…

…except the ones involving lots of small files.

(no subject)

Date: 2010-02-10 01:12 pm (UTC)
ext_126642: (Default)
From: [identity profile] heliumbreath.livejournal.com
Sun is dead: you're using zombie software. I'd suggest the shotgun from the original Doom as a sysadmin tool.

March 2022

S M T W T F S
  12 345
6789101112
13141516171819
20212223242526
2728293031  

Style Credit

Expand Cut Tags

No cut tags