Jump to content

http spinup commands


spl147

Recommended Posts

are there http commands to spinup the array except parity? and also to spin down?

 

i have a driver for my home automation system that can send http commands, i want to program that when the media player is selected in room X, that ALL drive except parity,  including cache spinup

Link to comment

I don't believe there are http commands, but could be wrong.  You might look up spin groups, I think it will get you part of the way.  Put all data drives in one spin group and the parity drive in its own spin group.  Then when you access any data drive, the rest will spin up too.

Link to comment

I'm sure this is possible with a HTTP post that uses basic authentication.

 

When you click the spinup button, it's an HTTP post.

The issue is, can your automated interface do an http post or does it expect a http get?

 

 

Also, The parity drive will spin up with the drives, no way to disable that.

Yet if the spin down timer on parity is short enough it should not be an issue.

 

 

Link to comment

I'm sure this is possible with a HTTP post that uses basic authentication.

 

When you click the spinup button, it's an HTTP post.

The issue is, can your automated interface do an http post or does it expect a http get?

 

 

Also, The parity drive will spin up with the drives, no way to disable that.

Yet if the spin down timer on parity is short enough it should not be an issue.

 

HTTP/HTTPS GET & POST commands

Supports URL encoded usernames, passwords and ports eg <http://192.168.1.131:32400/library>

TCP commands (ascii based)

UDP commands (ascii based)

Link to comment

This is from a 6.0.1 system, replace Tower with your machine name, and disk# with the disk you want to spin up. This should only need to spin up 1 disk if you use spinup groups and have all data disks in the same group.

 

http://tower/update.htm?cmdSpinup=disk4

 

To spindown:

 

http://tower/update.htm?cmdSpindown=disk4

Link to comment

This is from a 6.0.1 system, replace Tower with your machine name, and disk# with the disk you want to spin up. This should only need to spin up 1 disk if you use spinup groups and have all data disks in the same group.

 

http://tower/update.htm?cmdSpinup=disk4

 

To spindown:

 

http://tower/update.htm?cmdSpindown=disk4

 

thank you that works.

 

Link to comment

Try the following. I don't know if you need the "=true" part at all, but it seems to work from some quick tinkering.

 

http://tower/update.htm?cmdSpindownAll=true

 

http://tower/update.htm?cmdSpinupAll=true

 

yes that spins all disks up

 

i was talking about multiples like:

 

http://tower/update.htm?cmdSpinup=disk1, disk2, disk8

Maybe try
http://tower/update.htm?cmdSpinup=disk1&cmdSpinup=disk2&cmdSpinup=disk8

and let us know if it works.

Link to comment

Yeah, I've tried multiple variations but only the first parameter seems to get acted on.

 

To validate what is going on, you can try this out while looking at the syslog at the command prompt via: tail -f /var/log/syslog

 

You should see entries like the following --

kernel: mdcmd (x): spinup #

kernel: mdcmd (x): spindown #

emhttp: Spinning up all drives...

emhttp: Spinning down all drives...

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...