Edit Cluster Start-stop- and Monitor-Scripts via Bash?

Hi,
is there a way to edit (and sync!) the Cluster-Scripts via CLI?
Regards
Bernd

The short answer is no. The scripts are stored in eDir, and NCS keeps revisions of them internally. The best place to edit them is iManager. Alternatively, you can directly change the eDir attributes for those scripts while cluster is down.
That said, everything that iManager does comes in through a file interface. If you goal is to script resource modification, you can always access the file interface directly.
Regards,
Changju
Originally Posted by toblerone
Hi,
is there a way to edit (and sync!) the Cluster-Scripts via CLI?
Regards
Bernd

Similar Messages

  • Shell script to start, stop and restart a JAR

    Hi everyone,
    Does anyone have idea to write a shell script to start, stop and restart a JAR under linux? it can indicate a method or parameter? Thanks!
    this JAR inculdes a class with main method like this:
    public class Client(){
      public Client(String name){
      public void stopClient(){
      public static void main(String[] args){
         new Client("/tmp/text.log");
    }

    Does anyone have idea to write a shell script to
    start, stop and restart a JAR under linux? That part isn't really clear.
    Start would be java -jar myjar.jar.
    Stop could either be kill, which kills the whole process; kill -TSTP, which suspends the process, or some application-specific communication such as sending something over a port; or putting something into a file or something.
    Restart could just be the same as start (if stop is just kill); kill -CONT, if stop was kill -TSTP; or some other app-specific communication.

  • Shell script to start, stop and restart a JAR under linux

    Hi everyone,
    Does anyone have idea to write a shell script to start, stop and restart a JAR under linux? it can also indicate a method or parameter? Thanks!
    this JAR inculdes a class with main method like this:
    public class Client(){
    public Client(String name){
    public void stopClient(){
    public static void main(String[] args){
    new Client("/tmp/text.log");
    }

    Does anyone have idea to write a shell script to
    start, stop and restart a JAR under linux? That part isn't really clear.
    Start would be java -jar myjar.jar.
    Stop could either be kill, which kills the whole process; kill -TSTP, which suspends the process, or some application-specific communication such as sending something over a port; or putting something into a file or something.
    Restart could just be the same as start (if stop is just kill); kill -CONT, if stop was kill -TSTP; or some other app-specific communication.

  • Start, stop and restart while loops

    Hi, my qustion is i have 2 example a and example b. Example b lets u start counting up in seconds when u want to. as long as the toggle switchs are in correct position. it also lets u start, stop and restart if need be. i want to be able to that with example a, but for some reason the while loop always sets of running independent of what position the the toggle switch. Any help greatly appreciated.
    Thanks Stuart
    Attachments:
    examplealib.llb ‏202 KB
    exampleb.vi ‏25 KB

    An example as the attachment.
    Attachments:
    switch.vi ‏23 KB

  • How to start, stop and restart task

    Hello Everyone,
    Need advice on what is the correct way to start, stop and restart a Java task?
    I have tried with Executors.newCachedThreadPool() or fixedThreadPool() however I was only able to submit the task once. My program crashed when i tried to resubmit the task again after a shutdownnow command()

    Tasks are designed to be run once. If you want restart functionality, use a service:
    http://docs.oracle.com/javafx/2/api/javafx/concurrent/Service.html
    The sample service I posted in the following thread demonstrates how to do this:
    Multithreading
    Use of Executors is not necessary as a Service encapsulates the execution thread management (though you can set your own executor on the service if you really needed it). All you need to do is make use of the service start, cancel, restart and reset methods as required. If you do use the cancel method, then you need to make sure that your service is properly interrupt aware for the cancel to function as you expect.

  • DVD Start/Stop and Subclips

    Question: In my browser I have double clicked a clip, it opens in the viewer, I then go to >View>DVD start/stop and the markers are inserted. Once I go back to the browser and highlight the markers and go to Modify>make subclips, FCP will only convert about 27 or 28 of the markers to subclips, when there is actually over 100 markers. Is there a maxium limit on the number of markers that can be converted or that will appear in the browser list? Hope I am clear.
    G5-1.8GHz-2GB DDR SDRAM- 250 ATA HD just upgraded to FCP 5.1
    Thanks,
    Mary
    Power Mac G5   Mac OS X (10.4.8)  

    I've done it both ways, not sure which is easier.
    HDV capture creates individual clips (individual media files) based on the detected start/stop and uses a name you specify at the initiation of the capture appending a sequence number to the end of the name for each new clip. S/S detect always uses the name "Segment". Like the Segment clips, HDV clips are in natural order, as you say. I'm guessing that the file system is smart enough to consider the entire number at the end of a name, but sorts character by charcter if the number is in the middle of the name.
    Just seems a little short sighted to use different naming conventions for essentially the same function, especially when it causes the files to be out of order.

  • Lync Standard Edition Server pairing -- Archiving and monitoring collocated but Single SQL backend

    Hi,
    I have a scenario where in ---we have Two Standard Edition Servers ( SE1 and SE2) with 1K users each ( Total 2K in one Site) paired to enable High Availability. The Standard Edition Server has archiving and monitoring and mediation server collocated.
    For archiving + monitoring database we have a Seperate SQL enterprise edition server.
    Quetions:
    1. Can we use single SQL Enterprise Edition as backend for (archiving and monitoring ) for both SE1 and SE2 ?
    2. If yes, do we need two seperate instances?
    3. If not, could you please suggest the best possible solution in such an environment ?
    Regards,
    Archana Rao

    Hi ArchanaVR,
    Agree with Michael, and add some more details.
    By default, the SQL Server Express back-end database is collocated on the Standard Edition server. You cannot move it to a separate computer. With one exception, you cannot collocate other databases on the Standard Edition server. If you choose to deploy
    Persistent Chat Server on a Standard Edition server, you can collocate the Persistent chat database and the Persistent Chat Compliance database on the same Standard Edition server.
    You can collocate each of the following databases on a single database server:
    Monitoring database
    Archiving database
    A back-end database for an Enterprise Edition Front End pool
    You can collocate any or any or all of these databases in a single SQL instance or use a separate SQL instances for each, with the following limitations:
    Each SQL instance can contain only a single back-end database (for an Enterprise Edition Front End pool), single Monitoring database, single Archiving database, single persistent chat database, and single persistent chat compliance database.
    The database server cannot support more than one Enterprise Edition Front End pool, one server running Archiving, one server running Monitoring, single Persistent Chat database, and single Persistent Chat compliance database, but it can support one of each,
    regardless of whether the databases use the same instance of SQL Server or separate instances of SQL Server.
    http://technet.microsoft.com/en-us/library/gg398131.aspx
    Best regards,
    Eric

  • To View Calc Scripts and Report scripts via MaxL or Esscmd

    Hi all,
    Can somebody tell how to read any calc script or report script in any database with the help of MaxL or Esscmd?
    For example if there is any .csc or .rep file, I want to read the context of the file i.e. the script that is written in the file. Is it possible via MaxL or Esscmd?
    Does Hyperion supports this functionality?
    Regards,
    James

    You know that calc and report scripts are text files, right?
    They are typically stored in the database directory, although that is not a requirement; they can be stored in other client-accessible directories and run from there.
    I haven't done it in ages, but is also possible to pass calc and report scripts to Essbase via the API. I can't remember if the API will let you enumerate calc scripts from the database directory. I sort of strongly think yes. Someone who is more knowledgeable will either correct or refute that statement pretty soon. :)
    If you want to list the objects (calcs or reports): http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/techref.htm
    A few things that you can do with MaxL re calc scripts:
    1) execute calculations, including a string that you pass through MaxL: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/excalc.htm
    2) delete calculations: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/drpcalc.htm
    3) list the calcs: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/dispclc.htm
    4) create the calc: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/crecalc.htm
    Report scripts are sort of a poor relation in MaxL (and were in Esscmd as well). You can basically only run a report as kind of export: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/exprt.htm
    So, I think it's mostly there, especially the display object command. BTW, if MaxL can list it, the API can too -- how else does MaxL work?
    Regards,
    Cameron Lackpour
    Edited by: CL on Dec 1, 2008 11:53 PM
    Didn't post the right URLs. Now fixed. CL

  • How start, stop and access BAM?

    Hi,
    I have installed BAM and now I do not know how to start and stop the application. Also I am not able to access to the home page.
    I installed BAM by double clicking the setup.exe file. After following all the installation steps, a new folder has been created in my C drive (C:\OracleBAM). Inside that folder, there is another one called ClientForBAM. Should I have other folder besides the client? Inside the ClientForBAM there are lots of folders.
    In the Windows Start menu I have a new group called Oracle_ClientForBAM32100. From there, I can access to:
    - Configuration and Migration Tools
    - Desarrollo de Aplicaciones (sql plus)
    - Herramientas de Configuracion y de Migracion (Net manager)
    - Herramientas de Gestion Integradas (Wallet Manager)
    - Oracle Instalation Products
    So, there is no menu option to start, stop or access to BAM. I've read documentation about this and saw that the home url was: http://simge-eai-dev:8081/oraclebam (my host is simge-eai-dev, and my port 8081) But when I type that url in my browser I get the following error:
    Error HTTP 404 - No se encontró el archivo o directorio. (file or directory not found)
    Servicios de Internet Information Server (IIS)
    I looked at the logs and I found this in the sqlnet.log
    Fatal NI connect error 12514, connecting to:
    DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=simge-eai-dev)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=SIMGE)(CID=(PROGRAM=C:\oracle\product\10.2.0\db_1\bin\nmupm.exe)(HOST=SIMGE-EAI-DEV)(USER=SYSTEM))))
    This in the operf10.log
    2/18/2008 15:2:27 UPI_CONNECT failure: error 28000 Hostname SOASUITE Username SYSTEM =(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle10)(ARGV0=oracle10orcl)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=ORCL)))
    Can anybody help me with this? How can I know if the BAM is running or not?
    Thanks in advance,
    Zaloa

    Finally I found out what was happening.
    Only the client was installed because in order to install the whole thing, it is necessary to execute the setup file twice.
    The first time, the client is installed and the second time, the server.
    Regards,
    Zaloa

  • Start Stop and Run button.

    hello,
    I have one question, I want one button which can be run/start/stop button. I can't compile the program with "Run when open", because I need the user enter a string and a configuration, however after the user enter a configuration, I want that a START button, and when the user want press the same button to STOP all the program. All without pressing the "Run button (white arrow)". So the sequence it will be:
    1- open the ".exe"
    2- configure the variables such as: file name, file path, comments.....
    3- press START button, and the system will start acquisition.
    4- press STOP button and the program stopped and save all the data in a file.
    It is that possible? Could anyone help me with it? Or send me and example?
    Best regards,
    Anna.  

    Hi,
    You can do something like this.
    Compile it with "Run when open".
    Best regards
    Matej
    CLAD using LV 8.2, 2010 and 2012
    R&D Laboratories
    Domel d.o.o.
    www.domel.com
    Attachments:
    StartStopAndRun.vi ‏13 KB

  • Alert and Monitoring Scripts for Hyperion Applications

    Hi Gurus,
    Can you please provide me with any customized scripts for automating alert mails and monitoring activities pertaining to Hyperion Applications.
    If not, can you please suggest some alternatives where i can get hold of some scripts. Any kind of help is greatly appreciated.
    Also can someone please throw some light about the APPMULE and how to procure their services or we can get it for free trial.
    Regards,
    Uday

    Any kind of leads on this is really appreciated.
    Regards,
    Uday

  • Who start/stop Performance Monitor

    Hi all,
    Is there's any audit trace I can check on who did the start/stop on Performance Monitor tool?
    Because I've created the Performance Monitor tool to run for a week, then on day 3 I found it was stopped.
    I ran it again & it's now completed.
    So, how can I tell who did the job to stop the tool on day 3 that day? I just can't seem to find on on Event Viewer.
    Thank you in advanced!
    ---Pat

    Hi Patrick M,
    Based on your description, I want to confirm whether this
    Performance Monitor was stopped automatically. Please check if it occurred (stop working) with a cycle. In other words, please check if Performance Monitor stops automatically every 3 days. Just guess.
    There is a similar question, it may provide some thoughts.
    http://social.technet.microsoft.com/Forums/en-US/69d209eb-6717-499f-9b8e-0de09eb11695/performance-monitor-every-weekend-is-stopped-automatically?forum=winservergen
    Hope this helps.
    Best regards,
    Justin Gu

  • Shell script for start stop and restart standard

    Hi,
    I'd like to know if there's a standard template for shellscript for a kind of stop|start|restart execution of a server or stub.
    If you have any link or some info that explain how to do that nicely it would be nice!
    Thank you

    There's plenty of live examples in /etc/rc.d

  • Order of start infrastructure and Portal - SCRIPT

    I replied to someone's query on this topic, so I thought it might be useful for others as well. The script that I wrote in June 2002 for an article in oracle magazine.
    It is simple & it works, in a way tells you status of the
    components as well.
    Put it an a file chmod to allow execute ...
    I have included the debug in the script as well.
    Hope this helps.
    Sunder Aswani (an Oracle & Portal DBA consultant in London)
    # Enter the shell type here. Trnsf. /opt/oracle to mid tier.
    # Script to start infra/portal on a single or with mid tier system
    # By Sunder Aswani (An oracle & Portal DBA consultant in London)
    # Version 1.0 dated 20th June 2002.
    $ORACLE_HOME/bin/oidctl connect=iasdb server=oidldapd instance=1 start
    $ORACLE_HOME/bin/oidctl connect=iasdb server=oidldapd instance=2 start
    $ORACLE_HOME/dcm/bin/dcmctl start -ct ohs
    $ORACLE_HOME/bin/oidmon start
    $ORACLE_HOME/dcm/bin/dcmctl start oc4j
    $ORACLE_HOME/opmn/bin/opmnctl startall
    $ORACLE_HOME/bin/emctl start
    /opt/oracle/portal/dcm/bin/dcmctl start -ct ohs
    /opt/oracle/portal/opmn/bin/opmnctl startall
    ps -ef|grep http
    $ORACLE_HOME/dcm/bin/dcmctl getstate -v
    $ORACLE_HOME/ldap/bin/ldapcheck
    ## Each of these processes will have an associated log. /Given the UNIX example:
    ## Process oidmon is Alive as PID 1035 -->oidmon.log (guardian process)
    ## Process oidldapd is Alive as PID 1051 -->oidldapd01.log (ldap dispatcher)
    ## Process oidldapd is Alive as PID 1043 -->oidldapd01s1043.log (ldap server)
    ## Not Running ---- Process oidrepld -->oidrepld01xxxx.log (if replication)
    ## $ORACLE_HOME/bin/odisrvreg -h sun.portal.com -p 4032 -D "cn=orcladmin" -w ias_admin1
    ## It is best to clean out the existing log files so we can view the results of your test. Please do
    the following:
    ## a. stop all oid processes
    ## b. repeat Step 1 until you no longer see the OID processes
    ## c. clean out all existing logfiles in the $ORACLE_HOME/ldap/log
    ## d. restart the oid processes with extended tracing...
    ## oidmon connect=<SID> start
    ## $ORACLE_HOME/bin/oidctl connect=<SID> server=oidldapd instance=1 flags=" -port <PORT> -host <HOST>
    -debug <DEBUG-LEVEL>" start
    ## $ORACLE_HOME/bin/oidctl connect=iasdb server=oidldapd instance=1 flags=" -port 4032 -h sun.portal.c
    om -debug 65535" start
    ##DEBUG-LEVELS for the oidctl command:
    ### 1 = Trace function calls
    ## 2 = Debug packet handling
    ### 4 = Heavy trace debugging
    ## 8 = Connection Management
    ## 16 = Print out packets sent and received
    ## 32 = Search filter processing
    ## 64 = Configuration file processsing
    ## 128 = Access control list processing
    ## 256 = Stats log connections/operations/results
    ## 512 = Stats log entries sent
    ## 1024 = Print communication with the back-end
    ## 2048 = Print entry parsing debugging
    ## 4096 = Schema-related debugging
    ##32768 = Replication Specific debugging
    ## Bind the ports as follows:
    $ORACLE_HOME/bin/ldapbind -h sun.portal.com -p 4032 -D cn=orcladmin -w ias_admin1
    webcachectl start
    ## /opt/oracle/portal/webcache/bin/webcachectl start (SHOULD say already running IF NO MID TIER)

    Have been trying a bit more and found out how to access the chart to a certain extent. It seems to be possible the change the X-Axis Values via:
    chart.axes(xlcategory).minimumscale
    chart.axes(xlcategory).maximummscale
    Are however not able to find values that really will show up, have tried numerous formats, and by using just simple numbers like for example 100 the code runs, but the X-axis values dissapears instead of changing.
    The question is if it is at all possible to then also change the actual data in the chart to show the weeks that are entered. No use of changing the axis values without changing the data for the weeks as well. Have not been able to find anything about accessing
    the data values, perhaps they are not accessible? From within MS Project it is not possible to Clock on the "edit source data" in the menu which appears when right clicking on the chart.
    Any ideas are welcome.
    Kind regards //Anders

  • How do I start, stop and restart a sequence with a periodic input?

    Hi,
    I have written some code that will monitor my com port (rs-232) continuously for an ASCII character (in this case a 'P'). When the P is received, I want a sequence structure to start working. The P will only appear once for a short while, but the sequence should carry on running until it finishes all the frames. On the next time a P appears on my monitor, I want to either stop the sequence structure regardless of which frame its in and restart the sequence from the beginning again or to run the sequence from the start again if it has already completed all the frames.
    What sort of structure do I need to do this, are there any examples?
    James

    James,
    Indiana is correct, my take on this is similiar.
    If you have a 3 element sequence structure for example which runs if 'P' is returned from your COMs thread, you will need to query a variable in each element of the sequence in order to suspend execution of the next/remaining elements in the sequence if this event occurs. You can do this by reading the variable that your COMs thread sets using a case structure in each element of your sequence. In order to re-run your sequence if 'P' is returned during the execution you can simply set the suspend variable and ensure the code is in a while loop to recall the code.
    See the attached example code/screen shot:
    This is however not an elegant solution and the best way would probably be using the events structure and a user event to queue the P events. This is available in 6.1 but I believe its the professional package. See also my implementation using this method, again attached below:
    Hope this helps,
    Kind Regards
    Steven Bird
    Applications Engineer
    National Instruments
    Attachments:
    Example.JPG ‏194 KB

