Shutdown to a Halt and restart

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support Shutdown to a Halt and restart
# 1  
Old 06-25-2010
Shutdown to a Halt and restart

I've got critical patching this weekend on 6 HP UX machines, back to back and the customer has requested to shutdown, and halt the machines and to bring it up at a later period. The thing is the servers are located offshore and we are just the support team. I have a special login thru a console where I can shutdown and bring up the servers.

Here's the shutdown and halt command:

Code:
shutdown -h now

What is the command to start up without actual pressing on the power on button?

Im using HP UX 11.31 here

Thanks in advance.

---------- Post updated 06-25-10 at 12:12 AM ---------- Previous update was 06-24-10 at 10:29 PM ----------

be kind and reply me please. I need to put up calendar notification for the guy to run commands on Sunday
# 2  
Old 06-25-2010
Every Integrity server I've seen so far has some kind of remote management facility, most probably yours too. Just connect to the iLO card and you can power up/down the server.
# 3  
Old 06-25-2010
If this is a cluster or there are NFS mounts you will need special instructions to shut down in a sensible manner. These instructions may or may not include a "shutdown" command.


You will need to know more about you "special login thru a console" and what piece of hardware you are connected to and how to toggle between console and server remote management. Is it an iLO (Integrated Lights-Out) or a MP (Management Processor) or a Web Console? We assume it is not just a telnet session.


The unix "shutdown" command just shuts down the Operating System and halts the processor. It does not turn the power off. Most remote power controls only control the system unit not any add-on hardware such as disc arrays.


Beware that unix "shutdown" does not shut down databases etc. unless "rc" scripts have been installed to achieve this.


If you are in a hurryand you have already closed all applications and client connection, this method answers any prompts:
Code:
cd /;/sbin/shutdown -h -y now

# 4  
Old 07-06-2010
Hi all

Thanks for your replies. Unfortunately we don't have iLO for this particular client, just a remote console IP which can be accessed from telnet session. This box had vpar and npar which had to be turned off first then halt the system. it was a messy patching that weekend. Someone googled and found it had to be done from console itself, i think MP options.

Thanks all!
# 5  
Old 08-06-2010
`init 5` powers off the box in Solaris.. Check it out whether it works in HP-UX as well.
# 6  
Old 08-06-2010
See if you can find documentation on init. That should give you several levels of operation you can initiate from your login. Be careful though, you would need to use the same level of access to log in again.
# 7  
Old 08-15-2010
u can try these

reboot
# shutdown -r -y now
or

# telinit S
# shutdown -y now # shutdown 0
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris paging bringing system to halt

Hi experts, I am running a solaris 10 with oracle 10 on a system with 96 GB physical memory. the system has a lot of swap space. the oracle SGA is 50 GB and PGA 40 GB. Here are the stats vmstat -i interrupt total rate -------------------------------- clock ... (5 Replies)
Discussion started by: afadaghi
5 Replies

2. Linux

Delay gnome shutdown/restart

Hi to all. My first message here, but i following you via twitter feed from many time... The question: I need to delay 5-10 seconds the shutdown command executed when the user click on the power off/reboot in their session or at login screen. I need that because i have in the background a... (18 Replies)
Discussion started by: mendez
18 Replies

3. UNIX for Advanced & Expert Users

SCO Open Server 6 - System Halt

========================================================= Errrr previously post: https://www.unix.com/sco/140055-sco-open-server-6-system-halt.html Then I think it's better to post here. If I wrong, please ignore. ========================================================= Dear All, Newbie... (1 Reply)
Discussion started by: virgani
1 Replies

4. UNIX for Dummies Questions & Answers

Script to force Oracle database shutdown when shutdown immediate does not work

I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS). Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies

5. Solaris

unable to halt the zone

Hi Experts, I have to delete the non- global zone from one of the server. As per my understanding we need to halt the zone , then uninstall and later delete it with zoneadm however once I am trying to halt the zone the screen is getting hanged, after canceling the process and... (23 Replies)
Discussion started by: kumarmani
23 Replies

6. Solaris

Restart/Shutdown the Solaris from SC>

Hi Experts, I am running solris 9. Sun-Fire 880. How do i shutdowon the whole server using ALOM i.e sc> console. If the server is down or somehow hang How do i Restart from sc> //purple (6 Replies)
Discussion started by: thepurple
6 Replies

7. Solaris

difference b/w halt shutdown

Hi, I want to know the difference between halt and shutdown commands and which is better to use? Regards, visu (2 Replies)
Discussion started by: visu_ak
2 Replies

8. Programming

How to halt Prog Execution for some time?

Hi, Perhaps I am asking a silly question, but I really don't know about it. Can anyone tell me the function for "sleep" kind of functionality in C language for Unix. I don't think any function with the name of sleep() exits in Unix's C language. or perhaps I am not known with the header file... (3 Replies)
Discussion started by: Ahsan
3 Replies

9. UNIX for Advanced & Expert Users

where's solaris halt log?

hi folks could tell my anyone where solaris 8 stores the logs about shutdown/halt command. I found no entries in syslog, but there more logs directories. probabaly a stupid question, but fast help would be great! thanks king regards, patrick (6 Replies)
Discussion started by: mrsaint
6 Replies
Login or Register to Ask a Question