gharnett
asked on
Solaris Inventory
I manage a couple of sun boxes which are stored remotely. Can I find out what hardware model these boxes are using commands?
If you use the format command (as root) you will get a list of the logical disk units configured. There is a good chance that you can tell what kind of drives they are.
look in /dev/rmt to see if there are any tape drives.
dmesg may show you the last boot sequence so you can pick out devices that were sensed during boot. There may be items in the cabinet that are not powered on or connected. In that case, you will not be able to remotely sense those items. For example, on some of our servers, we leave a drive sitting in the cabinet but it is not plugged in all the way because it is inteneded as a spare.
look in /dev/rmt to see if there are any tape drives.
dmesg may show you the last boot sequence so you can pick out devices that were sensed during boot. There may be items in the cabinet that are not powered on or connected. In that case, you will not be able to remotely sense those items. For example, on some of our servers, we leave a drive sitting in the cabinet but it is not plugged in all the way because it is inteneded as a spare.
may these help
uname -a
prtconf | grep Memory
psrinfo -v
/usr/platform/sun4u/sbin/p rtdiag -v
df -k
du -k
uname -a
prtconf | grep Memory
psrinfo -v
/usr/platform/sun4u/sbin/p
df -k
du -k
Try installing CST (http://www.sun.com/service/support/cst).
The product gathers information regarding system configuration, both software and hardware, and presents this information through a WEB based interface.
The product gathers information regarding system configuration, both software and hardware, and presents this information through a WEB based interface.
An easy and clear way to get Disk information without using the fortam command is to type
iostat -E
add you don't have to be root :)
iostat -E
add you don't have to be root :)
the prtdiag command is great, the location varies according to the system type - use "find / -name prtdiag -print" to determine where it is if it's not in usr/platform/sun4u/sbin
older sun boxes (sparc20, 5 & 4) are sun4m
I forget what sparc2 and sparc1 and ipx's are.
if they're remote, you should have console servers on their primary serial ports, so if you can reboot them you can find out a lot from the openboot prompt - send a BREAK when the machine first powers up. The warning about "probe-scsi" should be respected!
Paul
Try looking at SYSINFO from MagniComp(http://www.magnicomp.com/sysinfo/). It is free to educationional orgs and pretty cheap if you have <5 cpu's.
ASKER
so i ran uname -a on 2 of the boxes. what can i deduce about these machines?
SunOS gweb 5.6 Generic_105181-05 sun4u sparc SUNW,UltraSPARC-IIi-Engine
SunOS gtest 5.6 Generic_105181-34 sun4u sparc SUNW,UltraSPARC-IIi-Engine
SunOS gweb 5.6 Generic_105181-05 sun4u sparc SUNW,UltraSPARC-IIi-Engine
SunOS gtest 5.6 Generic_105181-34 sun4u sparc SUNW,UltraSPARC-IIi-Engine
they're sun ultra class machines, with ultrasparcII processors (probably at least three years old)... I can't tell if they're PCI or sbus based.
they're running sparc solaris 2.6 (sunos 5.6) - i.e. not intel x86 solaris.
I'd be concerned with the time they were last patched - download the recommended patch cluster off the sun support/patches download site - look for the 2.6_recommended files.
they're running sparc solaris 2.6 (sunos 5.6) - i.e. not intel x86 solaris.
I'd be concerned with the time they were last patched - download the recommended patch cluster off the sun support/patches download site - look for the 2.6_recommended files.
ASKER
are they sun machines or clones?
I've not met many clones with uIIi processors, but it's not possible to tell.
If you give us the prtdiag command output (which doesn't need root privs to run), we can tell more.
the "eeprom" command output will also be telling.
Paul
If you give us the prtdiag command output (which doesn't need root privs to run), we can tell more.
the "eeprom" command output will also be telling.
Paul
I run a couple of those Sparc's myself as workstations they are sun machines but I would need more info as to what
you are using them for.
Ric
you are using them for.
Ric
AS commented by someone else also post the out put of following commands,
uname -a
psrinfo -v
/usr/platform/sun4u/sbin/p rtdiag -v
df -k
hostid
It should be enough to prepare inventory, please let me know if you require any specific format or information.
Sarvendra
uname -a
psrinfo -v
/usr/platform/sun4u/sbin/p
df -k
hostid
It should be enough to prepare inventory, please let me know if you require any specific format or information.
Sarvendra
Check the information through man pages of:
- uname
- prtinfo
- psrinfo
This should give you the information you need.
- uname
- prtinfo
- psrinfo
This should give you the information you need.
try this command you should be able to view all devices from there
/usr/platform/`arch -k`/sbin/prtdiag
/usr/platform/`arch -k`/sbin/prtdiag
Summary: Solaris command which lists hardware inventory?
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
To: sun-managers@sunmanagers.e cecs.uc.ed u
Subject: Summary: Solaris command which lists hardware inventory?
From: Ruth H Woods <rwoods@Census.GOV>
Date: Thu, 9 Jul 1998 18:30:16 -0400 (EDT)
Sender: owner-sun-managers@sunmana gers.ececs .uc.edu
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Thanks to all who responded. Too many to mention, but all appreciated.
The suggestions included:
prtconf dmesg psrinfo sysdef modinfo memtest.pl
/usr/platform/`uname -i`/sbin/prtdiag
plus freeware:
sysinfo scsiinfo and whatami.sh
1. ftp::/usc.edu/pub/sysinfo.tar.gz
2. public domain <(C)Copyright University of Toronto> scsiinfo
( Harvey Wamboldt)
--------------------------
To: sun-managers@sunmanagers.e
Subject: Summary: Solaris command which lists hardware inventory?
From: Ruth H Woods <rwoods@Census.GOV>
Date: Thu, 9 Jul 1998 18:30:16 -0400 (EDT)
Sender: owner-sun-managers@sunmana
--------------------------
Thanks to all who responded. Too many to mention, but all appreciated.
The suggestions included:
prtconf dmesg psrinfo sysdef modinfo memtest.pl
/usr/platform/`uname -i`/sbin/prtdiag
plus freeware:
sysinfo scsiinfo and whatami.sh
1. ftp::/usc.edu/pub/sysinfo.tar.gz
2. public domain <(C)Copyright University of Toronto> scsiinfo
( Harvey Wamboldt)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if you want to push the cmos, then solaris puts those binaries in /usr/platform/<platform>/s
for an ultra enterprise system (450, 420, 220, 250, ultra 5,10,60,80) that platform is sun4u, so you're looking at /usr/platform/sun4u/sbin/p