smartos-discuss | 11 Jul 2012 21:08
Favicon

Thank you for being part of smartos-discuss

We've removed gosg-smartos-discuss <at> m.gmane.org from smartos-discuss.

No further action is necessary. Thank you for being with us.

Rejoin smartos-discuss at https://www.listbox.com/member/?member_id=22274025&id_secret=22274025-875711e2

Reid Draper | 11 Jul 2012 04:12
Picon
Gravatar

clone smartOS vm

I've created a SmartOS zone ("dataset"?) that I'd like to snapshot and clone. I've found
instructions [1] for doing this with KVM, but not with zones. Am I right in thinking this
is possible? If so, is there any documentation? I wasn't able to find anything on the
SmartOS wiki or the imgadm and vmadm man pages.



Thanks,
Reid Draper
smartos-discuss | Archives | Modify Your Subscription
Filip Hajny | 10 Jul 2012 21:12
Favicon
Gravatar

base-1.7.0 and base64-1.7.0

Hi guys,

we published a new image on datasets.joyent.com yesterday. We're re-branding the former 'smartos' image
to 'base', so it's base-1.7.0 and base64-1.7.0, a step up from smartos-1.6.3 (and smartos64-1.6.3).
Here's a humble changelog:

- Packages from the 2012Q1 package set.
- GCC is up to 4.7.0, which finally supports a 64bit target for Solaris. It means that on the 64bit image, GCC
will assume -m64 by default; i.e. no more messing with CC, CFLAGS and the like when trying to compile
something that links against 64bit libs. You can still override (with -m64 on base-1.7.0, and -m32 on
base64-1.7.0) if you want a behavior opposite of the default.
- Removed some stale bits (users, groups, SMF services, essentially legacy of Solaris days).
- Went back to platform 'man' (/usr/bin/man) hooked up to groff, versus the 3rd party package before.
- Node.js pre-installed by default (0.8.1 now, 0.6.19 available too).
- We're setting LANG=C by default, for 1) performance reasons; and 2) due to some ugly compilation issues
with boost and similars.
- If you tried to use the user-script metadata to execute something that make take time, you now have an hour
before the SMF (mdata:execute) fails with a timeout.
- Put back a default /etc/mail sendmail config file set, so that if /usr/lib/sendmail gets invoked for some
reason (e.g. fixed reference in Cron), it will work by relaying to the local Postfix.
- crle quirks no longer needed, GCC is configured to always leave proper rpath to its objects in everything
it builds.

And now on to building 2012Q2 packages! :)

--
Filip Hajny
Director, SmartMachine Engineering
Joyent Inc.

-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/22274025-bb028611
Modify Your Subscription: https://www.listbox.com/member/?member_id=22274025&id_secret=22274025-875711e2
Powered by Listbox: http://www.listbox.com

Jonathan Perkin | 10 Jul 2012 00:00
Favicon

9,000+ binary packages for SmartOS / illumos

Hi!

As you may know, Joyent use pkgsrc to provide binary packages for
SmartOS.  We currently build a limited set, in order to ensure that
the packages we do provide behave as users expect (SMF support, etc.)

As an alternative, there is now a full build of pkgsrc-2012Q2
available for SmartOS and other illumos-derived systems, consisting of
9,401 binary packages (without SMF bits, etc).  Details of how to
install them are here:

  http://www.perkin.org.uk/posts/9000-packages-for-smartos-and-illumos.html

Feedback would be really appreciated, especially from non-SmartOS
users as I have not tested on other illumos forks.  We are hoping to
hit 10,000 packages for pkgsrc's 15th birthday in 2012Q3.

Regards,

--

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com

-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/22274025-bb028611
Modify Your Subscription: https://www.listbox.com/member/?member_id=22274025&id_secret=22274025-875711e2
Powered by Listbox: http://www.listbox.com

Phillip Neumann | 9 Jul 2012 23:43
Picon
Gravatar

CPU Shares and CAPs

Hello all!,


Im new to SmartOS and am confused about cpu shares and caps.

I have the following smart mashines in SDC:

- 5 smartos <at> regular_1024
- 1 percona <at> regular_1024
- 1 smartos <at> "400" configured like this:

4096MB RAM
15GB Disk
4096MB Swap
CPU Cap 8000
virtual CPUs 1
IO priority 8

Im executing on 4 smartos <at> 1024 and on the 400 one, this:
sysbench --test=cpu --cpu-max-prime=50000 --num-threads=50 run

I expected to see that the smartos <at> 400 would use more cpu than the other ones, becouse it has more RAM and CPU cap.
AFAIK, SDC calculates the cpu cap based on the RAM, right?

What i see on CA, is that all instances uses the same cpu's.
Am i missing something in a configuration?

prstat -Z showed the same cpu use too.

Thanks!!
--


__________________
pneumann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
<at> killfil

