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.
You can start a thread from the command line with:
Code:
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! 😉
Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands
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.
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.
Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands
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.
-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.
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.
Author
Replies
Viewing 5 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.