Operating System - HP-UX
1831246 Members
2628 Online
110021 Solutions
New Discussion

Re: sequence of shutting down system external components

 
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 (this helps not making mistake shutting down the wrong Array).

Thanks for the help!
5 REPLIES 5
Decio Miname
Frequent Advisor

Re: sequence of shutting down system external components


Shutting down the external devices prior to shutting down the server could cause errors on the server, depending on what is running and what is being used at that time.

Shut down the server first, but do not power it off. Then shut down any external devices (those that have a shutdown-equivalent command, like tape library robots and intelligent disk arrays). Finally, you can power them off - by now, the sequence does not matter too much, but start with the server and external disks, then go to non-disk devices.

D.

malay boy
Trusted Contributor

Re: sequence of shutting down system external components

Hi,
Agree with Decio.You should issue a shutdown command : shutdown -hy 0.Next shutdown the controller , disk and the system.

For non Disk Array , you could issue a dd command to check the disk ( where is it in the box).I used to issue:
dd if=/dev/dsk/ of=/dev/null

The light will be on for the disk /dev/dsk/ thus you know where is the disk.FOR DISK ANNAY,dd command may help?.

Any comment guru's ???..

One good practise is the label.I label almost all the cable in my customer.Also I label the disk.

Hope this help

regards
mB
There are three person in my team-Me ,myself and I.
Michael Tully
Honored Contributor

Re: sequence of shutting down system external components

The correct order of shutting down a system are:
Shutdown the server
# shutdown -h -y now

Once the server is down, you can power off any or all external components. It does not matter if you remove power to the server before powering off disks etc, but the shutdown of the server must be done first.

To turn everything on again, all of the external peripherals must be turned on first, with the server started last.

Having cables labelled at both ends (server to disk array) will assist in shutting down the right disk array. This also helps in identifying what cables to remove if necessary.

Sorry I can't help with the serial number, I don't use this type of disk array, but there should be command. EMC certainly has one.

Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome"
Anyone for a Mutiny ?
Rajeev  Shukla
Honored Contributor

Re: sequence of shutting down system external components

They are good options in finding which one is the right disk array. But thats a very bad habbit coz in hurry and at critical time and under pressure you might still power off the wrong array.
You need to do some down time and creal off the mess and label them all to avoid any confusions and if possible document that.

And the sequence to poser off remains 3-1-2

Rajeev
Sunil Sharma_1
Honored Contributor

Re: sequence of shutting down system external components

No, it's not right procedure to shut down the system.Once i got stuck becoz i follow the same procedure and after that all disks in enclosure marked as offline.
as per HP recommendation procedure is
1. Shutdown system (server)
2. wait for some time so data of storage cache can be written to disk then you can switch off E disk array ( I assume this is your disk controller too)
3. disk enclosure.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***