smartos-discuss | Archives | Modify Your Subscription
Nahum Shalman | 9 Jul 2012 23:29

stripped down image server for use with imgadm

For those who are interested, I have the beginnings of an image server 
written using node-restify here:
https://github.com/nshalman/smartos-image-server

It's very crude, only supports the GET methods of the API (not the 
deprecated one), and might crash if you feed it a bad manifest.

Comments and patches welcome!

-Nahum

-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/22274025-bb028611
Modify Your Subscription: https://www.listbox.com/member/?member_id=22274025&id_secret=22274025-875711e2
Powered by Listbox: http://www.listbox.com

Deirdre Straughan | 9 Jul 2012 17:26
Favicon

Training from Joyent - with links!

This is what I get for assuming that two different lists have the same settings... sorry for the double spam!


Max Bruning and Brendan Gregg, two of the world’s best trainers in Solaris and related topics, somehow both ended up at Joyent. ;-)

Training hasn't been their primary job in recent years, but they both enjoy doing it, and we all see a need to increase skills and knowledge in our growing illumos/SmartOS community. So we've got some courses scheduled for September:

Visit the links above for full course descriptions and details, and to register.

We are also assessing demand for more. See http://smartos.org/2012/06/14/training-from-joyent/ for descriptions of courses we might offer in Joyent SmartDataCenter and illumos/SmartOS Internals. We're also considering a two- or three-day course in ZFS Internals.

If any of these would interest you, please write to me (deirdre-d/Pq3yM9pWXQT0dZR+AlfA@public.gmane.org) and tell me who you are, where you are, where and what you'd like training in. 

best regards,
Deirdré Straughan
Community Architect
Joyent

smartos-discuss | Archives | Modify Your Subscription
Matthew Law | 9 Jul 2012 14:02
Picon

Recommended methods for VM snapshots and ip accounting


Is it sensible to snapshot VMs by running a cron job on the host which
iterates the VMs and takes a ZFS snapshot of the zvol and sends it to
another host? (this would be for both KVM and OS VMs).  This is meant to
cover us for a failure of the host, so we can tolerate open/inconsistent
file issues, etc.

What is the best method of taking ip accounting stats (bytes in/out) for
each VM regardless of type?  Would it be sensible to create a script that
runs `vmadm info UUID blockstats` for each VM and pluck out the numbers in
the "stats" hash?  We have systems in place for our linux KVM hosts which
take the byte counts for each VM interface and push them to another host
for processing but I am not sure if this is the correct approach in
SmartOS?

Thanks in advance,

Matt.

-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/22274025-bb028611
Modify Your Subscription: https://www.listbox.com/member/?member_id=22274025&id_secret=22274025-875711e2
Powered by Listbox: http://www.listbox.com

Anil Jangity | 9 Jul 2012 06:50
Gravatar

resolvers in zone configuration

This is on 20120629T002039Z release.

I have a configuration similar to http://pastebin.com/u656uU4x. It seems the resolvers configuration isn't getting picked up. Is this a known issue or something wrong with my config?

Thanks
smartos-discuss | Archives | Modify Your Subscription
smartos-discuss | 9 Jul 2012 05:59
Favicon

Training from Joyent

Max Bruning and Brendan Gregg, two of the world’s best trainers in Solaris and related topics, somehow both ended up at Joyent. ;-)

Training hasn't been their primary job in recent years, but they both enjoy doing it, and we all see a need to increase skills and knowledge in our growing illumos/SmartOS community. So we've got some courses scheduled for September:

Visit the links above for full course descriptions and details, and to register.

We are also assessing demand for more. See here for descriptions of courses we might offer in Joyent SmartDataCenter and illumos/SmartOS Internals. We're also considering a two- or three-day course in ZFS Internals.

If any of these would interest you, please write to me (deirdre-d/Pq3yM9pWXQT0dZR+AlfA@public.gmane.org) and tell me who you are, where you are, where and what you'd like training in. 

best regards,
Deirdré Straughan
Community Architect
Joyent
smartos-discuss | Archives | Modify Your Subscription
Nahum Shalman | 6 Jul 2012 17:22

Make sure to install nodejs in your build zone

I ran a build this morning in an existing build zone and it failed 
because it couldn't find node.
This was why:
https://github.com/joyent/smartos-live/commit/e411bb15e3f7de4dcee825602e8534559e98222c

Solution:
pkgin up ; ./configure

Sending to the mailing list in case anyone else is confused why "gmake 
clean update world live" fails...

(Aside: Anyone starting from scratch and following the wiki page would 
be fine.)

Question: Should configure be run before every build? If so, should it 
always re-download the adjunct tarball?

Happy Friday!
-Nahum

-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/22274025-bb028611
Modify Your Subscription: https://www.listbox.com/member/?member_id=22274025&id_secret=22274025-875711e2
Powered by Listbox: http://www.listbox.com


Gmane