[ClusterLabs] ethernet link up/down - ?

Reid Wahl nwahl at redhat.com
Thu Dec 7 16:39:56 EST 2023


On Thu, Dec 7, 2023 at 7:34 AM lejeczek via Users <users at clusterlabs.org> wrote:
>
>
>
> On 04/12/2023 20:58, Reid Wahl wrote:
> > On Thu, Nov 30, 2023 at 10:30 AM lejeczek via Users
> > <users at clusterlabs.org> wrote:
> >>
> >>
> >> On 07/02/2022 20:09, lejeczek via Users wrote:
> >>> Hi guys
> >>>
> >>> How do you guys go about doing link up/down as a resource?
> >>>
> >>> many thanks, L.
> >>>
> >> With simple tests I confirmed that indeed Linux - on my
> >> hardware at leat - can easily power down&up an eth link - if
> >> a @devel reads this:
> >> Is there an agent in the suite which a non-programmer could
> >> easily (for most safely) adopt for such purpose?
> >> I understand such agent has to be cloneable & promotable.
> > The iface-bridge resource appears to do something similar for bridges.
> > I don't see anything currently for links in general.
> >
> >
> Where can I find that agent?

https://github.com/ClusterLabs/resource-agents/blob/main/heartbeat/iface-bridge

> Any comment on that idea about adding, introducing such
> "link" agent into agents in the future?
> Should I go _github_ and suggest it there perhaps?
> Naturally done by "devel" it would be ideal, as opposed to,
> by us user/admins.

You can file an issue on GitHub, yes:
https://github.com/ClusterLabs/resource-agents/issues

Developer resources are finite and we get requests for new agents
regularly. If you're a subscriber to a RHEL or SUSE or something like
that, then I'd recommend filing an RFE through your distribution.
(That would be necessary anyway if you want such an agent to get into
a downstream package.)

You could also write the agent and submit a pull request to get it
merged into the resource-agents repo.

> thanks, L.
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/



-- 
Regards,

Reid Wahl (He/Him)
Senior Software Engineer, Red Hat
RHEL High Availability - Pacemaker



More information about the Users mailing list