Hi,
I'm currently trying to configure a Switched Rack PDU to the lava instance.
How do I know if the driver for my PDU APC AP7901 is supported in the framework?
I got it connected both via serial and telnet. My /etc/lavapdu/lavapdu.conf file is attached.
Also, when I restart the lavapdu-runner it fails with the error that is attached.
As for the beaglebone black support, I have a device dictionary but where should I save it so lava can access it? I've seen that the pdu hostname is always similar to pdu05. How do I know my pdu's hostname?
I appreciate the help, thanks.
Regards, Josue Albarran
On 6 July 2016 at 16:12, Albarran, Josue j-albarran@ti.com wrote:
Hi,
I’m currently trying to configure a Switched Rack PDU to the lava instance.
How do I know if the driver for my PDU APC AP7901 is supported in the framework?
https://github.com/Linaro/pdudaemon/tree/master/lavapdu/drivers I don't see a apc7901 driver, but it might work with one of the others.
I got it connected both via serial and telnet. My /etc/lavapdu/lavapdu.conf file is attached.
Your config file has no configuration for any actual PDUs, example (mine): http://hastebin.com/esidokoqod
Also, when I restart the lavapdu-runner it fails with the error that is attached.
It's most likely due to having no configuration for a PDU.
As for the beaglebone black support, I have a device dictionary but where should I save it so lava can access it? I’ve seen that the pdu hostname is always similar to pdu05. How do I know my pdu’s hostname?
PDU hostname is the network hostname/ip of your PDU.
I appreciate the help, thanks.
An important note, you don't HAVE to use lavapdu to drive your PDU. Your device dictionary can run any script or command to drive it.
The Linaro LAVA lab has their own scripts for PDUs offered here: https://git.linaro.org/lava/lava-lab.git/tree/HEAD:/shared/lab-scripts and they are using this script: https://git.linaro.org/lava/lava-lab.git/blob/HEAD:/shared/lab-scripts/snmp_... to drive APC pdus over SNMP.
Regards,
Josue Albarran
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
Hi,
Thanks for the information, can you send your example in another format as I can't open the page?
I saw the drivers from the git page you sent and even though they have different driver numbers, after looking at the code they seem very similar to the configuration options of the PDU I have.
If I were to use one of the drivers "<name>.py" how would I include it in the device dictionary? Could you show an example?
Thanks, Josue Albarran
-----Original Message----- From: Matt Hart [mailto:matthew.hart@linaro.org] Sent: Wednesday, July 06, 2016 10:38 AM To: Albarran, Josue Cc: lava-users@lists.linaro.org Subject: Re: [Lava-users] PDU and beaglebone black support in LAVA
On 6 July 2016 at 16:12, Albarran, Josue j-albarran@ti.com wrote:
Hi,
I’m currently trying to configure a Switched Rack PDU to the lava instance.
How do I know if the driver for my PDU APC AP7901 is supported in the framework?
https://github.com/Linaro/pdudaemon/tree/master/lavapdu/drivers I don't see a apc7901 driver, but it might work with one of the others.
I got it connected both via serial and telnet. My /etc/lavapdu/lavapdu.conf file is attached.
Your config file has no configuration for any actual PDUs, example (mine): http://hastebin.com/esidokoqod
Also, when I restart the lavapdu-runner it fails with the error that is attached.
It's most likely due to having no configuration for a PDU.
As for the beaglebone black support, I have a device dictionary but where should I save it so lava can access it? I’ve seen that the pdu hostname is always similar to pdu05. How do I know my pdu’s hostname?
PDU hostname is the network hostname/ip of your PDU.
I appreciate the help, thanks.
An important note, you don't HAVE to use lavapdu to drive your PDU. Your device dictionary can run any script or command to drive it.
The Linaro LAVA lab has their own scripts for PDUs offered here: https://git.linaro.org/lava/lava-lab.git/tree/HEAD:/shared/lab-scripts and they are using this script: https://git.linaro.org/lava/lava-lab.git/blob/HEAD:/shared/lab-scripts/snmp_... to drive APC pdus over SNMP.
Regards,
Josue Albarran
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
lava-users@lists.lavasoftware.org