John Thurston wrote:
We run a few Solaris 10 SPARC servers with about 60 zones. We use
mulitple NICs, IPF, ZFS increments to create off-host copies, and
scripts to move zones between hosts. Looking over SmartOS, I suspect it
would meet 80+ percent of the business need we're currently meeting with
Solaris.
To check it out, I've put SmartOS an X4270 server and am poking at it.
The experience is leaving me feeling a bit like a country bumpkin
walking into the city for the first time. I can sort of find my way
around, and tools like zoneadm and zfs are still there, but it looks
like I'm supposed to be working at a more abstracted layer with vmadm.
Yes. zoneadm is rarely used, but it is still there.
In my old world, I'd plumb one of my physical NICs with ifconfig for
shared use by several zones, create a dataset with zfs and mount it,
define a zone with zonecfg, install and boot it with zoneadm, zlogin to
the console to config it, and then turn it over to the customer who
would ssh into it. I assume I could still do all of this, but I also
assume this ain't the way it's done here.
It is much easier on SmartOS, all you have to do is create the JSON
payload for the zone (roughly equivalent to the zonecfg step) and the
use vmadm create -f <payload> to create your zone. If you want a
private data set in the zone, include "delegate_dataset": true in the
json. See the wiki link further down for an example.
Where do I go to learn the right way?
Have a good read or three of the vmadm man page, it probably easier to
read it online here: https://smartos.org/man/1m/vmadm
Also have this page open:
https://wiki.smartos.org/display/DOC/Using+vmadm+to+manage+virtual+machines
I've been looking at the SmartOS wiki ( https://wiki.smartos.org/x/7IYL
and https://wiki.smartos.org/x/i4IL ) but I seem to be failing at some
fundamental level. For example, I wanted to create a zone on something
other than global's NIC (igb0). So I thought I defined a nic_tag
"zone_nic1" using the MAC of igb1, but all I get from vmadm is
Invalid nic tag "zone_nic1"
How? It works OK for me:
[root@smartos ~]# nictagadm add zone_nic1 00:1b:21:b1:d5:2f
[root@smartos ~]# nictagadm list
NAME MACADDRESS LINK TYPE
internal - stub0 aggr
zone_nic1 00:1b:21:b1:d5:2f e1000g0 normal
--
Ian.
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com