ZFS de-dup sighting

I just noticed on the OpenSolaris ARC discussion forum that a proposal for adding de-duplication into 'zfs send' has appeared.

Updated: There is another ARC sighting -  ZFS deduplication properties.

Comments[0]

Solaris patch cluster logic updated

Check out the entry on the Solaris patching blog: http://blogs.sun.com/patch/entry/improvements_to_solaris_10_recommended

It looks like a lot of good (and long overdue) updates made it into the patching process. 

Comments[0]

LDOMs 1.2 released

 Links:  download  and docs

I think the physical to virtual conversion tool would be of interest to a lot of folks with aging hardware running on Solaris 8 and 9 who would love to convert their machine to a couple of threads on a CMT box.

Here is what the release notes listed as new:

  • Support for CPU power management.

  • Support for jumbo frames.

  • Restriction of delayed reconfiguration operations to the control domain.

  • Support for configuring domain dependencies.

  • Support for autorecovery of configurations.

  • Support for export of same backend multiple times.

  • API to support LDMD discovery. 

  • Support for physical-to-virtual migration tool. 

  • Support for configuration assistant tools. 

  • Bug Fixes

Comments[0]

Jumpstart Enterprise Toolkit (JET) resources

I've been working on JET for a customer this week.  It provides a nice framework around Jumpstart and handles a lot of the details in an organized fashion.  I think using JET can reduce the amount of time needed to customize and troubleshoot the Jumpstart process.  Here are links to the resources I've been using:

http://wikis.sun.com/display/JET/Home

http://www.sun.com/bigadmin/content/jet/

http://jet.maui.co.uk/wiki/index.php/Main_Page

http://www.c0t0d0s0.org/plugin/tag/jet

http://blogs.sun.com/mramcha/category/Jumpstart

http://tech.groups.yahoo.com/group/JETJumpStart/


Comments[0]

Great articles on storage by Henry Newman

Henry Newman, a long-time storage pundit, is one of my favorite writers on the topic.  He offers a lot of great insights about various storage management technologies, trends, and processes.  You can view a list of his articles at: http://www.enterprisestorageforum.com/article.php/1570361

Comments[0]

Parallel patching of Solaris zones coming soon!

From the Sun Patch Blog

...

The Zones Parallel Patching performance enhancement continues on schedule.  It has been successfully beta tested by a number of key customers who confirm a 3x performance improvement patching zones.   It is on schedule to be released in a revision of the patch utilities patch (119254 SPARC / 119255 x86) in June.

...

This should be a great help to people running zones, especially on CMT machines!

Comments[0]

Key Resources for ZFS

When I am talking to someone who is looking at getting started with ZFS, I typically recommend they hit the following resources:

ZFS Administration Guide (previous link was for Solaris users, if you are using OpenSolaris/Solaris Express, look here)

-- Chapter 2 "Getting Started" is a great place to begin

ZFS-discuss forum/mailing list at opensolaris.org (lots of expert users and developers hang out there)

ZFS sections of the Solaris Internals Wiki

Comments[0]

Presentation on tuning Oracle for CMT (Niagara) machines

Glenn Fawcett (Sun) and Andrew Holdsworth (Oracle) gave a presentation on Optimizing Oracle on CMT machines at Oracle Open World today that is freely available.  It is a good read if you have Oracle or another RDBMS and want to run it on one of Sun's CMT servers.  In the presentation they cover a background on the CMT processor design goals, general tuning advice to help fit the chip and workload together, and then go through several examples showing what tuning they performed and the final results.  You can fetch the presentation from here.

Comments[0]

Sending a break to T5220 systems

The T5220 is one of the first SPARC based servers to use the ILOM lights out management software.  The interface is a bit different than ALOM, which is what most of Sun's volume SPARC servers have used in the past.  If you need to send a break to one of these, use the following command from within the SP

 set /HOST send_break_action=break



Comments[0]

Updated Solaris 10 Deep Dive Presentation

Glen Brunnette (security guru from Sun) has just announced an updated version of his excellent Solaris 10 Security Deep Dive presentation.  It covers lots of good topics, such as:

  • minimization
  • executable stacks
  • SMF
  • Process Rights
  • Zones
  • Secure by Default