Maybe you are looking for

  • Share site email invitation not getting sent

    I have the issue where if anyone goes to share a site the invitation email is not making it to the user its being shared with.  If you share a document or anything else it works fine.  This is just happening for if you share a site.  Any ideas of wha

  • Xfi decode tab missing - spdif soun

    ok, i've spent about 5 hours going through these forums. I have the retail version of the Xfi Xtremegamer that states I can have dolby/dts sound through powerdvd download. I have this connected to a p7800 inspire 7. speaker set. How do I get dolby /

  • Poor sound quality in IPhone 5 using a LifeProof waterproof case.

    I have an IPhone 5, using a LifeProof waterproof case.  Sound quality is very poor when in case, Lifeproof says to have Apple adjust the Foreground/Background settings - how can I do this?

  • Adding nested table to object table

    if I alter an object type and add a nested table to it, there seem to be no syntax to add "STORE AS" clause for that nested table in the object table containing the altered object type. E.G.: ALTER TYPE fd_dao ADD ATTRIBUTE Own_Name Own_Name_ntt; whe

  • Cannot print from E65 to bluetooth Epson RX620

    Hi, I have paired my printer and authorised it with my E65. When I attempt to print a gallery image, first it asks me for the passkey (remember its authorised), then it says unable to print. Please advise on how to get the two talking via bluetooth.