Operating System - HP-UX
1830938 Members
1758 Online
110017 Solutions
New Discussion

sequence of shutting down system external components

 
SOLVED
Go to solution
denise_7
Frequent Advisor

sequence of shutting down system external components

I believe this is the sequence I followed before when shutting down the system. Shut down the 1) SureStore E Disk Array 2)Power off Storage Enclosure 3) then execute shitdown command to the N-Class HP 9000 server.

Is this the right sequence? Also, with several servers and a couple of SureStore Disk Array, the wires are running under the floor and its hard to see which array goes wich server. Is there a command to execute on the HP server to get the Serial Number of the Array connected to the HP server (this helps not making mistake shutting down the wrong Array).

Thanks for the help!
24 REPLIES 24
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: sequence of shutting down system external components

Your sequence in generally considered to be backwards.

1) Shutdown -h -y 0 your N-box

2) If any external components (e.g. disk arrays) have front-panel shutdown commands, execute them.

3) Power off all external components

4) Shutoff power to computer.

------------------------

arraydsp -i
If it ain't broke, I can fix that.
Helen French
Honored Contributor

Re: sequence of shutting down system external components

First, DONOT shutdown the external disk arrays or Storage systems when the server is running or not shutdown. I would suggest you to do this:
1) Give shutdown command to shut the server down first. Shut off server power if needed.
2) Shut off disk arrays and external storage systems.

Do the reverse when you start the system. If you are using some old disk arrays and sub systems, then wait for some time before you start the server.

Also, for getting SN, you can make use of STM commands:

# stm

Also, check SAM (disk and file systems -> disks) for diskarray details.
Life is a promise, fulfill it!
Paul Sperry
Honored Contributor

Re: sequence of shutting down system external components

Usually you shutdown the server first
then shutdown the external stuff.
Pete Randall
Outstanding Contributor

Re: sequence of shutting down system external components

I'm not sure what SureStore E Disk Array you might be referring to, but the general rule (for the FC60, at least) is to shutdown the controller first then the disks and reverse that procedure on power up.


Pete

Pete
Uday_S_Ankolekar
Honored Contributor

Re: sequence of shutting down system external components

You need shutdown the server first then power off external components.
And while turning on , you need powered on external components first then start the server.

-USA..
Good Luck..
denise_7
Frequent Advisor

Re: sequence of shutting down system external components

Thanks guys. Well, the HP server needs to be audited, by the hardware personnel. I don't suppose if I had to shutdown the N Class server first, then I don't need to shut down the Array. My thinking is, if the Array can be powered on while the N class server is shutdown, then I can just let the Array stay on. So I shutdown the N Class server, power it off, and let the HW personnel audit it etc...then I power it back up. So I would not need to shutdown the Array, right?

One other thing, the Storage Enclosure is powered down AFTER the server is shutdown and powered off, right?

That's interesting that I got my sequence reversed, this is what another SA told me!

Thanks for the insights, guys!
Uday_S_Ankolekar
Honored Contributor

Re: sequence of shutting down system external components

You need shutdown the server first then power off external components.
And while turning on , you need powered on external components first then start the server.

-USA..
Good Luck..
denise_7
Frequent Advisor

Re: sequence of shutting down system external components

Thanks guys. Well, the HP server needs to be audited, by the hardware personnel. I don't suppose if I had to shutdown the N Class server first, then I don't need to shut down the Array. My thinking is, if the Array can be powered on while the N class server is shutdown, then I can just let the Array stay on. So I shutdown the N Class server, power it off, and let the HW personnel audit it etc...then I power it back up. So I would not need to shutdown the Array, right?

One other thing, the Storage Enclosure is powered down AFTER the server is shutdown and powered off, right?

That's interesting that I got my sequence reversed, this is what another SA told me!

Thanks for the insights, guys!
denise_7
Frequent Advisor

Re: sequence of shutting down system external components

Thanks guys. Well, the HP server needs to be audited, by the hardware personnel. I don't suppose if I had to shutdown the N Class server first, then I don't need to shut down the Array. My thinking is, if the Array can be powered on while the N class server is shutdown, then I can just let the Array stay on. So I shutdown the N Class server, power it off, and let the HW personnel audit it etc...then I power it back up. So I would not need to shutdown the Array, right?

One other thing, the Storage Enclosure is powered down AFTER the server is shutdown and powered off, right?

That's interesting that I got my sequence reversed, this is what another SA told me!

Thanks for the insights, guys!
denise_7
Frequent Advisor

Re: sequence of shutting down system external components

