« February 2008 »
SunMonTueWedThuFriSat
     
1
2
3
4
5
6
10
11
12
13
14
15
16
17
18
19
20
21
22
23
25
26
27
29
 
       
Today
XML

Tom Haynes

loghyr.com
excfb.com

Blogs to Gander At

Navigation

Editing

AllMarks

Referers

Today's Page Hits: 3267

Powered by Roller Weblogger.

statcounter.com

clustrmaps.com

Locations of visitors to this page

technorati.com

www.alesti.org

Add to Alesti RSS Reader

South Park as I was 10 years ago

South Park Fantasy

South Park today

South Park Reality

I have more hair and it isn't so grey. :->

10 years ago, really

Toon Tom

Today, literally

Tom Today

Site notes

This page validates as XHTML 1.0, and will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device. It was created using techniques detailed at glish.com/css/.

« Previous day (Feb 27, 2008) | Main | Next day (Feb 28, 2008) »
20080228 Thursday February 28, 2008
How to determine MDS, DS, and client

With the OpenSolaris pnfs binary drops, things are still pretty raw. (Hey, we could hold onto the code until it is fully baked!) A common problem is telling which machines plays which role - i.e., I've got a pNFS community set up, I've done some testing, and I've rebooted the machines. How do I remember which machine is which?

The dservadm command will help you. If it shows nothing, you have either a client or the MDS:

# dservadm listpools
zpools:

Okay, we find the DS:

# dservadm listpools
zpools:
    train
# uname -a
SunOS silent 5.11 pnfs-curr i86pc i386 i86pc

Now, how do I tell which of the remaining two are the MDS and client? Well, dservadm can tell me a bit more:

# dservadm listmds
mds:
    192.168.2.119.8.1
# host 192.168.2.119
119.2.168.192.in-addr.arpa domain name pointer stealth

Don't worry about the extra numbers at the end of the mds identifier - just realize the first four are octets. Okay, we can now start back up with our testing.


Originally posted on Kool Aid Served Daily
Copyright (C) 2008, Kool Aid Served Daily

Copyright (C) 2007, Kool Aid Served Daily