AW: How to run a job on individual servers?

2019-08-30 Thread Conny.Martin
Hi Thomas,

it seems like you‘re using SET-Fields $PROCESS$, which is used to get the 
STDOUT of the started process assigned to a field. This makes no sense as 
you’re redirecting STDOUT to /dev/null. So in this case use RUN-PROCESS instead 
of Set-Fields.
But your problem seems to be, that ssh is not in $PATH (returncode 127 
indicates this). So try to use an absolute path like /usr/bin/ssh or wherever 
your ssh client is installed.

KR Conny

Von: ARSList  Im Auftrag von Thomas Miskiewicz
Gesendet: Freitag, 30. August 2019 08:28
An: ARSList 
Betreff: Re: How to run a job on individual servers?

Hi Conny,

I setup the ssh stuff on the boxes and it work from the command line, however 
from a filter it doesn’t


Der angeforderte Prozess kann nicht ausgeführt werden. (ARERR 341)


 --> Bestanden - Aktionen durchf�hren
  
 0 : Felder einstellen
  
   Aktion (536870919) =
  
 /* Fr Aug 30 2019 08:10:27.4470 */ ssh 
user@our.box 
/here_the_path/monitor_user.sh 2>/dev/null >/dev/null
  
 /* Fr Aug 30 2019 08:10:28.5390 */ Exit code: 127  
Value:
  
 /* Fr Aug 30 2019 08:10:28.5390 */ Error evaluating 
assignment for field 536870915
com.bmc.arsys.domain.process.ExternalProcessExecutionException: ERROR (341): 
Der angeforderte Prozess kann nicht ausgef�hrt werden.;
at 
com.bmc.arsys.server.domain.util.process.ExternalProcessEvaluatorFactory$ExternalProcessEvaluator.runCommand(ExternalProcessEvaluatorFactory.java:306)
 ~[bundlefile:9.1.03-SNAPSHOT]

Any idea why?


Thomas


On 21. Aug 2019, at 13:44, 
conny.mar...@t-systems.com wrote:

Hi,

if you're on *x, you can do something like

RUN-PROCESS ssh server1 /path/to/your/licensetracker
RUN-PROCESS ssh server2 /path/to/your/licensetracker
RUN-PROCESS ssh server3 /path/to/your/licensetracker

within an escalation. If escalations are running on server1 it will connect via 
ssh to itself, which does not really matter.

KR Conny

-Ursprüngliche Nachricht-
Von: ARSList mailto:arslist-boun...@arslist.org>> 
Im Auftrag von Thomas Miskiewicz
Gesendet: Mittwoch, 21. August 2019 13:21
An: ARSList mailto:arslist@arslist.org>>
Betreff: Re: How to run a job on individual servers?

We're collecting license information on each individual server reading the 
user.log I’m looking for a way to trigger the action on each individual server 
without having to use a cron job.


On 21. Aug 2019, at 13:18, Tauf Chowdhury 
mailto:taufc...@gmail.com>> wrote:

Do you mean escalations? Also is this during a maintenance period or scheduled 
outage? You could always bring up one server at a time and that way you can 
ensure escalations are running on that server if you’re in a server group with 
the failover configured.

Sent from my iPhone


On Aug 21, 2019, at 6:50 AM, Thomas Miskiewicz 
mailto:tmisk...@gmail.com>> wrote:

Hi there

we got three servers in the group and would like to collect information on 
every individual server. We did that in the past using a cron job but would 
prefer escalation which can be controlled by workflow. The problem is 
explanations run only on one of the three servers. Any idea how to trigger 
workflow on each individual server?


Thomas
--
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist

--
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist


--
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist

--
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist

-- 
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist


Re: How to run a job on individual servers?

2019-08-30 Thread Thomas Miskiewicz
Hi Conny,

I setup the ssh stuff on the boxes and it work from the command line, however 
from a filter it doesn’t


Der angeforderte Prozess kann nicht ausgeführt werden. (ARERR 341)


 --> Bestanden - Aktionen durchf�hren
  
 0 : Felder einstellen
  
   Aktion (536870919) = 
  
 /* Fr Aug 30 2019 08:10:27.4470 */ ssh user@o 
