OpenShift FAR Template YAML

25 views
Skip to first unread message

Abdul Rasheed

unread,
Apr 23, 2025, 10:29:31 PMApr 23
to medik8s
Hello Team,

I am new the FAR. I am trying to create a FAR template. I am using Dell iDRAC to manage my server. 

Please help me to understand the template YAML file. 

apiVersion: fence-agents-remediation.medik8s.io/v1alpha1
kind: FenceAgentsRemediationTemplate
metadata:
  name: fence-agents-remediation-template-fence-ipmilan
  namespace: openshift-operators
spec:
  template:
    spec:
      agent: fence_ipmilan --> Can I replace it with fence_idrac?  
        nodeparameters:
          --ipport:
            master-0-0: '6230' --> Can I use port 443 on all my servers? 
            master-0-1: '6231'
            master-0-2: '6232'
            worker-0-0: '6233'
            worker-0-1: '6234'
            worker-0-2: '6235'
        sharedparameters:
          '--action': reboot
          '--ip': 192.168.123.1 --> What is the use of this IP address here. 
          '--lanplus': ''
          '--password': password
          '--username': admin

Michael Shitrit

unread,
Apr 24, 2025, 3:10:20 AMApr 24
to Abdul Rasheed, medik8s
Hi Abdul,

Thanks for reaching out !
Here are some answers to your questions:


> agent: fence_ipmilan --> Can I replace it with fence_idrac?  
You can check our oficial doc for supported fence agents, IIRC idrac isn't one of them.


>  master-0-0: '6230' --> Can I use port 443 on all my servers? 
> '--ip': 192.168.123.1 --> What is the use of this IP address here.
--ipport and --ip are params that will be passed to the fence agent by FAR. If I remember correctly they signify the IP and Port of the fencing device that controls the node power (feel free though to check oficial fence agents documentation though) , so you can probably answer that based on your system setup.


--
You received this message because you are subscribed to the Google Groups "medik8s" group.
To unsubscribe from this group and stop receiving emails from it, send an email to medik8s+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/medik8s/b3da22a0-68ed-4ff0-97b2-f8df6920856en%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Michael Shitrit

Principal Software Engineer

Red Hat

Reply all
Reply to author
Forward
0 new messages