Re: Magic SysRq Key Sequences over Remote DRAC5 Connection

2010-06-06 Thread Bryce Nesbitt
On Sun, Jun 6, 2010 at 7:07 PM, Adam Nielsen  wrote:
>> Fixes and Enhancements:
>> *SysRq magic key doesnt work on dell systems remotely
>
> Funny, that doesn't show up on the page for me.

Google it, it's there.  Oddly it is only on the firmware download page
under fixes, not in the release notes.  Here's the link I got it from:

http://support.dell.com/support/downloads/download.aspx?c=us&l=en&s=gen&releaseid=R253040&SystemID=PWE_2950&servicetag=&os=RHEL5&osl=en&deviceid=8735&devlib=0&typecnt=0&vercnt=7&catid=36&impid=-1&formatcnt=0&libid=36&typeid=-1&dateid=-1&formatid=-1&fileid=370427

But ultimately I that relying on break to pass SysRq is fragile.
Better would be an explicit racadm command.  Since the DRAC5 emulates
a USB keyboard, this should be possible.  Xen, a hypervisor, uses
syntax "xm sysrq X" for this same function.  A similar syntax in the
DRAC5, sending commands via USB, would be robust.

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


Re: Magic SysRq Key Sequences over Remote DRAC5 Connection

2010-06-06 Thread Adam Nielsen
> Fixes and Enhancements:
> *SysRq magic key doesnt work on dell systems remotely

Funny, that doesn't show up on the page for me.

> Never mind the missing apostrophe... I've downloaded this release,
> installed it, and don't yet have remote Magic SysRq.
> I'm not quite sure what key sequence to type.  In OpenSSH if I type ~B
> to send a break, I can't be pressing the ALT key at the same time.
> What exactly is Dell thinking will be at the remote end?

You don't need to hold Alt when working over the serial port. 
Alt+PrintScreen on a PC keyboard sends the special SysRq keycode, which 
is replaced by the 'break' on a serial console.   So break+h over serial 
should print the SysRq help message.

~B via OpenSSH doesn't work for me either.  Looking at the source code 
for the 'connect com2' program[1], it seems that it's a simple 'cat' 
from stdin to the serial port, which wouldn't pass through any breaks (I 
think these are sent via ioctls.)  Perhaps this was fixed in the newest 
firmware?  I only have the source up to v1.48 to check.

A better alternative might be to write a program which is run directly 
from the DRAC command line and sends a break + char, then dumps any 
following output.  Sadly Dell haven't released enough of the DRAC code 
to make this possible.

Cheers,
Adam.

[1] 
http://www.shikadi.net/dell/opensource-dvd1/DRAC/DRAC5-1.48/DRAC5-1.48.iso/rac5_open/d5ttyd/connect.c
 
which in turn runs
http://www.shikadi.net/dell/opensource-dvd1/DRAC/DRAC5-1.48/DRAC5-1.48.iso/rac5_open/rootsrc/usr/sbin/connect.script

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


Re: anyone tried converting PE1900 to PE2900?

2010-06-06 Thread J. Epperson
On Sun, June 6, 2010 18:24, Bond Masuda wrote:
> i might be able to get my hands on a PE1900 w/ PERC5/I for a few hundred
> US$, but it would be immensely more useful to me if it also had the
> hotplug
> SATA/SAS drive cage/backplane and dual power supply. i'm just wondering
> what
> it would take to convert the 1900 to basically what is a 2900. has anyone
> done this before? would you happen to have a parts list handy?
>
> searching parts catalog on Dell's website isn't always that helpful
>

There are 2950 and 2900 units on eBay, looks like they go for about
$400-800 without drives.  I mention this because a number of them have the
original specs in the ads, with part numbers for power supplies,
backplanes, etc.

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


anyone tried converting PE1900 to PE2900?

2010-06-06 Thread Bond Masuda
i might be able to get my hands on a PE1900 w/ PERC5/I for a few hundred
US$, but it would be immensely more useful to me if it also had the hotplug
SATA/SAS drive cage/backplane and dual power supply. i'm just wondering what
it would take to convert the 1900 to basically what is a 2900. has anyone
done this before? would you happen to have a parts list handy?

searching parts catalog on Dell's website isn't always that helpful

TIA,
-Bond

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


Re: apache reverse proxy on Dell Power Edge

2010-06-06 Thread Matt Domsch
On Sat, Jun 05, 2010 at 10:29:03PM -0700, Tapas M wrote:
>Hi,
>if some sys admin on this list have used Reverse Proxy thing on Linux or
>Windows just let me know.
>I am a bit confused as  how does directive
>ProxyPass
>and ProxyPassReverse work
>in apache2.
>If I have an application on an internal webserver running on port 8080 on
>Lan
>but I want it to be accessible on internet via Server A which has public
>IP
>but firewall (which I do not have control blocks all except port 80)
>Code:
> 
>   External   Server A -Server 
> B
>  Firewall by  Public IP LAN
>  sysadmins
>  (Port 8080 blocked)
> 
>if I write
>Code:
> 
>  ProxyPass /application   [1]http://192.168.1.5:8080
>  ProxyPassReverse  /application [2]http://192.168.1.5:8080
> 
>1) Will the application be accessible outside.

Yes, as http://[public-ip]/application.

You should also consider using

  ProxyPass /application(.*) http://192.168.1.5:8080/application$1

in case you have additional application options you want passed on.


>Or do I need to contact sysadmin to open 8080 for outside world in A in
>above diagram.

no.

>Also does apache needs to listen at 8080 in above diagram at server A.

no.

>Is there any other way to do the same in apache2.

It's the same in apache2, though you can also use a RewriteRule of
type [P], which can be more flexible.

Thanks,
Matt

--
Matt Domsch
Technology Strategist
Dell | Office of the CTO

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


Re: Moving disks between M605 blades?

2010-06-06 Thread guy
Cris Rhea wrote:
> I have a pair of RAID-1 disks on an M605 blade.
>
> I want to move those disks (unchanged) to a different M605
> blade, but the RAID controller complains.
>
> How does one do this WITHOUT destroying the data on the disks?
>
> --- Cris
>   
what i understood is that - it depends on the RAID controller you are using.

some of them support importing of what they call "foreign 
configurations". if the controller tells you it recognized a foreign 
configuration - it probably has an option of importing it.

i did this exactly once, moving disks from a M605 with a MPTFusion 
controller to a M605 with a PERC6/i controller, and it worked. i 
wouldn't do this on critical data (i.e. data you cannot recreate in a 
timely manner) without consulting dell's support.

--guy

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq