Question

The OK prompt

Asked by: TIMFOX123

I am trying to learn more about the OK prompt and how to configure / check systems.  

If you use solaris, please give me some good links that have the information and are understandable.  

Also is prtdiag -v in the firmware or in single user mode ( boot cdrom -s )

Also if you know some stupid solaris tricks such as how to find the box you are working on by typing "eject cdrom" and then look for the machine with it's toung out.

Just a side light, I am a good linux admin and yesterday I lost my solaris job because I did not know  enough about the differences in solaris and linux.  I had high scores in linux and impressed the boss in linux but not solaris.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-01-19 at 05:22:32ID21280149
Tags

prompt

,

ok

,

solaris

Topic

Sun Solaris

Participating Experts
5
Points
500
Comments
18

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Question on CDROM ejection.
    Hi there, Is there any function to detect the CDROM drive and just eject/open it? I would appreciate if anyone could offer me some help here. Thanks in advance!
  2. Solaris 2.51 CDROM/sbus@1f,0 troubles
    I am a new system administrator on a Solaris 2.51 box. The box is on our network with a new name, IP address etc. All the drives and devices appear to functional except for the CDROM. I can't mount, can't eject, can't unmount. For example: > mount -r -F hsfs /dev/dsk/...
  3. Solaris - Can't mount my cdrom
    This is actually a question that I have previously asked, but is a problem I am still having. Thanks for any help. I just ran the JASS(Solaris Security Toolkit) on my Solaris 8 box to harden it. It stopped many services. Now I am unable to mount my cdrom drive. It used t...
  4. I can't boot CDROM on solaris 8
    I got a Ultra 2 that runs Solaris 8. It is so far so good, but when I try add netscape 7 on it, I added a few patches on it. It make thing worse, I can't login from CDE and looks like system was demaged. When I login with root account (login console is good), system goes a lo...
  5. Cdrom - Constantly ejecting ??? Strange one
    Hi all, I have an E450. Trying to install Solaris 8 02/00. All was going well until I had to put the 2 of 2 solaris o/s cd into the cdrom draw. The cdrom draw ejected ok, I placed the cd into it, closed the door. However, the cd draw then opened. I tried all the various cd...
  6. how to eject cd on V445 server.
    Hi, we have newly bought V445 server.when i perform initial installtion i put the cd in the cd/dvd drive.but i could not able to eject the cdrom.how to eject the cd/dvd drive form its cdrom.looks like cd/dvd drive is different form other servers

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: TIMFOX123Posted on 2005-01-19 at 05:35:27ID: 13082367

Also how to you determine if a sun computer is sick ?

What are the first things a real solaris admin will check when he goes to the ok prompt?

 

by: PsiCopPosted on 2005-01-19 at 05:38:48ID: 13082409

The "ok" prompt is the PROM (Programmable Read-Only Memory) Monitor that is part of the OpenBoot PROM used in Sparc-based computers. It provides a very basic interface to testing and managing the system hardware and boot-up parameters, using the FORTH language.

90% of the time, you really don't need to know much beyond the "boot" command.

There is a "help" command that will offer some very basic help.

You can enter "words" to see all the commands and arguments that it understands.