and a lot more.  I urge anyone administering Solaris systems (even if you aren't on S10 yet) to check it out.  

Comments[0]

Jumpstart error and disk labels

I was working with a colleague recently trying to track down a jumpstart issue and thought this might be helpful to other people.

The Problem

A T2000 had a pair of 146G drives (c0t0d0 and c0t1d0) and a pair of 73s (c0t2d0 and c0t3d0) Each pair was mirrored by the LSI Raid controller so that the OS was presented with c0t0d0 and c0t2d0.

When jumping, if the rootdisk was unspecified, it would default to c0t2d0, which was not the desired configuration.
If was c0t0d0 explicitly used for /, the jump would fail with the following error":

ERROR: The boot disk (c0t0d0) is not selected

although the same profile was used earlier to successfully jump other machines.
Upon further investigation it turned out that c0t0d0 and c0t1d0 had previously been used in a ZFS pool thus had been labeled with an EFI label, which jumpstart doesn't know how to deal with.

The Solution

Used format -e to label the disk with an SMI label

partition> label
[0] SMI Label
[1] EFI Label
Specify Label type[1]: 0
Warning: This disk has an EFI label. Changing to SMI label will erase all
current partitions.
Continue? y
Auto configuration via format.dat[no]? y

and then run install-solaris to resume the jumpstart.

Comments[0]

X4200 and X4100 - always booting at power on

x4[12]00s appear to have a default power policy of 'previous' which means if the machines were off when they lost power, they won't automatically start back up when power is restored.

You can change that to 'always-on' which will always start the system instance when power is applied in the BIOS (weirdly under advanced settings -> southbridge) or can use  ipmitool (which is nice because you can change the settings without taking down the host).

/usr/sfw/bin/ipmitool -H $ILOM_IP -U root -f  $FILE_WITH_ILOM_PASSWORD  chassis policy always-on

Comments[0]

Setting the locator lights in ALOM and ILOM

If you want to turn on or off the white locate lights on a Sun machine that uses the ALOM service processor firmware (entry level SPARC and CMT servers) it is simple, use:

setlocator on

or

setlocator off

 

If you want to do the same for servers that use ILOM service processor firmware (AMD based), use:

set /SYS/LOCATE value=Fast_Blink

or

set /SYS/LOCATE value=off

from the SP or if you are using ipmitool, send the "chassis identify" or "chassis identify off" commands.


Comments[0]

Sun Ray Resources

Versatile has been working with Sun's Sun Ray thin-client platform  since it came out in late 1999.   There has been a lot of renewed interest from customers lately given the amount of attention paid to the low energy needs (2-4 watts) of Sun Rays compared to PCs and also as an inexpensive and easy to manage platform for virtual desktops.  My favorite feature has been session mobility, where you can pull your smart card out of one Sun Ray, walk down the hall (or go to another building), insert your smart card and pull you same session up.

If you are interested in working with Sun Rays, the following resources should be helpful:

Sun's main Sun Ray page: http://www.sun.com/sunray/sunray2/

Sun's Thin Client Group Blog: http://blogs.sun.com/ThinkThin

Sun Ray mailing list:  http://www.filibeto.org/sun/sunray-users/mailing-list.html  (extremely slow loading web page)

Sun Secure Global Desktop: http://www.sun.com/software/products/sgd/index.jsp


Comments[0]

Configuring link aggregation between Solaris 10 hosts and Nortel switches

I configured some aggregated links using LACP and wanted to share the steps. I was performing this on two T5220 servers that each had two NICs plugged into a Nortel switch.  If you have a network administrator, you should really ask them to help on the switch side so you don't mess anything up.  In our case I was the network administator (at least for this switch we procured for testing).

Steps before starting

Gather the port numbers on the switch that you will be using for link aggregation (5,6,7,8 in our case)

Make sure you know which network interfaces on the Solaris side (e1000g1 and e1000g2 in our case)

Read the Solaris documentation on link aggregation

Read the Nortel documenation on link aggregation

SWITCH CONFIGURATION

1) Connect to the switch via telnet (or ssh if supported)
2) Use ctrl-y to get to password promp
3) Enter switch password
4) Press 'c' to get to command line interface
5) config t   <--- to configure via terminal

SWITCHNAME(config)#int fastEthernet 5,6,7,8

SWITCHNAME(config-if)#lacp aggregation enable

SWITCHNAME(config-if)#lacp mode active

SWITCHNAME(config-if)#^Z

 

HOST CONFIGURATION

1) Make sure e1000g1 and e1000g2 are not currently plumbed
2) # dladm create-aggr -l active -d e1000g1 -d e1000g2  1
3) # ifconfig aggr1 plumb
4) # ifconfig aggr1 $ADDRESS netmask $NETMASK broadcast $BROADCAST up
5) # echo $ADDRESS > /etc/hostname.aggr1

VIEWING STATE OF LINK AGGREGATION

To view the state of the individual links use:
# dladm show-aggr 1
and
# dladm show-aggr -L 1

It should look something like:
# dladm show-aggr 1
key: 1 (0x0001) policy: L4      address: 0:14:4f:d0:c0:0b (auto)
           device       address                 speed           duplex  link    state
           e1000g1      0:14:4f:d3:c0:2b          1000  Mbps    full    up      attached
           e1000g2      0:14:4f:d3:c0:2c          1000  Mbps    full    up      attached

# dladm show-aggr -L 1
key: 1 (0x0001) policy: L4      address: 0:14:4f:d0:c0:0b (auto)
                LACP mode: active       LACP timer: short
    device    activity timeout aggregatable sync  coll dist defaulted expired
    e1000g1   active   short   yes          yes   yes  yes  no        no
    e1000g2   active   short   yes          yes   yes  yes  no        no

Comments[0]