ur.box 
/here_the_path/monitor_user.sh 2>/dev/null >/dev/null
  
 /* Fr Aug 30 2019 08:10:28.5390 */ Exit code: 127  
Value: 
  
 /* Fr Aug 30 2019 08:10:28.5390 */ Error evaluating 
assignment for field 536870915
com.bmc.arsys.domain.process.ExternalProcessExecutionException: ERROR (341): 
Der angeforderte Prozess kann nicht ausgef�hrt werden.; 
at 
com.bmc.arsys.server.domain.util.process.ExternalProcessEvaluatorFactory$ExternalProcessEvaluator.runCommand(ExternalProcessEvaluatorFactory.java:306)
 ~[bundlefile:9.1.03-SNAPSHOT]

Any idea why?


Thomas

> On 21. Aug 2019, at 13:44, conny.mar...@t-systems.com wrote:
> 
> Hi,
> 
> if you're on *x, you can do something like 
> 
> RUN-PROCESS ssh server1 /path/to/your/licensetracker
> RUN-PROCESS ssh server2 /path/to/your/licensetracker
> RUN-PROCESS ssh server3 /path/to/your/licensetracker
> 
> within an escalation. If escalations are running on server1 it will connect 
> via ssh to itself, which does not really matter.
> 
> KR Conny
> 
> -Ursprüngliche Nachricht-
> Von: ARSList  Im Auftrag von Thomas Miskiewicz
> Gesendet: Mittwoch, 21. August 2019 13:21
> An: ARSList 
> Betreff: Re: How to run a job on individual servers?
> 
> We're collecting license information on each individual server reading the 
> user.log I’m looking for a way to trigger the action on each individual 
> server without having to use a cron job.
> 
>> On 21. Aug 2019, at 13:18, Tauf Chowdhury  wrote:
>> 
>> Do you mean escalations? Also is this during a maintenance period or 
>> scheduled outage? You could always bring up one server at a time and that 
>> way you can ensure escalations are running on that server if you’re in a 
>> server group with the failover configured. 
>> 
>> Sent from my iPhone
>> 
>>> On Aug 21, 2019, at 6:50 AM, Thomas Miskiewicz  wrote:
>>> 
>>> Hi there
>>> 
>>> we got three servers in the group and would like to collect information on 
>>> every individual server. We did that in the past using a cron job but would 
>>> prefer escalation which can be controlled by workflow. The problem is 
>>> explanations run only on one of the three servers. Any idea how to trigger 
>>> workflow on each individual server?
>>> 
>>> 
>>> Thomas
>>> -- 
>>> ARSList mailing list
>>> ARSList@arslist.org
>>> https://mailman.rrr.se/cgi/listinfo/arslist
>> 
>> -- 
>> ARSList mailing list
>> ARSList@arslist.org
>> https://mailman.rrr.se/cgi/listinfo/arslist
> 
> 
> -- 
> ARSList mailing list
> ARSList@arslist.org
> https://mailman.rrr.se/cgi/listinfo/arslist
> 
> -- 
> ARSList mailing list
> ARSList@arslist.org
> https://mailman.rrr.se/cgi/listinfo/arslist

-- 
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist


RE: How to run a job on individual servers?

2019-08-23 Thread Andre, Jacques
Hi Thomas,

I wrote a workflow solution to this problem some time ago, and it still seems 
to work (Just tried it on 9.1.3)

It is basically one form with 2 escalations.

The following information is recorded in the form


  *   User Login Name
  *   License Name (AR User, Change , Incident … etc)
  *   License Type (Fixed, Floating, Read)
  *   Server Name (Server the user is logged into)
  *   Time Acquired (Time the license was acquired)
  *   Duration (How long the user has used the license (In Seconds))
  *   Status (Currently logged in or logged out)

More than happy to share this if it suites your needs.

Kind regards
Jacques Andre



From: ARSList  On Behalf Of Theo Fondse
Sent: 23 August 2019 10:11
To: 'ARSList' 
Subject: RE: How to run a job on individual servers?

Hi Thomas,

Conny has a very good idea. If your organization’s security policies allow for 
it, it will work just fine.

If you wanted / were forced to use a more old-school AR System-based approach, 
you will need to create two dummy forms populated with a record for each server 
in the group and then trigger something like the driver program or arimport 
from a run process triggered by an escalation on Dummy Form 1.
The driver/arimport then does a login to the individual server in the group and 
modify the record for that server on Dummy Form 2.
This can then trigger workflow to execute locally on the intended server in the 
group to do what you want on that specific server.

See 
https://docs.bmc.com/docs/ars91/en/enabling-the-data-import-utility-609071980.html
 for info on running arimport (much easier than doing this with the driver 
program).


Best Regards,

Theo Fondse

From: ARSList [mailto:arslist-boun...@arslist.org] On Behalf Of 
conny.mar...@t-systems.com
Sent: Wednesday, 21 August, 2019 02:11 PM
To: arslist@arslist.org
Subject: AW: How to run a job on individual servers?

I would not recommend to run arsystem as root (from a security point of view) 
For ssh you can use whatever user you like, which has sufficient permissions to 
run your “licensetracker”. You’ll have to make sure, that the user running 
arsystem is able to do ssh to the target servers/user without the need of any 
password. (Public-Key Authentication)

KR Conny
Von: ARSList mailto:arslist-boun...@arslist.org>> 
Im Auftrag von Thomas Miskiewicz
Gesendet: Mittwoch, 21. August 2019 14:03
An: ARSList mailto:arslist@arslist.org>>
Betreff: Re: How to run a job on individual servers?

Fabulous idea. As which use shall I do the ssh? The system is running as root

On Wed 21. Aug 2019 at 13:46, 
mailto:conny.mar...@t-systems.com>> wrote:
Hi,

if you're on *x, you can do something like

RUN-PROCESS ssh server1 /path/to/your/licensetracker
RUN-PROCESS ssh server2 /path/to/your/licensetracker
RUN-PROCESS ssh server3 /path/to/your/licensetracker

within an escalation. If escalations are running on server1 it will connect via 
ssh to itself, which does not really matter.

KR Conny

-Ursprüngliche Nachricht-
Von: ARSList mailto:arslist-boun...@arslist.org>> 
Im Auftrag von Thomas Miskiewicz
Gesendet: Mittwoch, 21. August 2019 13:21
An: ARSList mailto:arslist@arslist.org>>
Betreff: Re: How to run a job on individual servers?

We're collecting license information on each individual server reading the 
user.log I’m looking for a way to trigger the action on each individual server 
without having to use a cron job.

> On 21. Aug 2019, at 13:18, Tauf Chowdhury 
> mailto:taufc...@gmail.com>> wrote:
>
> Do you mean escalations? Also is this during a maintenance period or 
> scheduled outage? You could always bring up one server at a time and that way 
> you can ensure escalations are running on that server if you’re in a server 
> group with the failover configured.
>
> Sent from my iPhone
>
>> On Aug 21, 2019, at 6:50 AM, Thomas Miskiewicz 
>> mailto:tmisk...@gmail.com>> wrote:
>>
>> Hi there
>>
>> we got three servers in the group and would like to collect information on 
>> every individual server. We did that in the past using a cron job but would 
>> prefer escalation which can be controlled by workflow. The problem is 
>> explanations run only on one of the three servers. Any idea how to trigger 
>> workflow on each individual server?
>>
>>
>> Thomas
>> --
>> ARSList mailing list
>> ARSList@arslist.org
>> https://mailman.rrr.se/cgi/listinfo/arslist
>
> --
> ARSList mailing list
> ARSList@arslist.org
> https://mailman.rrr.se/cgi/listinfo/arslist


--
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist

--
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist
This communication is the property of CenturyLink and may contain confidential 
or privileged information. Unauthorized use of this communication is strictly 
prohibited and 

RE: How to run a job on individual servers?

2019-08-23 Thread Theo Fondse
Hi Thomas,

 