The Sun support website (http://sunsolve.sun.com) has a number of OpenBoot Command Reference manuals available for online viewing and download. Get the one appropriate to your OpenBoot version (at the "ok" prompt, enter ".version")

 

by: TIMFOX123Posted on 2005-01-19 at 06:48:27ID: 13083171

I do appreciate the assistance however I am told that without a support agreement there is not much on sunsolve.  I am also told that without a support agreement there is a lot out there at sunsolve.  

We have hundreds of sun boxes but no support agreement.

I looked at sunsolve and could not find much about this without a support contract.  Am I not looking at the right place.  If you find this, how did you find this ?

 

by: PsiCopPosted on 2005-01-19 at 06:55:40ID: 13083261

On the contrary, I find quite a lot on SunSolve without logging into my account. Certainly, the documentation is freely available. Try this Google link --> http://www.google.com/search?as_q=OpenBoot&num=30&hl=en&btnG=Google+Search&as_epq=Command+Reference&as_oq=&as_eq=&lr=lang_en&as_ft=i&as_filetype=&as_qdr=all&as_occt=any&as_dt=i&as_sitesearch=sun.com&safe=images

If you have "hundreds of sun boxes" you NEED a support contract, even if its just the lowest/cheapest one available.

Do you know what hardware you have? There's a big difference betwee, say, 100 SparcStation 10s and 100 E420s.

 

by: TIMFOX123Posted on 2005-01-19 at 07:22:53ID: 13083545

Pepsicop:

I agree on the need.  A  company that just let go 75 thousand people might be running on a shoe string.  Two people admin 650 systems including
solaris, redhat, desktops, Active directory and HPUX.  This includes builds and backups.

Just to make it intresting there is one full time person and one rotating contractor position that is limited to 40 hours.

 

 

by: zdesPosted on 2005-01-19 at 08:41:40ID: 13084501

I think that a subscription to SunManagers list is a must for a Solaris admin (http://www.sunmanagers.org/). For several reasons:

- There are very many knowledgeable people on the list, who are eager to help, and the help comes fast
- The list's policy encourages everyone to post a solution to the problem - look for [SUMMARY] in the subject
- archives are searcheable

This is, of course, is not a substitution for the documentation, but it will give you a nice overall picture of the issues.

 

by: PsiCopPosted on 2005-01-19 at 08:57:49ID: 13084715

Pepsicop?

 

by: PsiCopPosted on 2005-01-19 at 08:58:26ID: 13084731

Just let go 75k people? You work at Lucent? :-)

 

by: TIMFOX123Posted on 2005-01-19 at 09:02:20ID: 13084787

I have subscribed

Thank you

 

by: yuzhPosted on 2005-01-19 at 16:48:20ID: 13089003

When your system is in trouble, if it still can boot up the OS, the first thing you would look at is
/var/adm/messages file to see anything goes wrong with the OS, then run:

/usr/platform/`uname -m`/sbin/prtdiag

If you can 't boot up the OS, then use OBP prompt command to test the system HW,for OBP see:
   Sun OBP command: (you need to learn them to play with Sun boxes):
   http://sunsolve.sun.com/handbook_pub/General/OBP.html
   http://docs.sun.com/db/doc/806-2906-10/6jc3f0abi?a=view


also please read the links in http:Q_21141840.html (they can be usefull for you).

 

by: TIMFOX123Posted on 2005-01-19 at 18:38:22ID: 13089542

Nortel let 3/4 of their work force go and the last 1/4 had to do as much as they all did before

 

by: wesly_chenPosted on 2005-01-19 at 23:05:08ID: 13090595

Hi,

    Sorry to hear that you lost your Solaris job. I left my previous Solaris system adminstrator job because my boss didn't think I worth
the high paid even though my workload doubled due to company acquisition, he fired the other SENIOR unix sys admin. I needed
to handle 300+ Sun/Linux servers/workstations/desktops from Sparstation to E3500 alone.

    Sun has its products well documented so you can get the information you need quite easily.
As my learning curve, here are some website I visit quite frequently besides sunsolve and docs.sun.

Solaris FAQs:
http://www.science.uva.nl/pub/solaris/solaris2/
Infeequently AQs:
http://www.columbia.edu/~rtt2101/iaoq/

BigAdmin at Sun
http://www.sun.com/bigadmin/

   The major difference between Solaris and Linux are due to the hardware. So the system commands/tools
or configuration files vary a lot.

   So if you want to learn the Solaris with Sun hardware, you can buy a low end SunBlade 150/200 workstation
from eBay with less than US $500. And load with latest Solaris 10 on it.

Regards,

Wesly

 

by: TIMFOX123Posted on 2005-01-20 at 03:33:24ID: 13091858

I allready have a small stack of sun boxes !

This guy was just running flat out and I had to ask questions like how to slice up a box with four drives.

The market is not good.  The jobs are still out there, it is just that people in america are not doing them.

Westly:  You have been a very great help to me. I appriciate you more than you know.

 

by: TIMFOX123Posted on 2005-01-20 at 17:03:01ID: 13099339

All you have been great.  

I have been ripping up sun boxes for the past 2 days.


Regards;

Dave

 

by: PsiCopPosted on 2005-01-21 at 08:37:10ID: 13104097

Dave,

Thanks for the points and good luck. Drop back by anytime you need help. I've been hacking around on Sun gear and in Solaris boxes since 1995 and I'm still learning things about them. There's a lot to absorb.

 

by: wesly_chenPosted on 2005-01-21 at 10:25:24ID: 13105309

> Has anybody ever put a "the whole sun" book on line and wrote a little about it and used a lot of pointers back to the sun site ?  
> You can spend days just reading about the firmware.  
> If you want it, my email is (Email address removed by yuzh, Page Editor)
Hi Dave,
You might just post here.
However, the links will break sooner or later.

Wesly

 

by: Dreamn3dPosted on 2005-04-13 at 11:11:03ID: 13775076

Hi,
   I have heard a lot of people complain about Solaris being *too* hard...  I tend to disagree.  If you are familiar with Redhat, you should do fine
as they both adhere to SysV specs, *but* I also agree that because of the platform differences (Sparc vs x86) some commands are different.  Solaris
tends to stick more strictly to the SysV specs than RH, I *think* because of the GNU apps that RH includes in the distro.  I started in Linux about
7yrs ago, mainly to get away from Novell, and I got a Solaris job 4 years ago and really haven't had that many issues.  Just find the similarities.  
For instance, the OK prompt you are referring to is really a beefed up BIOS from the PC world...  

On a side note.  It seems that alot of companies are thinking that you can just lay off most of the company and beat the hell outta those that are
left.  In my case, they laid off 4 admins (leaving 2) on a 100+ machine network, and then also doubled my tasks by having me do development in
*yuck* Windows....  They just don't get the fact that it takes time and research to properly administer a network of SUN/x86/Cisco boxes, not to
mention learn new languages on a constant basis.  Keep your chin up, once they realize that those in other countries may work cheaper but do
crappy work, the jobs will open up again.

Nortel mgmt sound like a buncha retards...  With no idea how to manage a network as vast as what they have (or had)...

Some simple commands to remember about the PROM

if you connect to the console and see OK: you can type

use the "go" keyword to boot a machine that has dropped out of Solaris for some reason (this may or may not work, depending on the problem)

use the "boot" keyword to a machine when go won't work.  You may want to issue a "sync" command first to make sure whatever was writing
to the disk when the OS broke actually makes it to the drive.  Obviously this won't work if your drives are having issues.

use the "reset" command when all esle fails. You could also issue a "boot -s" which would reset the machine and boot to single user.

use the "printenv" command to get environment settings

use the "setenv" command to set environment settings
   ex:  setenv auto-boot? true  (didn't test this first, but it should work)

As far as practice machines go, you can get darn near anything greater than an ultra 1 to test Solaris on.  As long as you stay out of the gui,
the system will run.  Keep in mind that if you plan on compiling apps and such, you should spring for better machines.  Another thing to be
aware of in Solaris is that the Sun compiler is *not* free.  Check out www.sunfreeware.com and download gcc and other utils as packages to
get you started.  I personally had a test network at home using Sparc 4's and 10's with a Livingston portmaster for console access via the
serial ports on the machines.  Worked perfect.

HTH,
Jess

 

by: TIMFOX123Posted on 2005-04-13 at 18:50:18ID: 13778321

Jess:

You are really a great guy.   I have grown tired of being sucker punched by people that do not know a tenth of what I know.
I currently sell Toyota cars for a dealership instead of IT.  The bounds of the agreement that I have with experts exchange
and respect that I have for experts exchange ( and you ) do not permit me to fully express my feelings on this matter.  I can
just hope that someday the tide turns and the good people that sacrificed exciting lives to be the 100% full time geek to
help companies out someday get back a true measure of what they have put into this industry.

If you want to email me, email me at re@davidbr.com.   It is a temperary alias that will be killed in a few weeks but will give you
plenty of time if you want to drop me a line.

timfox123  


20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...