Thanks guys. Well, the HP server needs to be audited, by the hardware personnel. I don't suppose if I had to shutdown the N Class server first, then I don't need to shut down the Array. My thinking is, if the Array can be powered on while the N class server is shutdown, then I can just let the Array stay on. So I shutdown the N Class server, power it off, and let the HW personnel audit it etc...then I power it back up. So I would not need to shutdown the Array, right?

One other thing, the Storage Enclosure is powered down AFTER the server is shutdown and powered off, right?

That's interesting that I got my sequence reversed, this is what another SA told me!

Thanks for the insights, guys!
denise_7
Frequent Advisor

Re: sequence of shutting down system external components

Thanks guys. Well, the HP server needs to be audited, by the hardware personnel. I don't suppose if I had to shutdown the N Class server first, then I don't need to shut down the Array. My thinking is, if the Array can be powered on while the N class server is shutdown, then I can just let the Array stay on. So I shutdown the N Class server, power it off, and let the HW personnel audit it etc...then I power it back up. So I would not need to shutdown the Array, right?

One other thing, the Storage Enclosure is powered down AFTER the server is shutdown and powered off, right?

That's interesting that I got my sequence reversed, this is what another SA told me!

Thanks for the insights, guys!
denise_7
Frequent Advisor

Re: sequence of shutting down system external components

Thanks guys. Well, the HP server needs to be audited, by the hardware personnel. I don't suppose if I had to shutdown the N Class server first, then I don't need to shut down the Array. My thinking is, if the Array can be powered on while the N class server is shutdown, then I can just let the Array stay on. So I shutdown the N Class server, power it off, and let the HW personnel audit it etc...then I power it back up. So I would not need to shutdown the Array, right?

One other thing, the Storage Enclosure is powered down AFTER the server is shutdown and powered off, right?

That's interesting that I got my sequence reversed, this is what another SA told me!

Thanks for the insights, guys!
denise_7
Frequent Advisor

Re: sequence of shutting down system external components

Thanks guys. Well, the HP server needs to be audited, by the hardware personnel. I don't suppose if I had to shutdown the N Class server first, then I don't need to shut down the Array. My thinking is, if the Array can be powered on while the N class server is shutdown, then I can just let the Array stay on. So I shutdown the N Class server, power it off, and let the HW personnel audit it etc...then I power it back up. So I would not need to shutdown the Array, right?

One other thing, the Storage Enclosure is powered down AFTER the server is shutdown and powered off, right?

That's interesting that I got my sequence reversed, this is what another SA told me!

Thanks for the insights, guys!
denise_7
Frequent Advisor

Re: sequence of shutting down system external components

Thanks guys. Well, the HP server needs to be audited, by the hardware personnel. I don't suppose if I had to shutdown the N Class server first, then I don't need to shut down the Array. My thinking is, if the Array can be powered on while the N class server is shutdown, then I can just let the Array stay on. So I shutdown the N Class server, power it off, and let the HW personnel audit it etc...then I power it back up. So I would not need to shutdown the Array, right?

One other thing, the Storage Enclosure is powered down AFTER the server is shutdown and powered off, right?

That's interesting that I got my sequence reversed, this is what another SA told me!

Thanks for the insights, guys!
Steven E. Protter
Exalted Contributor

Re: sequence of shutting down system external components

I would shut down the box first, shutdown -hy now

Then I don't think it matters about items 1 and 2.

The key is that you don't want to shut off the disk space until ALL machines using it are successfully shut down

The consequences of failing to do this right are corrrupt filesystems. I've recovered from this when someone whacked my disk array while running, but it was a frightening phone call in the middle of the night.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Helen French
Honored Contributor

Re: sequence of shutting down system external components

For the last question: You can shutdown the system and power off the server for your auditing purpose. You don't need to power off the disk array in that case. You can start the server once the auditing is finished.
Life is a promise, fulfill it!
S.K. Chan
Honored Contributor

Re: sequence of shutting down system external components

