[CentOS] IPMI ??

2016-09-17 Thread Alice Wonder
Never used IPMI in my life and while I thought it was cool when I heard 
about it, had no plans to.


Just built a home server (while out of town) using a SUPERMICRO 
MBD-X10SLM+-F-O


I put an nVidia 405 based video card in it but it may be bad.

When I power it on, I get some beeps but they are different than the no 
memory beeps (I intentionally powered on w/o memory to hear those) and I 
think what may be happening is normal boot process but no video simply 
because the card (bought used) may be bad.


Before I go and try to find a retailer that still carries VGA cables, is 
there a way via the boards IPMI interface (it has ethernet port just for 
that) to connect from my CentOS 7 laptop and see if the machine is 
normally powering on?


I saw some IPMI packages exist for CentOS 7 but I don't know if this is 
what they are for.


And it seems there are OpenIPMI and freeimpi packages. Are those just 
different ways of doing same thing or do they serve different purposes?


Thanks.




--
-=-
Sent my from my laptop, may not be able to respond timely
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] IPMI ??

2016-09-17 Thread Mauricio Tavares
On Sat, Sep 17, 2016 at 6:25 AM, Alice Wonder  wrote:
> Never used IPMI in my life and while I thought it was cool when I heard
> about it, had no plans to.
>
Under many different names (Sun called it LOM; I forgot IBM's
name), this has been out there for a while. And it is IMHO the best
way to deal with servers. My normal server installing procedure is:

1. slap server wherever it will reside
2. Run the power cords
3. Run the ethernet cords for both normal use and IPMI. I'd probably
be mindful of which vlans each cable goes to.
4. Fire computer up
5. Connect to the IPMI ethernet port using openipmi/whatever; by
default it is generally setup to do dhcp.
6. Through ipmi, configure server's bios/raid/whatever and then boot
it, feeding an ISO with the OS of choice through ipmi. Good time to do
any server bios upgrade too.
7. Don't forget to change IPMI PW!

> Just built a home server (while out of town) using a SUPERMICRO
> MBD-X10SLM+-F-O
>
> I put an nVidia 405 based video card in it but it may be bad.
>
> When I power it on, I get some beeps but they are different than the no
> memory beeps (I intentionally powered on w/o memory to hear those) and I
> think what may be happening is normal boot process but no video simply
> because the card (bought used) may be bad.
>
> Before I go and try to find a retailer that still carries VGA cables, is
> there a way via the boards IPMI interface (it has ethernet port just for
> that) to connect from my CentOS 7 laptop and see if the machine is normally
> powering on?
>
  Connect both to a switch attached to your dhcp server (or make
laptop provide that to ipmi) and then connect from laptop to ipmi and
go do your thing.

Video cards are for desktops.

> I saw some IPMI packages exist for CentOS 7 but I don't know if this is what
> they are for.
>
> And it seems there are OpenIPMI and freeimpi packages. Are those just
> different ways of doing same thing or do they serve different purposes?
>
  Personally I do not think the supermicro box cares. IPMI is a
standard. Whichever you use should provide a way to send out (remote)
commands and then have a console so you can install thingies in the
server.

With that said, I have used openipmi myself; you do want the ipmitool,
which is a package.

Sample commands (lookup to see what they do. Notice I am using default l/p):

ipmitool -I lan -H 192.168.21.125 -U ADMIN -P ADMIN sel
ipmitool -I lanplus -H 192.168.21.125 -U ADMIN -P ADMIN mc reset cold
ipmitool -I lanplus -H 192.168.21.112 -U ADMIN -P ADMIN mc info

References I have used:

http://wiki.hetzner.de/index.php/IPMI/en
http://lists.us.dell.com/pipermail/linux-poweredge/2007-January/029190.html

> Thanks.
>
>
>
>
> --
> -=-
> Sent my from my laptop, may not be able to respond timely
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] An m4 question

2016-09-17 Thread Robin Lee
On Sat, Sep 17, 2016 at 1:05 AM,  wrote:

> Does anyone know what, if any, the limits are in m4 on the length of
> strings, such as in defines?
>
> That is, if I were to do
> define('LINUX', 'machine1, machine2,...machine120...')
>
> Is there a limit to how many I could put in that one define?
>
>mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
There is no arbitrary limit of string length for GNU m4.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] IPMI ??

2016-09-17 Thread Alice Wonder



On 09/17/2016 04:11 AM, Mauricio Tavares wrote:

On Sat, Sep 17, 2016 at 6:25 AM, Alice Wonder  wrote:

Never used IPMI in my life and while I thought it was cool when I heard
about it, had no plans to.


Under many different names (Sun called it LOM; I forgot IBM's
name), this has been out there for a while. And it is IMHO the best
way to deal with servers. My normal server installing procedure is:

1. slap server wherever it will reside
2. Run the power cords
3. Run the ethernet cords for both normal use and IPMI. I'd probably
be mindful of which vlans each cable goes to.
4. Fire computer up
5. Connect to the IPMI ethernet port using openipmi/whatever; by
default it is generally setup to do dhcp.
6. Through ipmi, configure server's bios/raid/whatever and then boot
it, feeding an ISO with the OS of choice through ipmi. Good time to do
any server bios upgrade too.
7. Don't forget to change IPMI PW!


Okay if it requires DHCP this might be out, I'm currently out of town 
watching my brothers (various disabilities) while parents are on much 
needed vacation. Don't have easy physical access to the router, would 
have to take out stuff in front of it. Was hoping crossover ethernet 
would work.






  Connect both to a switch attached to your dhcp server (or make
laptop provide that to ipmi) and then connect from laptop to ipmi and
go do your thing.