Conny has a very good idea. If your organization’s security policies allow for 
it, it will work just fine.

 

If you wanted / were forced to use a more old-school AR System-based approach, 
you will need to create two dummy forms populated with a record for each server 
in the group and then trigger something like the driver program or arimport 
from a run process triggered by an escalation on Dummy Form 1. 

The driver/arimport then does a login to the individual server in the group and 
modify the record for that server on Dummy Form 2. 

This can then trigger workflow to execute locally on the intended server in the 
group to do what you want on that specific server.

 

See 
https://docs.bmc.com/docs/ars91/en/enabling-the-data-import-utility-609071980.html
 for info on running arimport (much easier than doing this with the driver 
program).

 

 

Best Regards,

 

Theo Fondse

 

From: ARSList [mailto:arslist-boun...@arslist.org] On Behalf Of 
conny.mar...@t-systems.com
Sent: Wednesday, 21 August, 2019 02:11 PM
To: arslist@arslist.org
Subject: AW: How to run a job on individual servers?

 

I would not recommend to run arsystem as root (from a security point of view) 
For ssh you can use whatever user you like, which has sufficient permissions to 
run your “licensetracker”. You’ll have to make sure, that the user running 
arsystem is able to do ssh to the target servers/user without the need of any 
password. (Public-Key Authentication)

 

KR Conny

Von: ARSList mailto:arslist-boun...@arslist.org> 
> Im Auftrag von Thomas Miskiewicz
Gesendet: Mittwoch, 21. August 2019 14:03
An: ARSList mailto:arslist@arslist.org> >
Betreff: Re: How to run a job on individual servers?

 

Fabulous idea. As which use shall I do the ssh? The system is running as root

 

On Wed 21. Aug 2019 at 13:46, mailto:conny.mar...@t-systems.com> > wrote:

Hi,

if you're on *x, you can do something like 

RUN-PROCESS ssh server1 /path/to/your/licensetracker
RUN-PROCESS ssh server2 /path/to/your/licensetracker
RUN-PROCESS ssh server3 /path/to/your/licensetracker

within an escalation. If escalations are running on server1 it will connect via 
ssh to itself, which does not really matter.

KR Conny

-Ursprüngliche Nachricht-
Von: ARSList mailto:arslist-boun...@arslist.org> 
> Im Auftrag von Thomas Miskiewicz
Gesendet: Mittwoch, 21. August 2019 13:21
An: ARSList mailto:arslist@arslist.org> >
Betreff: Re: How to run a job on individual servers?

We're collecting license information on each individual server reading the 
user.log I’m looking for a way to trigger the action on each individual server 
without having to use a cron job.

> On 21. Aug 2019, at 13:18, Tauf Chowdhury   > wrote:
> 
> Do you mean escalations? Also is this during a maintenance period or 
> scheduled outage? You could always bring up one server at a time and that way 
> you can ensure escalations are running on that server if you’re in a server 
> group with the failover configured. 
> 
> Sent from my iPhone
> 
>> On Aug 21, 2019, at 6:50 AM, Thomas Miskiewicz >  > wrote:
>> 
>> Hi there
>> 
>> we got three servers in the group and would like to collect information on 
>> every individual server. We did that in the past using a cron job but would 
>> prefer escalation which can be controlled by workflow. The problem is 
>> explanations run only on one of the three servers. Any idea how to trigger 
>> workflow on each individual server?
>> 
>> 
>> Thomas
>> -- 
>> ARSList mailing list
>> ARSList@arslist.org  
>> https://mailman.rrr.se/cgi/listinfo/arslist
> 
> -- 
> ARSList mailing list
> ARSList@arslist.org  
> https://mailman.rrr.se/cgi/listinfo/arslist


-- 
ARSList mailing list
ARSList@arslist.org  
https://mailman.rrr.se/cgi/listinfo/arslist

-- 
ARSList mailing list
ARSList@arslist.org  
https://mailman.rrr.se/cgi/listinfo/arslist

-- 
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist


RE: Re: How to run a job on individual servers?

2019-08-21 Thread Mueller, Doug
Thomas,

There are a variety of techniques you could use.


1)  If what you are doing is just analyzing a user log file (I seem to 
remember that this was what you were having your program do from somewhere in 
the thread….)….What if you just specified to put the user log onto a shared 
drive so that you can access all the three log files from any of the machines, 
and then just run your escalation to process them all from the one machine?

This puts all the processing on one machine but that one machine can access all 
the data desired.This works if what you want to do is just something like 
processing a file and there is no real other need to be on each machine.


2)  You could create a little form – maybe call it InformationCollector.  
This form would be a display only form to not even have any DB footprint.   You 
put all the workflow you want to run attached to this form – including the run 
process.   Now, set your escalation to do a web services call (or write a rest 
or java program) to perform a create on this entry for each of the servers.   
Make sure you send it to the actual machine name NOT to a load balancer so you 
are forcing the call to be processed by the corresponding server.   Note you 
could make it a service call instead if you want.

If there are results that you want to record and track over time, you could 
make the form a real form and put the results of the operation back into the 
form – or you could update another form or whatever you want to do to record 
the data.

This puts the processing on each machine with full access to the stuff on that 
machine.

If there are several different operations you want to trigger, use the Short 
Description of your form as a command form.  Send which operation you want to 
perform to that and have all your workflow have a qualifier that it runs only 
for the command that it is tied to.   Then, you could have many different 
operations driven separately but from the same place.

Everything else is really a permutation of these ideas – either get the files 
to one machine to manage or have a form that does processing and trigger on 
each.

Hopefully, this provides some ideas to work with to solve this situation and 
others where you are trying to do something similar.

Doug Mueller


From: ARSList [mailto:arslist-boun...@arslist.org] On Behalf Of Thomas 
Miskiewicz
Sent: Wednesday, August 21, 2019 5:03 AM
To: ARSList 
Subject: [EXTERNAL] Re: How to run a job on individual servers?

Fabulous idea. As which use shall I do the ssh? The system is running as root

On Wed 21. Aug 2019 at 13:46, 
mailto:conny.mar...@t-systems.com>> wrote:
Hi,

if you're on *x, you can do something like

RUN-PROCESS ssh server1 /path/to/your/licensetracker
RUN-PROCESS ssh server2 /path/to/your/licensetracker
RUN-PROCESS ssh server3 /path/to/your/licensetracker

within an escalation. If escalations are running on server1 it will connect via 
ssh to itself, which does not really matter.

KR Conny

-Ursprüngliche Nachricht-
Von: ARSList mailto:arslist-boun...@arslist.org>> 
Im Auftrag von Thomas Miskiewicz
Gesendet: Mittwoch, 21. August 2019 13:21
An: ARSList mailto:arslist@arslist.org>>
Betreff: Re: How to run a job on individual servers?

We're collecting license information on each individual server reading the 
user.log I’m looking for a way to trigger the action on each individual server 
without having to use a cron job.

> On 21. Aug 2019, at 13:18, Tauf Chowdhury 
> mailto:taufc...@gmail.com>> wrote:
>
> Do you mean escalations? Also is this during a maintenance period or 
> scheduled outage? You could always bring up one server at a time and that way 
> you can ensure escalations are running on that server if you’re in a server 
> group with the failover configured.
>
> Sent from my iPhone
>
>> On Aug 21, 2019, at 6:50 AM, Thomas Miskiewicz 
>> mailto:tmisk...@gmail.com>> wrote:
>>
>> Hi there
>>
>> we got three servers in the group and would like to collect information on 
>> every individual server. We did that in the past using a cron job but would 
>> prefer escalation which can be controlled by workflow. The problem is 
>> explanations run only on one of the three servers. Any idea how to trigger 
>> workflow on each individual server?
>>
>>
>> Thomas
>> --
>> ARSList mailing list
>> ARSList@arslist.org
>> https://mailman.rrr.se/cgi/listinfo/arslist
>
> --
> ARSList mailing list
> ARSList@arslist.org
> 

AW: How to run a job on individual servers?

2019-08-21 Thread Conny.Martin
I would not recommend to run arsystem as root (from a security point of view) 
For ssh you can use whatever user you like, which has sufficient permissions to 
run your “licensetracker”. You’ll have to make sure, that the user running 
arsystem is able to do ssh to the target servers/user without the need of any 
password. (Public-Key Authentication)

KR Conny
Von: ARSList  Im Auftrag von Thomas Miskiewicz
Gesendet: Mittwoch, 21. August 2019 14:03
An: ARSList 
Betreff: Re: How to run a job on individual servers?

Fabulous idea. As which use shall I do the ssh? The system is running as root

On Wed 21. Aug 2019 at 13:46, 
mailto:conny.mar...@t-systems.com>> wrote:
Hi,

if you're on *x, you can do something like

RUN-PROCESS ssh server1 /path/to/your/licensetracker
RUN-PROCESS ssh server2 /path/to/your/licensetracker
RUN-PROCESS ssh server3 /path/to/your/licensetracker

within an escalation. If escalations are running on server1 it will connect via 
ssh to itself, which does not really matter.

KR Conny

-Ursprüngliche Nachricht-
Von: ARSList mailto:arslist-boun...@arslist.org>> 
Im Auftrag von Thomas Miskiewicz
Gesendet: Mittwoch, 21. August 2019 13:21
An: ARSList mailto:arslist@arslist.org>>
Betreff: Re: How to run a job on individual servers?

We're collecting license information on each individual server reading the 
user.log I’m looking for a way to trigger the action on each individual server 
without having to use a cron job.

> On 21. Aug 2019, at 13:18, Tauf Chowdhury 
> mailto:taufc...@gmail.com>> wrote:
>
> Do you mean escalations? Also is this during a maintenance period or 
> scheduled outage? You could always bring up one server at a time and that way 
> you can ensure escalations are running on that server if you’re in a server 
> group with the failover configured.
>
> Sent from my iPhone
>
>> On Aug 21, 2019, at 6:50 AM, Thomas Miskiewicz 
>> mailto:tmisk...@gmail.com>> wrote:
>>
>> Hi there
>>
>> we got three servers in the group and would like to collect information on 
>> every individual server. We did that in the past using a cron job but would 
>> prefer escalation which can be controlled by workflow. The problem is 
>> explanations run only on one of the three servers. Any idea how to trigger 
>> workflow on each individual server?
>>
>>
>> Thomas
>> --
>> ARSList mailing list
>> ARSList@arslist.org
>> https://mailman.rrr.se/cgi/listinfo/arslist
>
> --
> ARSList mailing list
> ARSList@arslist.org
> https://mailman.rrr.se/cgi/listinfo/arslist


--
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist

--
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist
-- 
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist


Re: How to run a job on individual servers?

2019-08-21 Thread Thomas Miskiewicz
Fabulous idea. As which use shall I do the ssh? The system is running as
root

On Wed 21. Aug 2019 at 13:46,  wrote:

> Hi,
>
> if you're on *x, you can do something like
>
> RUN-PROCESS ssh server1 /path/to/your/licensetracker
> RUN-PROCESS ssh server2 /path/to/your/licensetracker
> RUN-PROCESS ssh server3 /path/to/your/licensetracker
>
> within an escalation. If escalations are running on server1 it will
> connect via ssh to itself, which does not really matter.
>
> KR Conny
>
> -Ursprüngliche Nachricht-
> Von: ARSList  Im Auftrag von Thomas
> Miskiewicz
> Gesendet: Mittwoch, 21. August 2019 13:21
> An: ARSList 
> Betreff: Re: How to run a job on individual servers?
>
> We're collecting license information on each individual server reading the
> user.log I’m looking for a way to trigger the action on each individual
> server without having to use a cron job.
>
> > On 21. Aug 2019, at 13:18, Tauf Chowdhury  wrote:
> >
> > Do you mean escalations? Also is this during a maintenance period or
> scheduled outage? You could always bring up one server at a time and that
> way you can ensure escalations are running on that server if you’re in a
> server group with the failover configured.
> >
> > Sent from my iPhone
> >
> >> On Aug 21, 2019, at 6:50 AM, Thomas Miskiewicz 
> wrote:
> >>
> >> Hi there
> >>
> >> we got three servers in the group and would like to collect information
> on every individual server. We did that in the past using a cron job but
> would prefer escalation which can be controlled by workflow. The problem is
> explanations run only on one of the three servers. Any idea how to trigger
> workflow on each individual server?
> >>
> >>
> >> Thomas
> >> --
> >> ARSList mailing list
> >> ARSList@arslist.org
> >> https://mailman.rrr.se/cgi/listinfo/arslist
> >
> > --
> > ARSList mailing list
> > ARSList@arslist.org
> > https://mailman.rrr.se/cgi/listinfo/arslist
>
>
> --
> ARSList mailing list
> ARSList@arslist.org
> https://mailman.rrr.se/cgi/listinfo/arslist
>
> --
> ARSList mailing list
> ARSList@arslist.org
> https://mailman.rrr.se/cgi/listinfo/arslist
>
-- 
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist


AW: How to run a job on individual servers?

2019-08-21 Thread Conny.Martin
Hi,

if you're on *x, you can do something like 

RUN-PROCESS ssh server1 /path/to/your/licensetracker
RUN-PROCESS ssh server2 /path/to/your/licensetracker
RUN-PROCESS ssh server3 /path/to/your/licensetracker

within an escalation. If escalations are running on server1 it will connect via 
ssh to itself, which does not really matter.

KR Conny

-Ursprüngliche Nachricht-
Von: ARSList  Im Auftrag von Thomas Miskiewicz
Gesendet: Mittwoch, 21. August 2019 13:21
An: ARSList 
Betreff: Re: How to run a job on individual servers?

We're collecting license information on each individual server reading the 
user.log I’m looking for a way to trigger the action on each individual server 
without having to use a cron job.

> On 21. Aug 2019, at 13:18, Tauf Chowdhury  wrote:
> 
> Do you mean escalations? Also is this during a maintenance period or 
> scheduled outage? You could always bring up one server at a time and that way 
> you can ensure escalations are running on that server if you’re in a server 
> group with the failover configured. 
> 
> Sent from my iPhone
> 
>> On Aug 21, 2019, at 6:50 AM, Thomas Miskiewicz  wrote:
>> 
>> Hi there
>> 
>> we got three servers in the group and would like to collect information on 
>> every individual server. We did that in the past using a cron job but would 
>> prefer escalation which can be controlled by workflow. The problem is 
>> explanations run only on one of the three servers. Any idea how to trigger 
>> workflow on each individual server?
>> 
>> 
>> Thomas
>> -- 
>> ARSList mailing list
>> ARSList@arslist.org
>> https://mailman.rrr.se/cgi/listinfo/arslist
> 
> -- 
> ARSList mailing list
> ARSList@arslist.org
> https://mailman.rrr.se/cgi/listinfo/arslist


-- 
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist

-- 
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist


Re: How to run a job on individual servers?

2019-08-21 Thread Thomas Miskiewicz
We're collecting license information on each individual server reading the 
user.log I’m looking for a way to trigger the action on each individual server 
without having to use a cron job.

> On 21. Aug 2019, at 13:18, Tauf Chowdhury  wrote:
> 
> Do you mean escalations? Also is this during a maintenance period or 
> scheduled outage? You could always bring up one server at a time and that way 
> you can ensure escalations are running on that server if you’re in a server 
> group with the failover configured. 
> 
> Sent from my iPhone
> 
>> On Aug 21, 2019, at 6:50 AM, Thomas Miskiewicz  wrote:
>> 
>> Hi there
>> 
>> we got three servers in the group and would like to collect information on 
>> every individual server. We did that in the past using a cron job but would 
>> prefer escalation which can be controlled by workflow. The problem is 
>> explanations run only on one of the three servers. Any idea how to trigger 
>> workflow on each individual server?
>> 
>> 
>> Thomas
>> -- 
>> ARSList mailing list
>> ARSList@arslist.org
>> https://mailman.rrr.se/cgi/listinfo/arslist
> 
> -- 
> ARSList mailing list
> ARSList@arslist.org
> https://mailman.rrr.se/cgi/listinfo/arslist


