How to create a custom service script for cluster using Python instead of BASH

Solution Verified - Updated -

Issue

  • Want to create a service in cluster using a script resource
  • Want to use Python for the script instead of BASH
  • Do not want to write a BASH wrapper for the Python script

Environment

  • Red Hat Enterprise Linux 5 with Red Hat Cluster Suite

  • Red Hat Enterprise Linux 6 with High Availability

  • Python

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content