Disk Enclosures
cancel
Showing results for 
Search instead for 
Did you mean: 

Powering off VA7410

SOLVED
Go to solution
Jeff Gourlay_1
Occasional Contributor

Powering off VA7410

Is there a standard practice for scripting the va7410 to shutdown and startup properly with the os? This is so a person with no knowledge can shutdown and startup the server with minimal interaction. The script would be used for two instances; 1)to reboot and 2)to shutdown during a power outage.
5 REPLIES
Naveej.K.A
Honored Contributor

Re: Powering off VA7410

Hi,

Disk arrays can be started or shut from the OS using the armmgr command

armmgr -s shut will shut down the array

and

armmgr -s start will start the array.

with best wishes
Naveej
practice makes a man perfect!!!
Arend Lensen
Trusted Contributor

Re: Powering off VA7410

In case of a power-outage or shutdown its better to shutdown the hosts first before shutting down the array, in the case you can hookup a terminal to one of the serial ports of the array and issue a shut command.
Regards,
Arend
Roger Buckthal_2
Frequent Advisor

Re: Powering off VA7410

You can also just push the power button on the array. This initiates a shut down.
Bharat Katkar
Honored Contributor
Solution

Re: Powering off VA7410

Hi Roger,
1. Add this command in one of the rc0 script (/sbin/init.d/rc0) "armmgr -s shut"
2. Create user "shutdown" with priviledges to access shutdown command, execute "shutdown -y -r 0"
in his .profile itself.

Now for powering on you need to power on the Array first, that has to be done manually because array should be powered up before system comes up. There you cannot do anything.

Hope that helps.

All the best.
Regards

You need to know a lot to actually know how little you know
Ted Buis
Honored Contributor

Re: Powering off VA7410

It isn't necessary to shutdown the array if you are going to just reboot the server, so I would recommend a solution, so that the command shutdown -h would execute the command to powerdown the array, but shutdown -r would not affect the array.
Mom 6