Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to check out IP address used by system controller

Status
Not open for further replies.

RedFox4AIX

IS-IT--Management
Dec 22, 2004
24
CA
Hi All,

I have sun fire v1280 with a system controller, my question is how can I check out IP address used by system controller online? any command for that?

thanks!

Fox
 
RedFox4AIX;


These commands are executed at the lom prompt on the system controller, not in Solaris

shownetwork - Display System Controller (LOM) network settings and MAC addresses.

shownetwork [-v]

shownetwork -h

showsc - Display version and uptime information about the System Controller.

showsc [-v]

showsc -h

Thanks

CA





 
Hi CA,

thanks for your reply. however that doesn't help in my situation. I am in an environment with about 800 solaris boxes belong to different clients, I don't see a document including all those information here and it is wasting time to check it out every time. I am wondering if we can check it out from solaris environment online not from LOM because if I can log on to sc I really don't care IP.

so my question should be if we have command to check it out from OS ?

thanks!

Fox
 
Fox, is this not something you could put in a here script on your Solaris boxes, something like one would do to automate an ftp session?
 
RedFox. Is this circa rsc or sc generation. either way try an "rscadm help" or "scadm help". If the hardware is there it will respond with a list of rsc/sc commands which you can execute to get the ALOM info. For instance "scadm shownetwork". The binaries are usually in
/usr/platform/`uname -i`/sbin/scadm
or if it's a rsc then they would most likely be in /usr/platform/`uname -i`/rsc/rscadm
 
hi WhiteVolg,

Your information is awesome and cool. I can check out "man scadm", however I can't find the command in /usr/platform/`uname -i`/sbin/scadm . I can telnet to system controller and run commands like showlogs, showsc &, what package do I need to install to run scadm in OS?

Thanks!

Fox
 
Hi,

I also found scadm in another box, but it is not excutable:

unixs166_UAT:/usr/platform/sun4u/sbin# /usr/platform/SUNW,Sun-Fire-V240/sbin/scadm
/usr/platform/SUNW,Sun-Fire-V240/sbin/scadm: cannot execute
unixs166_UAT:/usr/platform/sun4u/sbin# ls -l /usr/platform/SUNW,Sun-Fire-V240/sbin/scadm
-rwxr-sr-x 1 root sys 45000 Jun 2 2003 /usr/platform/SUNW,Sun-Fire-V240/sbin/scadm

any idea?

Fox
 
RedFox4Aix;

This is an interesting issue you have. I have looked around trying to figure out this issue and it is frustrating me so I can imagine what it is doing to you. I have searched for information on packages to load for scadm but I can't seem to find the package names.

I have a v240 with dual boot environment solaris 9 and 10 and both have scadm that work.

Did you do a complete install with OEM support originally?
run more /var/sadm/system/admin/CLUSTER and let me know what it shows.

When I do a man scadm at the bottom it show SUNWkvm so I suppose this is the package needed to run scadm????

run pkginfo -l SUNWkvm and let me know if you have that package.

Thanks

CA

 
RedFox4aix;

This is very strange. I have a v210 that is showing similar issues as yours. I loaded solaris 9 full+OEM this morning, and it does have the SUNWkvm package but the scadm executable does not exist. I am going to load Solaris 10 overnight (I have a jumpstart server so it will be ready in the morning.) I will then check to see if scadm is available. I am wondering if scadm is part of the supplement cd which I don't have with me in the office.
I will bring it in tommorrow so I can check it.

I will keep you posted

CA
 
Redfox4aix;

My Solaris10 install finished already and /usr/platform/`uname -i`/sbin/scadm does exist and is executable.

I will reload solaris 9 tomorrow and see what was up.

Thanks

CA
 
Hi CA,

Here is what shows in my box:

unixs278_PROD:/usr/platform/sun4u/sbin# uname -a
SunOS unixs278 5.8 Generic_117350-16 sun4u sparc SUNW,Sun-Fire
unixs278_PROD:/usr/platform/sun4u/sbin# pkginfo -l SUNWkvm
PKGINST: SUNWkvm
NAME: Core Architecture, (Kvm)
CATEGORY: system
ARCH: sparc.sun4u
VERSION: 11.8.0,REV=2000.01.08.18.12
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: core software for a specific hardware platform group
PSTAMP: on28-patch20030602105305
INSTDATE: Aug 07 2005 00:57
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 244 installed pathnames
53 shared pathnames
58 directories
10 executables
3 setuid/setgid executables
1649 blocks used (approx)

unixs278_PROD:/usr/platform/sun4u/sbin# ls -l /usr/platform/`uname -i`/sbin/scadm
/usr/platform/SUNW,Sun-Fire/sbin/scadm: No such file or directory
unixs278_PROD:/usr/platform/sun4u/sbin# ls -l /var/sadm/system/admin/CLUSTER
-rw-r--r-- 1 root root 17 Mar 10 2003 /var/sadm/system/admin/CLUSTER
unixs278_PROD:/usr/platform/sun4u/sbin# file /var/sadm/system/admin/CLUSTER
/var/sadm/system/admin/CLUSTER: ascii text
unixs278_PROD:/usr/platform/sun4u/sbin# more /var/sadm/system/admin/CLUSTER
CLUSTER=SUNWCall
unixs278_PROD:/usr/platform/sun4u/sbin#


the SUNWkvm exist but scadm is not there, maybe I need to reload the package.

thanks!

Fox
 
RedFox4Aix;

Well my reinstall of Solaris 9 full+OEM does have scadm and it is exectuable.

from your post I see you are running Solaris 8 with cluster SUNWCall which is entire distribution minus additional OEM support.

