infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
starting threads from a view
Kevin Crist
we are trying to speed up our process of coming back up after a downtime, is there a way to start threads by the view from the command line to put into a script, i know you can manually do this but cant find a command to do it.
Thanks for any help.
Find more posts tagged with
Clovertech
Comments
RobertKersemakers
Hi Kevin,
You can start a thread from the command line with:
hcicmd -p -c " pstart"
But I think you want to start a bunch of threads from command line that are in a view, right? You will need to have a look at the file dflt.mvw then: it has all the views and all the threadnames belonging to a view.
So you will need a script to process the dflt.mvw and then start all the threads of a certain view.
Hmmm: that could be fun! ;-)
Tom Rioux
Kevin,
Open up the NetMonitor and start/stop the threads in a view from the view pane. If you have "Command and Engine Output" checked, then you can see the command that is given when you attempt to start or stop via a view. You won't like what you see. Basically, it is the hcicmd command with all of the threads in the view separated by commas.
hcicmd -p -c ",, , pstart"
Tom Rioux
Kevin Crist
in the script i am playing with i currently have:
hcienginerun -p adts050 -s fr_affi_adt,fr_affi_adts
What is the difference between that and the hcicmd way?? Or is there?
Thanks.
RobertKersemakers
I never heard of the -s option with hcienginerun. Did I miss this one while upgrading to a newer version or has this always been a valid option?
With hcienginerun you can only start a process that is down, and at that time make sure certain threads are started as well, ignoring the auto-start settings of these threads.
With hcicmd you can stop/start threads at any time, as long as the process is running.
Kevin Crist
we are on 5.4.1. If we used this it would be after our monthly downtime bounce so all processes and threads would be down. We dont have anything that is set to AutoStart. And we start different ones first depending on the view we have them grouped in.
below is from our documentation:
hcienginerun
Starts engine processes.
Input: hcienginerun -p or hcienginerun -p [-h ][-s [, ...] ] --
Where:
-p starts the indicated process.
-h is the name of the remote host to run the engine on.
-s is a comma-separated list of threads to start. This flag overrides the auto-start setting for the named threads and starts them upon process startup.
System
Originally posted by Bob Richardson
Greetings,
We are an AIX 5.3 TL8 SP3 shop (soon to go to TL11) running CIS5.6R2
and our operators have a procedure to shutdown a group of threads and then start them back up after our HIS (Epic systems) downtime ends.
We have created a "NetView" in the NetMonitor gui for all of our sites that have an Epic systems' interface. By selecting the view group, they can shutdown the entire group with one click; then start it back up again.
Easy to configure and maintain.
Has worked for years.
See attachment for a sample.
You need to right click in the left pane and select "create a new view".
The rest is intuitive.
Hope this helps you.