Unix administration - Solaris equivalent commands for HP and AIX

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > February 2004 > Solaris equivalent commands for HP and AIX





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Solaris equivalent commands for HP and AIX
Dave

2004-02-11, 1:36 am


Hello all,



I am a Solaris administrator who has been given the task of remotely
gathering information on the raw disk capacity of a bunch of SUN ,HP and AIX
machines.



I am trying to avoid counting disks twice when thy are shared by many
machines and clusters. I am also want to avoid missing disks that might be
mirrors or otherwise associated with logical volumes or RAIDS of any type.



For Solaris boxes I plan to use format to capture all of the disks that an
individual server can see and then do an iostat to capture disk manufacture
and serial numbers.

It seems that I can then just processes all of the results and eliminate
duplicate entries for disks (via serial number) that are shared among
machines.



My question is how can I capture the same information on the AIX and HP
boxes?

I cannot find any commands the correspond directly to format and iostat for
these environments.



Any help or suggestions would be greatly appreciated.



Thanks in advance,



Dave


Dave Hinz

2004-02-11, 11:34 am

On Wed, 11 Feb 2004 09:43:37 -0500, Dave <dkennedy9@charter.net> wrote:
>
> I cannot find any commands the correspond directly to format and iostat for
> these environments.


The "Unix Rosetta Stone" will probably be of great use to you; I see
that it is currently located at:
http://bhami.com/rosetta.html

I'm curious why you're using format rather than, say, using df and only
looking at local devices?

Hope this helps,
Dave Hinz
Finnbarr P. Murphy

2004-02-12, 4:34 pm

"Dave" <dkennedy9@charter.net> wrote in message news:<102kft5ssh4nu73@corp.supernews.com>...
> For Solaris boxes I plan to use format to capture all of the disks that an
> individual server can see and then do an iostat to capture disk manufacture
> and serial numbers.

.....
> My question is how can I capture the same information on the AIX and HP
> boxes?
>
> I cannot find any commands the correspond directly to format and iostat for
> these environments.


HP-UX has no single utility equivalant to the Solaris format utility. As for
iostat, the HP-UX equivalant is ioscan with appropriate option flags.

- F
Ulrich Herbst

2004-02-15, 2:34 am

"Dave" <dkennedy9@charter.net> writes:

> I am trying to avoid counting disks twice when thy are shared by many
> machines and clusters. I am also want to avoid missing disks that might be
> mirrors or otherwise associated with logical volumes or RAIDS of any type.
>
>
>
> For Solaris boxes I plan to use format to capture all of the disks that an
> individual server can see and then do an iostat to capture disk manufacture
> and serial numbers.
>
> It seems that I can then just processes all of the results and eliminate
> duplicate entries for disks (via serial number) that are shared among
> machines.
>
>
>
> My question is how can I capture the same information on the AIX and HP
> boxes?
>
> I cannot find any commands the correspond directly to format and iostat for
> these environments.
>


For AIX:

If you want the raw (!) capacity for all disks (not just in VGs
included),

try 'lspv' and then 'bootinfo -s hdiskxxx'.

It gets a bit complicated to sort out duplicates, because that depends
on your disk hardware.

For an ESS (Shark) with sdd drivers: try 'datapath query device'

Uli

--
'''
(0 0)
+------oOO----(_)--------------+
| |
| Ulrich Herbst |
| |
| Ulrich.Herbst@gmx.de |
+-------------------oOO--------+
|__|__|
|| ||
ooO Ooo
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com