MSA Storage
1748180 Members
3851 Online
108759 Solutions
New Discussion юеВ

Re: EVA Controlled Shutdown in the event of Power Failure

 
SOLVED
Go to solution
Michael Dyer_3
Occasional Contributor

EVA Controlled Shutdown in the event of Power Failure

Hi all,

I am currently putting together a test plan for a controlled shutdown of our computer rooms in the event of a power failure. Does anyone have a list of commands that can be run through a batch file from the SAN Appliance Server to do a controlled shutdown of the EVA system?

Thanks
Mick
9 REPLIES 9
CA881997
Occasional Advisor

Re: EVA Controlled Shutdown in the event of Power Failure

I also would like to know about this.
My plan so far is to have the UPS power management software (HP UPS) run the script.

CLI - Shutdown this, shutdown other
Command to power off EVA - ?

Shutdown power software should shut down OS and power off UPS.
BR739032
Occasional Advisor

Re: EVA Controlled Shutdown in the event of Power Failure

I asked the same question a HP Trainer at an EVA Training. The answer was, you do not have to do anything because all unwritten data is stored at least 96 hours in the caches. So if you just want to solve a regular power failure you just have to ran your UPS out of power.
Uwe Zessin
Honored Contributor
Solution

Re: EVA Controlled Shutdown in the event of Power Failure

It can be done with the SSSU (Storage System Scripting Utility). I can't try it right now, but the script should look like this:
-----
select manager username=administrator password=
select system
SHUTDOWN ALL_PEERS
-----

You need to find out what the position of the controller enclosure is on your system to fill in the value . Again, I can't verify it, but the command should be:
> show monitor
or
> ls controller

depending on the SSSU version. It's a string like this:
"\Hardware\Rack 1\Enclosure 7\Controller B"
.
Michael Dyer_3
Occasional Contributor

Re: EVA Controlled Shutdown in the event of Power Failure

Thanks Uwe, I think this is the problme for us all, everything is live and its hard to try out commands.

As for Carsten, I think your HP Trainer is like my Quilified EVA HP Engineer, his never done it as it can be done through GUI. Not much unless you plan to work 24/7.

Will look at teh SSSU and see if I can work it our.

Thanks again for the input.

Mick
BR739032
Occasional Advisor

Re: EVA Controlled Shutdown in the event of Power Failure

Mick,

the problem is not, that you can not do it. You can shut down the EVA with SSSU (if you do not have a boot from SAN only environment). The problem we had was the following szenatio:
- you have a power failure and your UPS is nearly at the end
- your management server will shut down the EVA
- perhaps your management server will shut down itself
- suddenly the power returns BEFORE the UPS is completely empty

Who will wake up the server(s) and the EVA?

Therefore in case of power failure we shut down our production servers, our EVA and our management server wont. They will run until the UPS shuts down. After power returns the EVA will restart without any problem. If the management server did not survive the crash, i have to restore a backup. My production servers will restart normaly, because i set them to auto power-up.

We have 24/7 business - therefore, we will never will see more then 24 hours without power and so the caches will store the data for us.
Emad Omar
Regular Advisor

Re: EVA Controlled Shutdown in the event of Power Failure

Dear all,

I'm facing a similar case of shutting down both EVA4000 controllers when UPS running on Batteries and before they die.
Please provide me with the required steps to do this scripts and how can I execute this script when power disconnecting .

I have a management Software for controlling shutdown all servers when UPS running on Batteries but I can not control shutting down the EVA4000 controllers.

Please advise . . .

Regards,

Emad Omar
Michael Dyer_3
Occasional Contributor

Re: EVA Controlled Shutdown in the event of Power Failure

Below are the settings I have used and tested. You will need to make changes depending on the configuration you have. I use the SANApp Server to run a SSSU file which is called by the UPS software after 2 hours and is run from within a batch file.


APC PowerChute Network Shutdown Settings for
DC1-SANAPP1

Configure Events
Event: UPS: On Battery
Shutdown the System only when the event lasts this long (seconds): 7200
Configure Shutdown
Run this command file (full name) @start c:\bridge\shutdownbatch

This command file needs this much time to complete (seconds) 300

ShutdownBatch.bat
C:\bridge\sssu ├в File shutdownevascript01.txt├в

ShutdownEVAScript01.txt
!
! SSSU EVA Shutdown script start
! System: BDC1-EVA01
!
! SSSU Build 7 for EVA Version 3.2
!
SET OPTIONS ON_ERROR=HALT_ON_ERROR
Select manager dc1-sanapp1 user=adminUser pass=yourpassword
! Name of EVA must be Uppercase
SELECT SYSTEM DC1-EVA01
!
!
!Shoutdown Controllers and Drive Enclosures
!
Shutdown "\Hardware\Rack 1\Controller Enclosure 7\Controller B" ALL_PEERS
!
! SSSU EVA Shutdown script end

Hope this helps
MickD1
Prabhu M G
New Member

Re: EVA Controlled Shutdown in the event of Power Failure

Dear All,


I also need same type of help, i am having two set of one SMA and EVA 3000. i require a script which can shutdown my EVA when i require. very urgent for me, please help me


Thanks & Regards
Prabhu
Jitendra Singh Lodhi
Occasional Advisor

Re: EVA Controlled Shutdown in the event of Power Failure

Hi All,

I have to perform testing in my EVA 4400 for this i have to first shutdown contrller-A and after make it up , I have to shutdown controller-B,

Please let me know the procedure from command view & SSSU both?