×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

how to check out IP address used by system controller

how to check out IP address used by system controller

how to check out IP address used by system controller

(OP)
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

RE: how to check out IP address used by system controller

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





RE: how to check out IP address used by system controller

(OP)
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

RE: how to check out IP address used by system controller

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?

RE: how to check out IP address used by system controller

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

RE: how to check out IP address used by system controller

(OP)
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

RE: how to check out IP address used by system controller

(OP)
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

RE: how to check out IP address used by system controller

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

RE: how to check out IP address used by system controller

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

RE: how to check out IP address used by system controller

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

RE: how to check out IP address used by system controller

(OP)
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

RE: how to check out IP address used by system controller

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

RE: how to check out IP address used by system controller

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.

RE: how to check out IP address used by system controller

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


RE: how to check out IP address used by system controller

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

RE: how to check out IP address used by system controller

(OP)
Hi CA,

Here is the OBP version:

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

thanks,
Fox

RE: how to check out IP address used by system controller

(OP)
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

RE: how to check out IP address used by system controller

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

RE: how to check out IP address used by system controller

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.

RE: how to check out IP address used by system controller

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


RE: how to check out IP address used by system controller

RedFox4Aix;

So what I am looking for at this point is the information from my previous post plus the below output of the following command;

sysdef | grep su


Thanks

CA

RE: how to check out IP address used by system controller

(OP)
hi CA,

Here is OBP for v240:
System PROM revisions:
----------------------
  OBP 3.31.0 2001/07/25 20:31   POST 2.0.3 2000/07/31 15:28

thanks!
Fox

RE: how to check out IP address used by system controller

RedFox4Aix;

This OBP level may be causeing part of your issue on this machine.  Do you have Sun Solve account? check out doc 72255 tells you what OBP will support the different levels of ALOM.

Also if you can get me the sysdef | grep su output

I found some other information that may pertain to the issues.

Thanks

CA

RE: how to check out IP address used by system controller

(OP)
Hi CA,

Here is output of sysdef|grep su:

# sysdef |grep su
* sun4u Configuration
        sun-keyboard (driver not attached)
                su, instance #0
                su, instance #1
* Loadable Object Path = /platform/sun4u/kernel
drv/su
drv/sparcv9/su
misc/audiosup
misc/sparcv9/audiosup

I will check out doc 72255. You help me a lot and I really appreciate that.

thanks!
Fox

RE: how to check out IP address used by system controller

RedFox4AIX;

the reason I had you check sysdef | grep su was to see if the su driver was dissabled but this looks good, so I would say this is not causeing a problem.

Also I found another DOC 81146 that talks about which system support ALOM/LOM/RSC. I am beginning to think that scadm is only for ALOM systems.

The doc mentioned above talks about lom commands through Solaris. LOM is another package which is not loaded as part of the OS in Solaris 8 and 9 but is found on the supplement CD.  I have a V100 that is LOM so I am going to add that package and see what I can get for information when running lom commands from solaris.

As far as your V240 I would say to first look at the doc I mentioned in previous post and update your OBP then figure out what your current ALOM firmware is and possibly think about updateing that and see if it clears up your scadm issue.

I will keep you posted with my progress. Also so you know this not only benefits you but it benefits me as I work for a system maintenance company that has these systems under contract with different customers.

Thanks

CA

RE: how to check out IP address used by system controller

RedFox4Aix;

these are the packages that need to be loaded for lom supported systems The "lom" command can be issued from the OS provided that the "LOMlite"
packages have been installed.  Use the "pkginfo(1)" command to check if the
"LOMlite" packages have been installed:

        # pkginfo | grep SUNWlom
        system      SUNWlomm                         LOMlite manual pages
        system      SUNWlomr                         LOMlite driver (root)
        system      SUNWlomu                         LOMlite Utilities (usr)

Also if running solaris 10 on your v1280 you can get the Netra T Lights out Management package from the sun download center.

thanks

ca

RE: how to check out IP address used by system controller

RedFox4Aix;

Just wanted to let you know that I still am working with the lom commands, you can run a lom -c to get configuration but I have yet had time to configure the ipaddress so lom -c does not show network ip.

Also I have been working with the RSC cards that are supported in the V880, 280R, E250 and a few other systems.
The packages for these cards are on the supplement cd for solaris 8 and 9,  for solaris 10 you need to go to download center and get remote system console packages. Once you have used rsc-config to setup the card ip etc.. you are able to run rscadm shownetwork from the Os to get the ipaddress. Packages you need to load are
 pkginfo -l | grep SUNWrs
   PKGINST:  SUNWrsc
   PKGINST:  SUNWrscd
   PKGINST:  SUNWrscj

In the v880 the rscadm executable is found under;
/usr/platform/SUNW,Sun-Fire-880/rsc



Thanks

CA

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close