Re: [xcat-user] Dell Networking OS9 and OS6 Switches on xCAT

2018-12-06 Thread Carl
Yep what Nick said :)

Personally I prefer to administer switches directly, or via a configuration
management utility such as Ansible.

Cheers,

Carl.


On Fri, 7 Dec 2018 at 08:23, Nick Evans  wrote:

> Hi Vinícius
>
> From the information on the makegocons page it will only create remote
> consoles for the devices with BMC ports. As the switches don't have this
> you can't get remote serial console.
>
> From the link you posted you can define the switches so that you can use
> xdsh to run command across all switches like you can do with the nodes in
> the cluster. This is via the ssh connection not the serial console.
> The link gets you to stetup the authentication and type of switch (in your
> case you would just need general switch type) to allow this xdsh connection.
>
> This is not what is used for discovery and if you are only looking to get
> discovery working you still need to add the switch as a node but you only
> need to add it with SNMP defined.
>
> Carl would have included the makegocons below as his example also included
> comp node definitions so it would be there for completeness not because it
> is required for the switches.
>
> Nick
>
>
>
>
> On Fri., 7 Dec. 2018, 6:51 am Vinícius Ferrão  wrote:
>
>> Hi Carl,
>>
>> I wasn’t expecting a so complete answer like this. Thats awesome.
>>
>> So you don’t have to create a switch definition as described here, on the
>> Add New Switch Types section:
>> https://xcat-docs.readthedocs.io/en/stable/advanced/networks/ethernet_switches/ethernet_switches.html#switch-management
>>
>> I see that you run makegocons, so there’s a way to run a rcon switch and
>> get in the serial console?
>>
>> Thanks,
>>
>> On 5 Dec 2018, at 20:32, Carl  wrote:
>>
>> We have xCat working fine with Dell 3048-ON switches (currently running
>> 9.14).
>>
>> We mostly used
>> https://xcat-docs.readthedocs.io/en/stable/advanced/networks/switchdiscover/switch_based_switch_discovery.html
>> as a reference
>>
>> However I use version 2c, as I was never very successful with v3 and we
>> dont need the additional security.
>>
>> The other trap is that the documentation says that snmpv1 is used by
>> default, however from my observations v3 is used by default.
>>
>> On the switch you need the following configuration
>> snmp-server community public ro
>>
>> I am unsure what traps need to be enabled, for completeness here all of
>> the ones that we have enabled. I would appreciate if someone else on list
>> could say which ones are needed by xCat
>> snmp-server enable traps bgp
>> snmp-server enable traps snmp authentication coldstart linkdown linkup
>> syslog-reachable syslog-unreachable
>> snmp-server enable traps vrrp
>> snmp-server enable traps lacp
>> snmp-server enable traps entity
>> snmp-server enable traps stack
>> snmp-server enable traps stp
>> snmp-server enable traps ecfm
>> snmp-server enable traps vlt
>> snmp-server enable traps xstp
>> snmp-server enable traps isis
>> snmp-server enable traps config
>> snmp-server enable traps envmon cam-utilization fan supply temperature
>> snmp-server enable traps ecmp
>>
>>
>> Then its just a matter of setting up the switch definition and pointing
>> the hosts at it. The following is based on some nodes that were recently
>> added to my system, so you would need to modify for your environment
>> # create the switch definition with snmp settings
>> mkdef -t node 1g05 groups=switches ip=100.64.24.27  nodetype=switch
>> snmppassword=public snmpversion=2c
>> # create a node group that defines the switchport based on the node
>> number
>> mkdef -t group 1g05-d03-41 switch=1g05 switchport='|\D+(\d+)|($1-60)|'
>> # create the node definitions
>> mkdef -t node comp[061-080] groups=compute,1g05-d03-41,all,ipmi
>> makehosts
>> makedns
>> makegocons
>>
>> Then you can turn on the nodes they should be discovered and setup.
>>
>> Cheers,
>>
>> Carl.
>>
>>
>>
>> On Thu, 6 Dec 2018 at 03:07, Vinícius Ferrão 
>> wrote:
>>
>>> Hello,
>>>
>>> I would like know if someone deployed xCAT with switches from this
>>> series, it’s basically the Dell N and Dell S lines.
>>>
>>> Accordingly to the documentation (
>>> https://xcat-docs.readthedocs.io/en/stable/advanced/networks/ethernet_switches/ethernet_switches.html#switch-management),
>>> xCAT only supports 4 vendors out-of-the-box, but there are instructions to
>>> add other devices.
>>>
>>> So, if someone managed to put this switches under xCAT control, what was
>>> the procedure?
>>>
>>> Thanks,
>>>
>>>
>>>
>>> ___
>>> 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 mailing list
>> xCAT-user@lists.sourceforge.net
>> 

Re: [xcat-user] Dell Networking OS9 and OS6 Switches on xCAT

2018-12-06 Thread Nick Evans
Hi Vinícius

>From the information on the makegocons page it will only create remote
consoles for the devices with BMC ports. As the switches don't have this
you can't get remote serial console.

>From the link you posted you can define the switches so that you can use
xdsh to run command across all switches like you can do with the nodes in
the cluster. This is via the ssh connection not the serial console.
The link gets you to stetup the authentication and type of switch (in your
case you would just need general switch type) to allow this xdsh connection.

This is not what is used for discovery and if you are only looking to get
discovery working you still need to add the switch as a node but you only
need to add it with SNMP defined.

Carl would have included the makegocons below as his example also included
comp node definitions so it would be there for completeness not because it
is required for the switches.

Nick




On Fri., 7 Dec. 2018, 6:51 am Vinícius Ferrão  Hi Carl,
>
> I wasn’t expecting a so complete answer like this. Thats awesome.
>
> So you don’t have to create a switch definition as described here, on the
> Add New Switch Types section:
> https://xcat-docs.readthedocs.io/en/stable/advanced/networks/ethernet_switches/ethernet_switches.html#switch-management
>
> I see that you run makegocons, so there’s a way to run a rcon switch and
> get in the serial console?
>
> Thanks,
>
> On 5 Dec 2018, at 20:32, Carl  wrote:
>
> We have xCat working fine with Dell 3048-ON switches (currently running
> 9.14).
>
> We mostly used
> https://xcat-docs.readthedocs.io/en/stable/advanced/networks/switchdiscover/switch_based_switch_discovery.html
> as a reference
>
> However I use version 2c, as I was never very successful with v3 and we
> dont need the additional security.
>
> The other trap is that the documentation says that snmpv1 is used by
> default, however from my observations v3 is used by default.
>
> On the switch you need the following configuration
> snmp-server community public ro
>
> I am unsure what traps need to be enabled, for completeness here all of
> the ones that we have enabled. I would appreciate if someone else on list
> could say which ones are needed by xCat
> snmp-server enable traps bgp
> snmp-server enable traps snmp authentication coldstart linkdown linkup
> syslog-reachable syslog-unreachable
> snmp-server enable traps vrrp
> snmp-server enable traps lacp
> snmp-server enable traps entity
> snmp-server enable traps stack
> snmp-server enable traps stp
> snmp-server enable traps ecfm
> snmp-server enable traps vlt
> snmp-server enable traps xstp
> snmp-server enable traps isis
> snmp-server enable traps config
> snmp-server enable traps envmon cam-utilization fan supply temperature
> snmp-server enable traps ecmp
>
>
> Then its just a matter of setting up the switch definition and pointing
> the hosts at it. The following is based on some nodes that were recently
> added to my system, so you would need to modify for your environment
> # create the switch definition with snmp settings
> mkdef -t node 1g05 groups=switches ip=100.64.24.27  nodetype=switch
> snmppassword=public snmpversion=2c
> # create a node group that defines the switchport based on the node number
> mkdef -t group 1g05-d03-41 switch=1g05 switchport='|\D+(\d+)|($1-60)|'
> # create the node definitions
> mkdef -t node comp[061-080] groups=compute,1g05-d03-41,all,ipmi
> makehosts
> makedns
> makegocons
>
> Then you can turn on the nodes they should be discovered and setup.
>
> Cheers,
>
> Carl.
>
>
>
> On Thu, 6 Dec 2018 at 03:07, Vinícius Ferrão 
> wrote:
>
>> Hello,
>>
>> I would like know if someone deployed xCAT with switches from this
>> series, it’s basically the Dell N and Dell S lines.
>>
>> Accordingly to the documentation (
>> https://xcat-docs.readthedocs.io/en/stable/advanced/networks/ethernet_switches/ethernet_switches.html#switch-management),
>> xCAT only supports 4 vendors out-of-the-box, but there are instructions to
>> add other devices.
>>
>> So, if someone managed to put this switches under xCAT control, what was
>> the procedure?
>>
>> Thanks,
>>
>>
>>
>> ___
>> 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 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


Re: [xcat-user] Dell Networking OS9 and OS6 Switches on xCAT

2018-12-06 Thread Vinícius Ferrão
Hi Carl,

I wasn’t expecting a so complete answer like this. Thats awesome.

So you don’t have to create a switch definition as described here, on the Add 
New Switch Types section: 
https://xcat-docs.readthedocs.io/en/stable/advanced/networks/ethernet_switches/ethernet_switches.html#switch-management
 


I see that you run makegocons, so there’s a way to run a rcon switch and get in 
the serial console?

Thanks,

> On 5 Dec 2018, at 20:32, Carl  wrote:
> 
> We have xCat working fine with Dell 3048-ON switches (currently running 9.14).
> 
> We mostly used 
> https://xcat-docs.readthedocs.io/en/stable/advanced/networks/switchdiscover/switch_based_switch_discovery.html
>  
> 
>  as a reference 
> 
> However I use version 2c, as I was never very successful with v3 and we dont 
> need the additional security.  
> 
> The other trap is that the documentation says that snmpv1 is used by default, 
> however from my observations v3 is used by default. 
> 
> On the switch you need the following configuration
> snmp-server community public ro
> 
> I am unsure what traps need to be enabled, for completeness here all of the 
> ones that we have enabled. I would appreciate if someone else on list could 
> say which ones are needed by xCat
> snmp-server enable traps bgp
> snmp-server enable traps snmp authentication coldstart linkdown linkup 
> syslog-reachable syslog-unreachable
> snmp-server enable traps vrrp
> snmp-server enable traps lacp
> snmp-server enable traps entity
> snmp-server enable traps stack
> snmp-server enable traps stp
> snmp-server enable traps ecfm
> snmp-server enable traps vlt
> snmp-server enable traps xstp
> snmp-server enable traps isis
> snmp-server enable traps config
> snmp-server enable traps envmon cam-utilization fan supply temperature
> snmp-server enable traps ecmp
> 
> 
> Then its just a matter of setting up the switch definition and pointing the 
> hosts at it. The following is based on some nodes that were recently added to 
> my system, so you would need to modify for your environment
> # create the switch definition with snmp settings
> mkdef -t node 1g05 groups=switches ip=100.64.24.27  nodetype=switch 
> snmppassword=public snmpversion=2c
> # create a node group that defines the switchport based on the node number 
> mkdef -t group 1g05-d03-41 switch=1g05 switchport='|\D+(\d+)|($1-60)|'
> # create the node definitions
> mkdef -t node comp[061-080] groups=compute,1g05-d03-41,all,ipmi
> makehosts
> makedns
> makegocons
> 
> Then you can turn on the nodes they should be discovered and setup. 
> 
> Cheers,
> 
> Carl.
> 
> 
> 
> On Thu, 6 Dec 2018 at 03:07, Vinícius Ferrão  > wrote:
> Hello,
> 
> I would like know if someone deployed xCAT with switches from this series, 
> it’s basically the Dell N and Dell S lines.
> 
> Accordingly to the documentation 
> (https://xcat-docs.readthedocs.io/en/stable/advanced/networks/ethernet_switches/ethernet_switches.html#switch-management
>  
> ),
>  xCAT only supports 4 vendors out-of-the-box, but there are instructions to 
> add other devices.
> 
> So, if someone managed to put this switches under xCAT control, what was the 
> procedure?
> 
> Thanks,
> 
> 
> 
> ___
> 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 mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] Dell Networking OS9 and OS6 Switches on xCAT

2018-12-05 Thread Carl
We have xCat working fine with Dell 3048-ON switches (currently running
9.14).

We mostly used
https://xcat-docs.readthedocs.io/en/stable/advanced/networks/switchdiscover/switch_based_switch_discovery.html
as a reference

However I use version 2c, as I was never very successful with v3 and we
dont need the additional security.

The other trap is that the documentation says that snmpv1 is used by
default, however from my observations v3 is used by default.

On the switch you need the following configuration
snmp-server community public ro

I am unsure what traps need to be enabled, for completeness here all of the
ones that we have enabled. I would appreciate if someone else on list could
say which ones are needed by xCat
snmp-server enable traps bgp
snmp-server enable traps snmp authentication coldstart linkdown linkup
syslog-reachable syslog-unreachable
snmp-server enable traps vrrp
snmp-server enable traps lacp
snmp-server enable traps entity
snmp-server enable traps stack
snmp-server enable traps stp
snmp-server enable traps ecfm
snmp-server enable traps vlt
snmp-server enable traps xstp
snmp-server enable traps isis
snmp-server enable traps config
snmp-server enable traps envmon cam-utilization fan supply temperature
snmp-server enable traps ecmp


Then its just a matter of setting up the switch definition and pointing the
hosts at it. The following is based on some nodes that were recently added
to my system, so you would need to modify for your environment
# create the switch definition with snmp settings
mkdef -t node 1g05 groups=switches ip=100.64.24.27  nodetype=switch
snmppassword=public snmpversion=2c
# create a node group that defines the switchport based on the node number
mkdef -t group 1g05-d03-41 switch=1g05 switchport='|\D+(\d+)|($1-60)|'
# create the node definitions
mkdef -t node comp[061-080] groups=compute,1g05-d03-41,all,ipmi
makehosts
makedns
makegocons

Then you can turn on the nodes they should be discovered and setup.

Cheers,

Carl.



On Thu, 6 Dec 2018 at 03:07, Vinícius Ferrão 
wrote:

> Hello,
>
> I would like know if someone deployed xCAT with switches from this series,
> it’s basically the Dell N and Dell S lines.
>
> Accordingly to the documentation (
> https://xcat-docs.readthedocs.io/en/stable/advanced/networks/ethernet_switches/ethernet_switches.html#switch-management),
> xCAT only supports 4 vendors out-of-the-box, but there are instructions to
> add other devices.
>
> So, if someone managed to put this switches under xCAT control, what was
> the procedure?
>
> Thanks,
>
>
>
> ___
> 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] Dell Networking OS9 and OS6 Switches on xCAT

2018-12-05 Thread Vinícius Ferrão
Hello,

I would like know if someone deployed xCAT with switches from this series, it’s 
basically the Dell N and Dell S lines.

Accordingly to the documentation 
(https://xcat-docs.readthedocs.io/en/stable/advanced/networks/ethernet_switches/ethernet_switches.html#switch-management),
 xCAT only supports 4 vendors out-of-the-box, but there are instructions to add 
other devices.

So, if someone managed to put this switches under xCAT control, what was the 
procedure?

Thanks,



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