-- 
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist


Re: How to run a job on individual servers?

2019-08-21 Thread Thomas Miskiewicz
Job = Escalation

We don’t have and use AI. It’s Remedy core only. We don’t want cron either...

> On 21. Aug 2019, at 13:16, Danny Kellett  
> wrote:
> 
> Escalation will only run from one AR Server at a time. So workflow on it's 
> own might not cut it.
> Not quite sure what "Job" is in the subject. But if something has to be run 
> on each server then you will need something external like a cron to trigger 
> it.
> 
> AI typically is run from one server at a time, however you can create a 
> job/trans that will query the server group ranking; ar monitor or centralised 
> config forms for the server names and connect to them directly run something
> 
> -- Original Message --
> From: "Thomas Miskiewicz" 
> To: arslist@arslist.org
> Sent: 21/08/2019 11:50:30
> Subject: How to run a job on individual servers?
> 
>> Hi there
>> 
>> we got three servers in the group and would like to collect information on 
>> every individual server. We did that in the past using a cron job but would 
>> prefer escalation which can be controlled by workflow. The problem is 
>> explanations run only on one of the three servers. Any idea how to trigger 
>> workflow on each individual server?
>> 
>> 
>> Thomas
>> --
>> ARSList mailing list
>> ARSList@arslist.org
>> https://mailman.rrr.se/cgi/listinfo/arslist
> 
> 
> -- 
> ARSList mailing list
> ARSList@arslist.org
> https://mailman.rrr.se/cgi/listinfo/arslist


-- 
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist


Re: How to run a job on individual servers?

2019-08-21 Thread Tauf Chowdhury
Do you mean escalations? Also is this during a maintenance period or scheduled 
outage? You could always bring up one server at a time and that way you can 
ensure escalations are running on that server if you’re in a server group with 
the failover configured. 

Sent from my iPhone

> On Aug 21, 2019, at 6:50 AM, Thomas Miskiewicz  wrote:
> 
> Hi there
> 
> we got three servers in the group and would like to collect information on 
> every individual server. We did that in the past using a cron job but would 
> prefer escalation which can be controlled by workflow. The problem is 
> explanations run only on one of the three servers. Any idea how to trigger 
> workflow on each individual server?
> 
> 
> Thomas
> -- 
> ARSList mailing list
> ARSList@arslist.org
> https://mailman.rrr.se/cgi/listinfo/arslist

-- 
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist


Re: How to run a job on individual servers?

2019-08-21 Thread Danny Kellett
Escalation will only run from one AR Server at a time. So workflow on 
it's own might not cut it.
Not quite sure what "Job" is in the subject. But if something has to be 
run on each server then you will need something external like a cron to 
trigger it.


AI typically is run from one server at a time, however you can create a 
job/trans that will query the server group ranking; ar monitor or 
centralised config forms for the server names and connect to them 
directly run something


-- Original Message --
From: "Thomas Miskiewicz" 
To: arslist@arslist.org
Sent: 21/08/2019 11:50:30
Subject: How to run a job on individual servers?


Hi there

we got three servers in the group and would like to collect information on 
every individual server. We did that in the past using a cron job but would 
prefer escalation which can be controlled by workflow. The problem is 
explanations run only on one of the three servers. Any idea how to trigger 
workflow on each individual server?


Thomas
--
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist



--
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist


How to run a job on individual servers?

2019-08-21 Thread Thomas Miskiewicz
Hi there

we got three servers in the group and would like to collect information on 
every individual server. We did that in the past using a cron job but would 
prefer escalation which can be controlled by workflow. The problem is 
explanations run only on one of the three servers. Any idea how to trigger 
workflow on each individual server?


Thomas
-- 
ARSList mailing list
ARSList@arslist.org
https://mailman.rrr.se/cgi/listinfo/arslist