Re: Multiple script resources with same name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of Achint Mehta
Sent: Wednesday, December 28, 2011 1:55 PM
To: linux clustering
Subject: Re: 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@xxxxxxxxxxxxxxxx> 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

 

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

 

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

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux