Re: [xcat-user] Hello Newbie who need some help. - Benjamin.

2015-08-04 Thread Josh Nielsen
Hi Benjamin,

It has been several years since I tried installing on VBox, and not all the
instructions make sense to me any longer, but here is what little I had
documented from my install:

Note: The node 'vh01' below is put for the computer that you are running
VBox on (desktop, laptop, etc.)

Add your nodes so that they can work with the Virtual Box plugin.

nodeadd node1 groups=testgrp,vboxgrp vm.host=vh01

Followed by:

chtab node=vboxgrp nodehm.mgt=vbox nodehm.power=vbox

That tells the nodehm table what settings to run for the nodes in the
vboxgrp group so that they can properly run as VM nodes in VirtualBox.

Then add the host computer vh01 as a node (your port number may be
different):

nodeadd vh01 groups=websrv websrv.port=18083 websrv.username=test
websrv.password=test

chtab node=vh01 hosts.ip=IP of vh01 hosts.comments=“The host running
VBox”

Manually set the MAC addresses in the mac table.

Finally you must launch the VirtualBox webservice on the physical host
machine.


You may first want to execute (I don't remember why I made this note, or
what problem it solves):
VBoxManage setproperty websrvauthlibrary null

Then when you are prepared to launch the webservices run in a separate
shell (it must remain open  running) or in the backgroud: vboxwebsrv

Final note to resolve an issue with a VM's name as shown in VirtualBox and
the hostname of the xCAT node being named the same thing (which you would
think wouldn't be a problem):

“Sometimes the VirtualBox machine name can not equal the xCAT node name,
especially in test cases that might occur. There is a feature for this
situation: add somewhere in the comment field of the vm table a schema like
vmname:NAME! and replace NAME by the vm name on the VirtualBox host
system. You may insert other comments before and after that schema. For
example the xCAT node vm03 should point to the virtual machine
machine03 on the VirtualBox host vh01.”


(This “trick” was absolutely necessary for me - else the rpower command
would not work)

Example config in vm table: node1,vh01,,,vmname:xCat_Node1!,

I hope maybe that helps. That's all I've got. :-)

Best regards,
Josh Nielsen

On Tue, Aug 4, 2015 at 6:21 PM, Benjamin LIPERE 
benjamin.lipere...@gmail.com wrote:

 Hello.

 I am a newbie with XCAT.
 I am a little lost on the installation.
 Can some one help me to start on XCAT with a VirtualBox Cluster, please,
 step by step, and by e-mail of course ??
 I may have a twin available, but I am not sure it will work directly.

 Thanks by advance.
 Best Regards.
 Benjamin.

 --
 LIPERE Benjamin
 Le logis de paille
 87270, Chaptelat
 FRANCE
 06 26 14 35 20
 benjamin.lipere...@gmail.com


 --

 ___
 xCAT-user mailing list
 xCAT-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/xcat-user


--
___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


[xcat-user] Hello Newbie who need some help. - Benjamin.

2015-08-04 Thread Benjamin LIPERE
Hello.

I am a newbie with XCAT.
I am a little lost on the installation.
Can some one help me to start on XCAT with a VirtualBox Cluster, please,
step by step, and by e-mail of course ??
I may have a twin available, but I am not sure it will work directly.

Thanks by advance.
Best Regards.
Benjamin.

-- 
LIPERE Benjamin
Le logis de paille
87270, Chaptelat
FRANCE
06 26 14 35 20
benjamin.lipere...@gmail.com
--
___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


[xcat-user] Autodiscovery for HP Cluster - SNMP iLo Question

2015-08-04 Thread Josh Nielsen
Hello,

We are planning to use xCAT to deploy ESX on an HP BladeSystem c7000
cluster (BL460C Gen 9 blade servers). For the time being I was going to
skip iLo setup since I am confused about how to get that working with xCAT.
However, what I want to know is if I can still do autodiscovery of our
nodes as long as the nodes are defined in the switch table and the switches
have SNMP enabled. The documentation available online sends mixed signals
about this.

Sumavi's documentation seems in some places to suggest that SNMP being
enabled is the only critical component for autodiscovery: *So you may not
have the ability to have SNMP read access to the network switches to do
autodiscovery. Not a problem. You'll just have to fill in the MAC addresses
yourself.*
(From: http://sumavi.com/sections/skipping-autodiscovery)

Elsewhere it also seems to suggest SNMP is all is needed:

*If xCAT doesn't know who the node is, then it will automatically run the
autodiscover code. This code looks through all the switches in the switch
table trying to map the port to the mac to the node. It does this by
running snmpwalk commands through the switches.*

But then it disappointingly (and possibly outdated-ly) says: *Autodiscovery
has not been tested with HP blades. Therefore, you are better off just
running getmacs when these nodes are defined to map the mac address*.
(From: http://sumavi.com/sections/understanding-autodiscovery)

But then elsewhere it says this, which seems to imply that the management
module is needed for autodiscovery, and not merely SNMP: *In order to
automate discovery for IPMI and iLo nodes there needs to be a mapping of
nodes to switch ports. This relationship is defined in the switch table.
The methods, passwords, etc to communicate with the switches is in the
switches table. Notice that with blades this step usually isn't necessary.
xCAT can discover IBM blades through the management module.* (From:
http://sumavi.com/sections/switch-and-switches) Is this perhaps only
talking about the nodeX-bmc definition in regards to autodiscovery and not
the base nodeX definition itself?

My main question is, based on the above, if SNMP and the management module
both have a part to play in autodiscovery is there any chance that HP
Blades can work with discovery, as long as I explicitly map the nodes to
port numbers in the switch table? Will I have to configure iLo to make
autodiscovery work or can I leave iLo alone and just enable SNMP and
configure the switch table?

Thanks,
Josh Nielsen
--
___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user