Unfortunatley my solaris 8 jumpstart is version 2/02 and the v210/v240 systems require 12/02 release so I can't replicate exactly what you have.

What I am trying at this point is a install of solaris 9 cluster SUNWCall to see if that takes away my ability to run scadm.

Also I ran a pkgrm of SUNWkvm and found out there are alot of programs that depend on SUNWkvm. I removed it anyways and then tried did a find on scadm and it does not exist at all. So I would say not to remove and reinstall it.

I will keep you posted on my latest test, I will also look around to see if I have another Solaris 8 release but I don't believe we do.

Thanks

CA
 
I had a flash archive of Solaris 8 2/02 that was running on a V480 and I was told to install the image on a V210. Well, it wouldn't boot, so I found what patches I needed and installed them in a finish script using Jumpstart.

Unfortunately I don't remember what patches were used.
 
RedFox4Aix;

Well the install solaris 9 cluster SUNWCall has scadm and it is executable.

Your permissions and user/group look fine for scadm on the V240.

If you cd /usr/platform/`uname -i`/sbin
then type scadm help what do you get?

you may need to run ./scadm help

Unfortunately I could not find another Solaris 8 release in the office and most of my personal copies are in storage so I can't easily get to it.

Also what is your OBP level
run OBP from OS?

Thanks

CA


 
Ignore the obp command, I dont't know where I got that. Run prtdiag -v and at the bottom it will give the OBP version.

Thanks

CA
 
Hi CA,

Here is the OBP version:

System PROM revisions:
----------------------
OBP 5.18.0 09/20/04 21:21

thanks,
Fox
 
Hi CA,

Also I found one box with scadm in different directory but failed to execute:
unixs278_PROD:/usr/platform/SUNW,Sun-Fire-V240/sbin# ./scadm help

scadm: The SC hardware could not be initialized.


unixs278_PROD:/usr/platform/SUNW,Sun-Fire-V240/sbin# uname -i
SUNW,Sun-Fire
unixs278_PROD:/usr/platform/SUNW,Sun-Fire-V240/sbin# ./prtdiag -v
System Configuration: Sun Microsystems sun4u Sun Fire 6800
System clock frequency: 150 MHz
Memory size: 49152 Megabytes

========================= CPUs ===============================================

CPU Run E$ CPU CPU
FRU Name ID MHz MB Impl. Mask
---------- ------- ---- ---- ------- ----
/N0/SB0/P0 0 1050 8.0 US-III+ 2.3
/N0/SB0/P1 1 1050 8.0 US-III+ 2.3

========================= Available Boards/Slots for Domain ==================

Power Fault HotPlug Board/Slot Board/Slot
FRU Name LED LED LED Condition Assigned
-------- ----- ----- ------- ---------- ----------
There are currently no Boards/Slots available to this Domain

========================= Hardware Failures ==================================
No Hardware failures found in System

========================= HW Revisions =======================================

System PROM revisions:
----------------------
OBP 5.18.0 09/20/04 21:21

IO ASIC revisions:
------------------
Port
FRU Name Model ID Status Version
----------- --------------- ---- ------ -------
/N0/IB6/P0 SUNW,schizo 24 ok 4

/N0/IB7/P0 SUNW,sgsbbc 26 ok 2
/N0/IB8/P0 SUNW,sgsbbc 28 ok 2
/N0/IB9/P0 SUNW,sgsbbc 30 ok 2
unixs278_PROD:/usr/platform/SUNW,Sun-Fire-V240/sbin# uname -a
SunOS unixs278 5.8 Generic_117350-16 sun4u sparc SUNW,Sun-Fire
unixs278_PROD:/usr/platform/SUNW,Sun-Fire-V240/sbin# pkginfo -l SUNWkvm
PKGINST: SUNWkvm
NAME: Core Architecture, (Kvm)
CATEGORY: system
ARCH: sparc.sun4u
VERSION: 11.8.0,REV=2000.01.08.18.12
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: core software for a specific hardware platform group
PSTAMP: on28-patch20030602105305
INSTDATE: Aug 07 2005 00:57
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 244 installed pathnames
53 shared pathnames
58 directories
10 executables
3 setuid/setgid executables
1649 blocks used (approx)

unixs278_PROD:/usr/platform/SUNW,Sun-Fire-V240/sbin#

any idea ?

thanks!
Fox
 
KHZ;

The v480 does support solaris 8 2/02, but the v210/v240 do not (if you try to call Sun on this they would not help you, hope this is not a production box), when I try to do jumpstart it fails right away during boot, complains it can't find /kernel/sparcv9/unix. Unfortunately I don't have a v480 to do a flash from.

Anyways I appreciate your information, I will play around and see what I can do. I did notice also that the V480 needed some specific patches to Run 2/02 so maybe I can update my jumpstart image with those patches and give it another try.

Thanks

CA

 
It appears looking at my finish script the patches I applied on the V210 to allow it to run a V480 Sol 8 2/02 flash archive were:

# cat patch_order
111111-04
111310-01
108987-17
109885-20
108528-29

Maybe I also applied a patch cluster?. A 'uname -a' on my V480 shows 108528-21 and my V210 is 108528-29.

I really don't recall what exactly I did to get the V480 Sol 8 2/02 flash working on the V210. But those patches listed above were installed with a finish script during jumpstart, but I am not sure what I did to get a different kernel patch.
 
RedFox4Aix;

The prtdiag information you gave me is from a sunfire 6800,

what is the OBP from your v240?

Also if you telnet into the alom on the v240 what is the firmware version of that?
sc> showsc -v
mine is Advanced Lights Out Manager v1.5.3

thanks

CA


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top