Wednesday Jul 07, 2010

What Topology Map(s) is FMA Using?

When debugging FMA issues, there's been several times I've wanted to know what XML maps are being used to generate (or fail to generate :) the FM topology. I guess I reached a sufficient point of annoyance, so I wrote a pair of dtrace scripts to automate this. Here's an example from an Ultra 24 workstation running snv_140.

# ./topomaps.d -c /usr/lib/fm/fmd/fmtopo 2>/dev/null | grep Map Map: //usr/platform/i86pc/lib/fm/topo/maps/i86pc-hc-topology.xml Map: //usr/platform/i86pc/lib/fm/topo/maps/i86pc-legacy-hc-topology.xml Map: //usr/platform/i86pc/lib/fm/topo/maps/chip-hc-topology.xml Map: //usr/platform/i86pc/lib/fm/topo/maps/chassis-hc-topology.xml \^C

Now, I did say a pair of dtrace scripts. topomaps.d is the first script, which calls a second script topomapmon.d that ultimately traces the calls to topo_xml_read(). Two scripts are required to deal with the dynamic loading done by fmtopo. Anyway, drop both in the same directory and run with sufficient privileges and you should be good to go.

:wq

Thursday Dec 10, 2009

Solaris 10 System Administration Essentials

I'm a little behind on this one....but after many, many months, the Solaris 10 System Administration Essentials book is available for purchase. It covers all aspects of Solaris 10, from features you'd expect like ZFS, DTrace, FMA, and Zones as well as packaging & patching, user & network administration, and filesystems.

I had the distinct honor of authoring the Fault Management chapter. A little over a year ago, followers of this blog got a taste of that chapter in the Managing Fault Management Log Files.

Enjoy!

:wq

12/11/2009 Update: The text is live on Safari Books now.

About

user9148476

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today