The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need Replacement for sed dbsurf Shell Programming and Scripting 0 01-25-2008 06:47 PM
Regarding Replacement rajx UNIX for Dummies Questions & Answers 2 05-22-2007 09:19 AM
Replacement of Delimiter panknil Shell Programming and Scripting 3 05-14-2007 07:35 AM
Replacement using sed handak9 UNIX for Dummies Questions & Answers 5 07-13-2004 11:28 AM
global replacement Babu UNIX for Dummies Questions & Answers 2 07-04-2001 09:02 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-24-2003
IMPTRUE IMPTRUE is offline
Registered User
  
 

Join Date: Jul 2003
Posts: 3
cpu replacement. help

very important. can someone tell me the best command to issue on a sun box to bring the system down for a cpu replacement.

i dont know if single user mode is right or completely shuttign down the box as in init 0 or something like that.

and bringing the box back up would involved physically pushing the button the box right??
  #2 (permalink)  
Old 07-24-2003
norsk hedensk norsk hedensk is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
yeah uh you do not want to mess with the internals while the system is connected to power at all. use whatever comman you would usually use to halt the system
eg: shutdown -h now

once that happens make sure you unplug it and make sure you are grounded. i have no idea if sun boxen have hot swappable cpus or not. if you cant find out the safest way is to do it while its OFF.
  #3 (permalink)  
Old 07-25-2003
s93366's Avatar
s93366 s93366 is offline
Registered User
  
 

Join Date: Apr 2002
Location: Sweden / Stockholm
Posts: 168
Some of the bigger boxes have hot pluggable cpu's.. what kind of box is it?

/peter
  #4 (permalink)  
Old 07-25-2003
davidg's Avatar
davidg davidg is offline
Registered User
  
 

Join Date: Jul 2003
Location: Holland
Posts: 207
Hi,

For Sun you have multiple solutions to get the box down.
A normal one is "init 0" This brings your server safely in the "ok"prompt. By turning the power switch off you've done the right thing and start doing maintenance.
Normaly you choose for init 0 as you are able to find your machine back. The light is colored orange instead of green blinking and you know you have hit the right system. However if you make a mistake it's easier to bring the system back online by typing boot.

A faster way is "init 5" This will not only bring the system to the ok prompt, but immediatly after will shut down power of the system. You have to manualy power up the system again now. You probably understand why I would not choose for this option when you work in a large datacenter.

When having troubles in getting the machine down as it's hanging due to problems in the OS, there is only one beautifull command that always gets your server in the ok prompt :

uadmin 0 2 (or 2 0, can't remember, one just gives an error)

This will kick the server to the ok-prompt, it only syncs data and than leaves the OS behind
Mind that you use this option only in emergencies !!!


Regs David
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:38 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0