Video cards are for desktops.


Server room I agree, home server it really makes it easy to have several 
terminal windows open at same time and even launch a browser to 
troubleshoot something without needing to ssh in from another box.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] IPMI ??

2016-09-17 Thread John R Pierce

On 9/17/2016 3:25 AM, Alice Wonder wrote:
Never used IPMI in my life and while I thought it was cool when I 
heard about it, had no plans to.


Just built a home server (while out of town) using a SUPERMICRO 
MBD-X10SLM+-F-O


I put an nVidia 405 based video card in it but it may be bad.

When I power it on, I get some beeps but they are different than the 
no memory beeps (I intentionally powered on w/o memory to hear those) 
and I think what may be happening is normal boot process but no video 
simply because the card (bought used) may be bad.


Before I go and try to find a retailer that still carries VGA cables, 
is there a way via the boards IPMI interface (it has ethernet port 
just for that) to connect from my CentOS 7 laptop and see if the 
machine is normally powering on?


I saw some IPMI packages exist for CentOS 7 but I don't know if this 
is what they are for.


And it seems there are OpenIPMI and freeimpi packages. Are those just 
different ways of doing same thing or do they serve different purposes?



the supermicro IPMI has a webserver, you can connect to it with a web 
browser, and can do remote console, remote media...   the remote console 
requires java support in your web browser.



--
john r pierce, recycling bits in santa cruz

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] IPMI ??

2016-09-17 Thread Keith Keller
On 2016-09-17, Alice Wonder  wrote:
>
> Okay if it requires DHCP this might be out, I'm currently out of town 
> watching my brothers (various disabilities) while parents are on much 
> needed vacation. Don't have easy physical access to the router, would 
> have to take out stuff in front of it. Was hoping crossover ethernet 
> would work.

It probably would, but you still need some way to assign an IP address
to the IPMI interface (it probably doesn't have one out of the box).
But from your laptop you can run a DHCP server which would then assign
an IP to the IPMI interface.

The IPMI might self-assign if it can't find a DHCP server, but in my
memory (which might be faulty) it doesn't do this.

If for some reason Java doesn't work from your browser, Supermicro also
distributes a Java GUI tool for interacting with Supermicro IPMI
interfaces.  It also supports a subnet scanner, so you don't need to
know the IP that gets assigned.  Look for IPMIview here:

http://www.supermicro.com/products/nfo/IPMI.cfm

It's not a great tool but it works well enough for console access.

--keith

-- 
kkel...@wombat.san-francisco.ca.us


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] IPMI ??

2016-09-17 Thread Digimer
On 18/09/16 12:15 AM, Keith Keller wrote:
> On 2016-09-17, Alice Wonder  wrote:
>>
>> Okay if it requires DHCP this might be out, I'm currently out of town 
>> watching my brothers (various disabilities) while parents are on much 
>> needed vacation. Don't have easy physical access to the router, would 
>> have to take out stuff in front of it. Was hoping crossover ethernet 
>> would work.
> 
> It probably would, but you still need some way to assign an IP address
> to the IPMI interface (it probably doesn't have one out of the box).
> But from your laptop you can run a DHCP server which would then assign
> an IP to the IPMI interface.
> 
> The IPMI might self-assign if it can't find a DHCP server, but in my
> memory (which might be faulty) it doesn't do this.
> 
> If for some reason Java doesn't work from your browser, Supermicro also
> distributes a Java GUI tool for interacting with Supermicro IPMI
> interfaces.  It also supports a subnet scanner, so you don't need to
> know the IP that gets assigned.  Look for IPMIview here:
> 
> http://www.supermicro.com/products/nfo/IPMI.cfm
> 
> It's not a great tool but it works well enough for console access.
> 
> --keith

I have a section on using and configuring IPMI in EL6 from the command
line. Might be of use to some here:

https://alteeve.ca/w/AN!Cluster_Tutorial_2#What_is_IPMI

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] IPMI ??

2016-09-17 Thread Alice Wonder



On 09/17/2016 09:15 PM, Keith Keller wrote:

On 2016-09-17, Alice Wonder  wrote:


Okay if it requires DHCP this might be out, I'm currently out of town
watching my brothers (various disabilities) while parents are on much
needed vacation. Don't have easy physical access to the router, would
have to take out stuff in front of it. Was hoping crossover ethernet
would work.


It probably would, but you still need some way to assign an IP address
to the IPMI interface (it probably doesn't have one out of the box).
But from your laptop you can run a DHCP server which would then assign
an IP to the IPMI interface.

The IPMI might self-assign if it can't find a DHCP server, but in my
memory (which might be faulty) it doesn't do this.

If for some reason Java doesn't work from your browser, Supermicro also
distributes a Java GUI tool for interacting with Supermicro IPMI
interfaces.  It also supports a subnet scanner, so you don't need to
know the IP that gets assigned.  Look for IPMIview here:


I bought a VGA capable. I don't yet know if the video card is bad or the 
board just can't use it, I'll find that out later.


But for now via VGA cable it is all working.

For what's worth, removing both flash and java capabilities from my 
browser was the second best thing I ever did (privacy badger the best), 
don't want to re-install either.


Once I'm back home and this server is set up where it goes, I'll try 
playing with non-browser IPMI tools and see what it is all about.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos