-
Chat-ron
hi, I was wondering where can I find some ressources for starting with OmniOS ? The wiki
wiki.omniosce.org doesn't seem reachable anymore
-
Chat-ron
I'm looking for some resources about the basic stuff like how to check the listening ports or how to manage the services
-
nomad
Chat-ron, do you have previous Unix admin experience? Where are you starting from?
-
Chat-ron
I'm a Linux a FreeBSD sysadmin
-
nomad
You'll find the FBSD experience more useful than Linux, IMHO.
-
nomad
have you checked out the left side menu at
omnios.org ? There's some getting started info there.
-
nomad
Solaris-based OSs use svcs to manage services. It's like systemd only good. (It also pre-dates systemd by several years.)
-
Chat-ron
yes I did check omnios.org, and the info are pretty limited on it
-
nomad
It's not as trivial to understand as /etc/rc.*, though.
-
nomad
svcs and svcadm are the commands you'll use a lot for service management.
-
nomad
as far as listening ports, I stick with my old friend lsof(1).
-
Chat-ron
I see, svcadm looks really like systemd
-
nomad
other way 'round, but <shrug>
-
nomad
the file format is different and locations are different and SMF a bit less complex, IMHO.
-
nomad
SMF is...
-
» nomad is not a fan of pottering so will shut up now.
-
Chat-ron
yeah systemd can be complex when you want to make your own unit files, by saying that it looks the same I meant this about the command
-
Chat-ron
I've never though of using lsof for checking listening ports, it seems a little overkill
-
Chat-ron
I was more looking for a equivalent of netstat -nlp4, something like that
-
Chat-ron
but it doesn't seem there is a -l parameter in the omnios netstat
-
nomad
I guess you could use -a and do some filtering on the output.
-
nomad
It's not something I've thought about.
-
Chat-ron
I see x)
-
nomad
I've never used netstat -nlp4, looks interesting. TIL
-
nomad
I'm the kind of person who still uses ifconfig.
-
Chat-ron
I think you still have to use it on IllumOS or *BSD :p
-
nomad
omnios has ... interesting ... ideas for network configuration tools.
-
nomad
dladm and friends still throw me for loops.
-
Chat-ron
what do you mean ?
-
rmustacc
The equivalent to -p is -u.
-
nomad
ipadm and dladm to be specific.
-
nomad
Part of it is I'm daily touching and managing linux boxes but rarely need to do anything with my OmniOS file servers so always have to re-learn how to do things there.
-
nomad
same with my FBSD file servers.
-
Chat-ron
yeah, that's the same for me
-
Chat-ron
everytime I switch to FreeBSD I've to remind myself where are stored the files
-
nomad
Ironically, leenux is my least favorite of all the OSs I've ever managed, with the possible exception of early-years AIX.
-
Chat-ron
but the others need less management xD
-
nomad
well, ok, pre-2.5.1 Solaris was pretty vile.
-
nomad
Well, file servers shouldn't need much touching.
-
nomad
make sure the filesystems are configured correctly, shared properly, and backed up as needed then leave them alone.
-
nomad
Should have mentioned patch regularly.
-
Chat-ron
you still have to make the updates
-
nomad
beadm is nice that way.
-
Chat-ron
beadm ? what does it do ?
-
nomad
it adm's your be's (be = boot environment)
-
nomad
"oops, this patch broke the world, I'll have to boot from the previous - working - one."
-
danmcd
If you upgrade a new BE is created. You then can activate-and-boot the new one, and per ^^^ rollback if needed.
-
nomad
zfs snapshots are sooooo fantastic.
-
» nomad <3 ZFS
-
danmcd
It's also great for trying new things as a developer (let's install new driver X on this BE...).
-
Chat-ron
yes ZFS is nice but a little memory consuming
-
danmcd
ALSO you can bring up a DEBUG kernel of your existing release BE in a new BE with OmniOS (and I think OI too).
-
nomad
My OmniOS (and FBSD) boxes are exclusively used for file service. Anything that makes that more reliable is win.
-
Chat-ron
and I don't like the way the encryption is handled by him, I prefer luks for this
-
Chat-ron
so the way you are talking about the BE let me think that the updates are kind of like with FreeBSD : pkg is only about the user apps, and for the system updates you have to use an other tool ?
-
nomad
pkg updates everything in OmniOS
-
nomad
it knows about the be stuff.
-
nomad
To finish the thought from earlier... I'm happy to throw RAM at ZFS for speed and reliability.
-
nomad
It's not like I'm using it for anything else.
-
nomad
That said, OmniOS is really focused at zones but I completely ignore that.
-
neitzel
FreeBSD knows about BEs, too, governed by bectl(8), pretty similar to beadm(8). Omnios' default pkg+beadm integration is much cooler, though.
-
neitzel
(IMHO)
-
nomad
cool. I've never noticed that (haven't looked).
-
» nomad looks at a FBSD box and sees he has multiple BEs he didn't even know he had.
-
nomad
TIL
-
nomad
And people say IRC isn't useful anymore.
-
neitzel
man bectl | awk -v RS= /Summer/ | fmt -w 55
-
neitzel
HISTORY
-
neitzel
bectl is based on beadm(1) and was implemented as
-
neitzel
a project for the 2017 Summer of Code, along with
-
neitzel
libbe(3).
-
Chat-ron
is there a way to enable the screen blanking ?
-
Chat-ron
I've installed my OmniOS on an old laptop
-
nomad
I've only ever used it via text console or ssh. I've no idea what, if any, GUI it might have available.
-
nomad
(let alone how to use one.)
-
» nomad remembers when Sun tried to make Solaris a "laptop" OS
-
nomad
those red laptops were ... interesting.
-
nomad
In a 'my god, that's not a laptop, that's an aircraft carrier' kind of way, if nothing else.
-
toasterson
What where they launching?
-
Chat-ron
I'm not looking for a gui, but for enable the screensaver of the screen with the terminal
-
Chat-ron
you have this on linux with xset
-
nomad
toasterson, they thought they were launching a new lucrative way to sell Solaris and hardware.
-
nomad
Instead it seems what they launched were shiny Ferrari Red boat anchors.
-
toasterson
I meant the Aircraft carriers :)
-
nomad
I was too.
-
neitzel
3 yrs ago, I bought an old Atom N270 netbook second-hand for 50 EUR, originally sold by "Aldi" (super-market chain here, aiming at the low-price segment), just to have a look at the installed MS Windows 10. After 72 hours of being not impressed, I nuked the Win10 to replace it with Solaris-10. Works nicely (no wifi, though) -- one cannot get more "consumer-grade" than that, I'd say.
-
nomad
-
nomad
-
nomad
I remember Sun employees bringing them to Usenix conferences.
-
nomad
They were very easy to spot. Nothing else was quite that shade of red.
-
neitzel
Those sparc voyagers were easy to spot, too :-)
-
nomad
Were they also Ferrari red? Maybe that's what I was thinking of.
-
nomad
It's been a long time and I've slept since then.
-
nomad
They were 17" or 19" or something really insane, IIRC.
-
neitzel
-
nomad
ah, nope. I don't think I ever touched one of those.
-
neitzel
(Yes, the Voyager does come with a bag to lug it around.)
-
nomad
so it can voyage
-
nomad
yay, inventory time.
-
» nomad sighs
-
neitzel
Voyagers are pretty rare finds. Those Tadpole sparc notebook later became a bit more common.
-
nomad
I guess I'll be going to campus next Friday.
-
nomad
I remember hearing about the tadpole.
-
nomad
don't remember *what* I heard about it.
-
nomad
-
» nomad has a memory like a steel trap
-
nomad
rusted shut.
-
neitzel
Yupp. Speaking of screen blankers: I am happy with the omnios console on my X220. I'd be even happier if it used the 1366x768 mode instead of the 1024x768 standard VESA size, then scaled by the box. Would there be any way to get to the native 1366x768 res?
-
andyf
Yes, you can put settings in a file, I'll look it up
-
» nomad hopes it's not like the old xfree86 config file
-
andyf
Something like this: echo 1366x768x16 > /boot/conf.d/bootres
-
neitzel
great -- let me try that right away!
-
» nomad really needs to stop living in the past
-
neitzel
The /boot/conf.d/bootres didn't work so far. I got some syntax? error msg during boot which flashed out of sight much too quickly. (Not trace of it in dmesg, /var/log, or /var/run). I found "boot_resolution=1024x768" etc. /boot/defaults/loader.conf though, and will tweak those.
-
neitzel
That made the system to continue the kernel-load with 800x600 (the default loader_resolution).
-
neitzel
Defining both loader_resolution and boot_resolution=1366x768 made everything to use 1024x768.
-
neitzel
My best guess is that only std VESA BIOS (VBE) modes are accepted, and 1366x768 isn't one.