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-boun...@redhat.com 
[mailto:linux-cluster-boun...@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.anders...@weyerhaeuser.com<mailto:john.anders...@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-boun...@redhat.com<mailto:linux-cluster-boun...@redhat.com> 
[mailto:linux-cluster-boun...@redhat.com<mailto:linux-cluster-boun...@redhat.com>]
 On Behalf Of Achint Mehta
Sent: Wednesday, December 28, 2011 1:04 PM
To: linux-cluster@redhat.com<mailto:linux-cluster@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@redhat.com<mailto:Linux-cluster@redhat.com>
https://www.redhat.com/mailman/listinfo/linux-cluster

--
Linux-cluster mailing list
Linux-cluster@redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster

Reply via email to