[Linux-cluster] Multiple script resources with same name

Anderson, John(Patni) John.Anderson4 at weyerhaeuser.com
Wed Dec 28 22:10:35 UTC 2011


Your welcome Achint,

As far as I know.  In the past I did not change the name of a script I called out in another script.   I just commented out a section (of the line) and stated why I was calling it again, to avoid confusion.  That enabled me to keep resources at a lower level.  (Memory and storage space were measured in kilobytes and megabytes back then.)

John
253-924-7657

From: linux-cluster-bounces at redhat.com [mailto:linux-cluster-bounces at redhat.com] On Behalf Of Achint Mehta
Sent: Wednesday, December 28, 2011 1:55 PM
To: linux clustering
Subject: Re: [Linux-cluster] Multiple script resources with same name

Thanks John.

I have done something similar as a workaround.
Instead of creating copies I have created softlink with different names to the same script file.
(I am editing the script a lot so softlinks saves me some effort)

But is it correct to say that there is no such provision of managing multiple instances of services (script service) in the RHCS framework ?

Thanks
Achint

On Wed, Dec 28, 2011 at 4:41 PM, Anderson, John(Patni) <John.Anderson4 at weyerhaeuser.com<mailto:John.Anderson4 at weyerhaeuser.com>> wrote:
One way might be to create the script and save it to different names.  IE vi the script and save it then cat it to a different name.

TEST #> Vi testfile1
After completing the task then:
TEST #> cat testfile1 > testfile2
TEST #> cat testfile2 > testfile3
Et Cetra ; etc.


John
253-924-7657<tel:253-924-7657>

From: linux-cluster-bounces at redhat.com<mailto:linux-cluster-bounces at redhat.com> [mailto:linux-cluster-bounces at redhat.com<mailto:linux-cluster-bounces at redhat.com>] On Behalf Of Achint Mehta
Sent: Wednesday, December 28, 2011 1:04 PM
To: linux-cluster at redhat.com<mailto:linux-cluster at redhat.com>
Subject: [Linux-cluster] Multiple script resources with same name

Hi All,

I am using RHCS on RHEL 6.2.
I was trying add multiple script resources that point to the same script/resource/executable.
Is seems that every script resource that has been added should have a unique script name.

Is there a way in RHCS by which I can spawn and manage multiple instances of same script/executable?

Thanks
Achint



--
Linux-cluster mailing list
Linux-cluster at redhat.com<mailto:Linux-cluster at redhat.com>
https://www.redhat.com/mailman/listinfo/linux-cluster

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20111228/6da7730e/attachment.htm>


More information about the Linux-cluster mailing list