If you can leave the array power on that would be good. What kind of hardware audit is this (if you don't mind sharing) ? Another tip that you may find useful is you can actuall power off your N-class (ie after you have run the shutdown command on it) via GSP. The "pc" command in GSP allows you to do that.
GSP> pc
With this you don;t have to physically hit the power switch at the front panel to turn the cpu off, you can go to GSP and use the pc command to turn it off. Just FYI.
denise_7
Frequent Advisor

Re: sequence of shutting down system external components

Ok, I got everything reversed! Well, another SA said this was the way. At least I confirmed this with you guys.

If I was going to shutdown the HP N Class server first via the shutdown command, then I guess I don't need to shutdown the Array? The server will be audited by the HW team, so only the server needs to be shutdown to accomplish this. But I thought the Disk Array needs to be shutdown also. Especially if I expected to shutdown the Disk Array first, then the server.

So I'll execute the shutdown command and shutdown the server first, then the disk array (if necessary). Can anyone reply and let me knopw if the Array needs to be shutdown when the HW is only interested in the HP Server components?

One other thing, there is a Storage Enclosure box with switch in the HP Rack, does this need to be powered down after the server is shutdown?

Thanks for clarifying the sequence.
denise_7
Frequent Advisor

Re: sequence of shutting down system external components

Ok, I got everything reversed! Well, another SA said this was the way. At least I confirmed this with you guys.

If I was going to shutdown the HP N Class server first via the shutdown command, then I guess I don't need to shutdown the Array? The server will be audited by the HW team, so only the server needs to be shutdown to accomplish this. But I thought the Disk Array needs to be shutdown also. Especially if I expected to shutdown the Disk Array first, then the server.

So I'll execute the shutdown command and shutdown the server first, then the disk array (if necessary). Can anyone reply and let me knopw if the Array needs to be shutdown when the HW is only interested in the HP Server components?

One other thing, there is a Storage Enclosure box with switch in the HP Rack, does this need to be powered down after the server is shutdown?

Thanks for clarifying the sequence.
denise_7
Frequent Advisor

Re: sequence of shutting down system external components

Ok, I got everything reversed! Well, another SA said this was the way. At least I confirmed this with you guys.

If I was going to shutdown the HP N Class server first via the shutdown command, then I guess I don't need to shutdown the Array? The server will be audited by the HW team, so only the server needs to be shutdown to accomplish this. But I thought the Disk Array needs to be shutdown also. Especially if I expected to shutdown the Disk Array first, then the server.

So I'll execute the shutdown command and shutdown the server first, then the disk array (if necessary). Can anyone reply and let me knopw if the Array needs to be shutdown when the HW is only interested in the HP Server components?

One other thing, there is a Storage Enclosure box with switch in the HP Rack, does this need to be powered down after the server is shutdown?

Thanks for clarifying the sequence.
denise_7
Frequent Advisor

Re: sequence of shutting down system external components

Ok, I got everything reversed! Well, another SA said this was the way. At least I confirmed this with you guys.

If I was going to shutdown the HP N Class server first via the shutdown command, then I guess I don't need to shutdown the Array? The server will be audited by the HW team, so only the server needs to be shutdown to accomplish this. But I thought the Disk Array needs to be shutdown also. Especially if I expected to shutdown the Disk Array first, then the server.

So I'll execute the shutdown command and shutdown the server first, then the disk array (if necessary). Can anyone reply and let me knopw if the Array needs to be shutdown when the HW is only interested in the HP Server components?

One other thing, there is a Storage Enclosure box with switch in the HP Rack, does this need to be powered down after the server is shutdown?

Thanks for clarifying the sequence.
denise_7
Frequent Advisor

Re: sequence of shutting down system external components

Ok, I got everything reversed! Well, another SA said this was the way. At least I confirmed this with you guys.

If I was going to shutdown the HP N Class server first via the shutdown command, then I guess I don't need to shutdown the Array? The server will be audited by the HW team, so only the server needs to be shutdown to accomplish this. But I thought the Disk Array needs to be shutdown also. Especially if I expected to shutdown the Disk Array first, then the server.

So I'll execute the shutdown command and shutdown the server first, then the disk array (if necessary). Can anyone reply and let me knopw if the Array needs to be shutdown when the HW is only interested in the HP Server components?

One other thing, there is a Storage Enclosure box with switch in the HP Rack, does this need to be powered down after the server is shutdown?

Thanks for clarifying the sequence.
Paula J Frazer-Campbell
Honored Contributor

Re: sequence of shutting down system external components

Hi
A hardware audit on a server can be done with the server live.


1. ioscan -Fnc (Hp-UX)

2. print_manifest (ignite)

3. Mk 1 Eyeball (Human)

Should give every thing they need.

Paula
If you can spell SysAdmin then you is one - anon
Helen French
Honored Contributor

Re: sequence of shutting down system external components

Again, after you shutdown the server with command, you only need to power off the server. The external disk arrays and storage enclosure can be alive.

On the other hand, if I am the one who does the auditing, I will defenitely audit all disk arrays, peripherals and server.
Life is a promise, fulfill it!