UCCE - How to manage Agent & skillgroup in command line
Hi,
First thanks for your time to read this.
I'm looking for a way to manage in custom application the associations between agents and skillgroups. From what I've looked there isn't any API.
I was wondering if there is a command line bulk tool for this purpose.
Could anybody give me some lights up on this?
Thanks in advance.
RB
There used to be bulk load config tools, but they didn't do proper error checking as the GUI tools do.
I don't think there were ever bulk "change" (i.e. skill group member), or delete command-line tools.
Similar Messages
-
How are Windows Server Backup and Command Line Tools used in vCSHB installation?
How are Windows Server Backup and Command Line Tools used during the installation of vCSHB? Is it required in all types of deployments (PtoV, VtoV, PtoP)? Is it used to create the files that are put in the file share for the second node to use during vCSHB installation or is it only used during a vCSHB clone operation of a Physical to Physical deployment? Are these tools not used in some deployments?
You need Windows Server Backup installed on source and destination, and during the installation of vCSHB the installer will invoke the wbadmin (Windows Server Backup Utility) and will backup configuration and application data (application data is optimal but can decrease the sync time after installation of secondary node). On the secondary node you will need only run the vCSHB installer and everything will be restored.
Check this blog entry for some more info about some problems in P2P deployment: http://www.vcoportal.de/2013/12/vmware-vcenter-server-heartbeat-restore-on-a-second-node-a-journey/ -
How to change fcalias www via command line & particular port performance status
how to change fcalias www via command line & particular port performance status
how to change fcalias www via command line & particular port performance status
-
How to configure Team explorer 2010 command-line tool in Mac x os.
Hot to configure shell or system path to include the folder to which (TF client) unzipped archive available. I am new to Mac X OS. Please help.Dmitry,
Thanks for the great writeup!
I think I've got my universal instant client libraries built correctly.
I too am using MacBook Pro but I'm getting stuck at building the 32 bit oci8.so
First problem is my pecl download (ver 1.4.1) did not contain a "configure" file so ./configure failed.
I used configure from /sw/....... to try to continue.
Second problem. Using existing configure from /sw/.... I used an appropriate variation of your example command
(./configure --with-oci8=instantclient,/usr/local/oracle/instantclient_10_2 && make).
Things look like everything ran OK but The output does NOT include an oci8.so file
So I guess my question is: Which "configure" should I be using? And if it is not the one on the system under /sw/...
where would I get it since it doesn't come in the pecl download? -
How many Management agents can you have running simultaneously on a host?
Hi all,
I've scoured the Oracle documentation and not been able to find a definitive answer to this question, how many Oracle management agents can you have on a single managed host target? Can you for example run an 11g agent and a 12c agent simultaneously (whilst migrating to 12c without upgrading the present OEM instance) If so can you run two 12c agents, each pointing to a different OMS? I’ve seen examples of an agent for each database instance on a host managed target, so a host with three Oracle database instances has three Oracle Management agents all pointing to the same OMS with each agent is monitoring just one of the database instances. There must be resource considerations here for memory, cpu and network traffic etc? I’ve always understood it to be one Oracle Management Agent per managed host
ThanksI don't think there's any data on impact or performance since it's not a recommended configuration. If you have host/configuration monitoring enabled on both agents, they will be running the same queries/scripts against the host/inventory, etc. so they will likely have contention at some point. If you monitor the same databases, you will definitely see contention and increased overhead as there will be multiple agents running the same queries. You might also see problems w/ any of the server generated alerts (tablespace, etc) if you change thresholds as the agents send that to the database, and then the database will be out of sync with the other agents.
What exactly is the goal for having multiple agents? Is it short term or long term? -
How to execute ODI scenarios from command line in Unix
Hi Friends,
I am using ODI 11g.
I want to execute ODI senarios using the command line argument in Unix.
Please let me know how to proceed with this.
Thanks,
LonyHi,
unser the /your_ODI_HOME/agent/bin folder.
Excute this
sh startscen.sh REFRESH_ID 001 GLOBAL 5 -NAME=agent_ODI
REFRESH_ID=Your Scenario name
001:Version
GLOBAL:Context name
5=Log Level
agent_ODI=Your agent name
Regards -
Dumb question- how do I get to the command line without X running?
Hi,
As per the title please... I need to rerun Xorg -configure, but cannot for the life of me figure out how to shut down X and get to a command line
ThanksBes wrote:
Ctl alt and backspace just takes me out to the login screen.. from there I can't get to the terminal without X running.
Ctrl Alt F5 gets me to the command line, but I can't kill the X server
Thanks though
so with ctrl+alt+f5 you're at the console
log in if you need to, then
ps ax | grep gdm
4441 ? Ss 0:00 /usr/sbin/gdm-binary
4442 ? S 0:00 /usr/sbin/gdm-binary
4444 tty7 SLs+ 3:38 /usr/bin/Xorg :0 -audit 0 -auth /var/lib/gdm/:0.Xauth
6633 pts/0 S+ 0:00 grep gdm
kill 4444
the above example assumes gdm is your login manager so substitute whatever you're using, and you can kill the other instances of gdm (in my example processes 4441 and 4442 but don't waste your time on the grep process 6633
now redo your X config
(actually you could run this from a terminal from within X and it should have the same effect of dropping you back to console
Last edited by tj (2008-04-20 09:36:15) -
How restart a siebel component by command line?
Hi, i want to know how restart a Siebel Object Manager (Fins) by command line in RedHat.
thanks!
Greetings!in srvrmgr console, type:
shutdown comp sseobjmgr_enu
startup comp sseobjmgr_enu
(or any other OM you want to restart)
Edited by: Penky on Mar 19, 2012 10:30 AM -
Hi, does anyone know how to invoke the JDev 10.1.3 oc4j_remote_deploy.jar from the command line? We have it working for 10.1.2, for automated deployment scripts.
If I try the same thing for 10.1.3, I get an error.
See below my command line and the output.
I think the error is in the Oc4jDcmServlet URL, the format seems to have changed from 10.1.2 to 10.1.3.
I tried to reverse-engineer by using an HTTP tracer, but that did not help.
Any help would be much appreciated.
Regards, Maarten Brugman
======================== command line: ==================
"C:\j2sdk1.4.2_09\bin\java.exe" -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdev-work\ebrp-new\ear\target\installer\oc4j_remote_deploy.jar http://lnvx0027:29805/Oc4jDcmServletAPI/ oc4jadmin ***** listApplications /oracle/oaedv03/oracle/oas/10.1.3/ontwj2e1013 UNDEFINED UNDEFINED OC4J_OEBRP
============ output: ====================================
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command listApplications /oracle/oaedv03/oracle/oas/10.1.3/ontwj2e1013
UNDEFINED UNDEFINED OC4J_OEBRP
Command = LISTAPPLICATIONS
Opening connection to Oc4jDcmServlet
Setting userName to oc4jadmin
Sending command to DCM servlet
**** Could not check HTTP response code
** Thread[main,5,main] ** Fri May 11 17:18:13 CEST 2007 ** ** EXCEPTION: java.
net.SocketException: Unexpected end of file from server
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:822)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:820)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:635)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272
at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.isHttpResponseOk(Unknow
n Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.sendCommand(Unknown Sou
rce)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.execute(Unknown Source
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.listApplications(Unkno
wn Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(Oc4jDcmMain.java:71)
#### HTTP response is NOT ok
Closing connection to Oc4jDcmServlet
#### DCM command did not complete successfully (-1)
#### HTTP return code was -1
============ end output =================================In my opinion, you will succeed in handling linefeeds in output texts by using an <tt><af:outputFormatted></tt> tag in conjuction with a JSF converter that replaces the linefeeds with a <tt><br></tt> tag in the text. You will have to implement a custom converter class (this is quite simple, see below) and to set it to the <tt>converter</tt> attribute of the <tt><af:outputFormatted></tt>. The converter class should look like:
public class MyLinefeedConverter implements javax.faces.convert.Converter
public MyLinefeedConverter() {
public Object getAsObject(FacesContext context, UIComponent component, String value) {
return value;
public String getAsString(FacesContext context, UIComponent component, Object value) {
if (value==null) return "";
if (value instanceof String) return ((String)value).replace("\n", "<br>");
return value.toString();
}In this way the linefeeds in your text values will be replaced by <tt><br></tt>, which will be rendered by the corresponding <af:outputFormatted> tag as line breaks. -
Hi All
We have 11.1.1.7 ojdeploy to compile our app.
We notice in the log that not all jars are used in classpath arguments when we explicitly set them up for compilation.
eg:
<path id="classpath">
<pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
<pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
<pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
<pathelement location="interface/public_html/WEB-INF/lib/a.jar"/>
<pathelement location="interface/public_html/WEB-INF/lib/b.jar"/>
<pathelement location="interface/public_html/WEB-INF/lib/c.jar"/>
<pathelement location="interface/public_html/WEB-INF/lib/d.jar"/>
</path>
Log Output -
[ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/bin/javac
[ora:ojdeploy] -g
[ora:ojdeploy] -Xlint:all
[ora:ojdeploy] -Xlint:-cast
[ora:ojdeploy] -Xlint:-empty
[ora:ojdeploy] -Xlint:-fallthrough
[ora:ojdeploy] -Xlint:-path
[ora:ojdeploy] -Xlint:-serial
[ora:ojdeploy] -Xlint:-unchecked
[ora:ojdeploy] -source 1.6
[ora:ojdeploy] -target 1.6
[ora:ojdeploy] -verbose
[ora:ojdeploy] -encoding Cp1252
[ora:ojdeploy] -classpath
[ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/resources.jar:
[ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/rt.jar:
[ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/jsse.jar:
[ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/a.jar"/>
[ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/c.jar"/>
1- Is it because it depends on how jpr or jws are configured ?
2- How can we automatically generate a build file of the application from command-line (as opposed to using Jdev IDE to click to generate a build.xml) ?The first warning is happening because you're stating drivers for input devices without need. You haven't disabled hotplug so evdev gets used instead of kbd. This is normal, and you should change the driver line from kbd to evdev so that whatever options (if any) you've specified for the keyboard get parsed.
The second warning is about you not installing acpid.
The third I have no idea about, but look at the synaptics wiki. None of the (WW) are related to your video card.
And every card that has 2 or more output ports show up as "two cards". You also don't need to specify the pci port in xorg.conf. edit: this is the general case with laptops, might be different for desktops.
When I do lspci -v I get:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. Device 0110
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at dfe80000 (32-bit, non-prefetchable) [size=512K]
I/O ports at d0f0 [size=8]
Memory at c0000000 (32-bit, prefetchable) [size=256M]
Memory at dff00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: Micro-Star International Co., Ltd. Device 0110
Flags: bus master, fast devsel, latency 0
Memory at dfe00000 (32-bit, non-prefetchable) [size=512K]
Capabilities: <access denied>
And it doesn't matter if it errs in trying to sli up with it self. That's just not a possibility.
Last edited by gog (2009-10-15 23:59:49) -
How do I get to a command line before X starts? I screwed up.
I installed some drivers improperly, and now as I start up my system, it goes to X, which dies. How do I get to an Ubuntu like "recovery mode"? Where I can use a terminal to uninstall the package?
You can try booting into single user mode and taking it from there. Also, if you're using the /etc/inittab method for starting X, you can try appending "3" to the kernel line (instead of "S", "Single" or "1"), and booting into runlevel 3 instead, which should leave you with a command line login prompt.
-
[Forum FAQ]How to use Azure Cross-Platform Command-Line interface in Mac OS
1. Download the installer on Microsoft Azure website.
Figure 1.
2. Open the DMG file and install the following package.
Figure 2.
3. Open Terminal (Mac OS build-in), type “azure login” and enter your azure account to login.
(Note: you can login only via a Microsoft organizational account or service principal.) We used a Microsoft account to connect. (Figure 3)
Figure 3.
After that, we can use the commands to manager Azure instances and services. You can type “azure help” to list all the available commands.
Figure 4.
If you want to view the detailed information for a specific command, you can type “azure help xxx”. For example, we can run “azure
help vm” to list all the commands for managing Azure Virtual Machines.
Figure 5.
In the figure below, we used the “vm create” command to create a new virtual Machine (testmachine002) in a new cloud service (testmachine003)
and virtual network (vnet1).
Figure 6.
To obtain the image name, you can type “azure vm image list”:
Figure 7.
After the “vm create” command executed, we can find that the Virtual Machine(testmachine002) is created in Azure management portal.
Figure 8.
More information:
http://azure.microsoft.com/en-us/documentation/articles/xplat-cli/
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Here on Apple Discussions, you will find many command line enthusiasts hanging out in the UNIX forum. Good luck.
-
How to "Reload Domain" via Java / Command line
Hi,
I am looking for a way to do the same as the button "Reload Domain" in enterprise manager does, but I need to do it from command line or from java.
We have multiple CMSDK nodes running on different servers. As the ifsctl command runs into very long timeouts if any of the servers is unavailable, we implemented a small java service that's deactivating all nodes in the node configuration table if the servers becomes unavailable. We need this as we have only a very tight timeframe for failover scenarios, so we cannot accept that the ifsctl takes a long time during startup.
The problem we now have is that the Domain Controller remembers the configuration as it was during startup. So if any Node was disabled and is started later, the node guardian is not contacted by the domain controller. If the "Reload Domain" button is pressed, the domain controller refreshes it configuration and the additional nodes start their services.
The whole stuff runs within Veritas Cluster, so we need to find a way to get everything up without manual intervention (pressing the button in enterprise manager).
Thanks for any advice / help
AlexAssuming your are using Ant underneath the covers to build inside of NetBeans (often the case), you can go to the directory where your NetBeans project resides and run "ant" from the command-line for the project's root directory (there should be a build.xml file in that directory). To do this, you'll need to have Ant installed (including having ANT_HOME defined in your environment) and you'll need to have JAVA_HOME defined in your environment and pointing to your Java SDK directory. This may sound like a lot of work (downloading and installing Ant and setting the environment variables), but it is probably the easiest way to build your NetBeans project from the command-line because it is likely that your particular NetBeans project is already using Ant to build. In fact, instead of downloading Ant, you could use the NetBeans installation of Ant as long as your ANT_HOME points to the NetBeans-provided Ant directory. You'll probably want to add $ANT_HOME/bin or %ANT_HOME%\bin to your PATH as well so that that can run "ant" from any directory.
-
How to run an executable from command-line
I'm learning how to use the Terminal and I got stuck in a silly thing (I suppose it is). How can I run an executable file from command-line in Terminal?
For example: I have a file named "Hello" in the folder /sample. If I use the ls command (ls sample), I can see the file Hello. Then I move to the directory (cd /sample) and try to run the file Hello (typing "Hello") but I got "command not found" message.
If I drag the Hello file from Finder to Terminal and hit Return, it runs perfectly. And if I type the full path to the file (even if I'm already inside its directory), it also runs.
So, my doubt is if there is any command to run an executable from command-line.
ThanksKJK555 wrote:
Hi VK:
Can you enlighten me on why it's neccessary to do the "./" thingy in OS X when in unix/linux
I never had to resort to doing that?
Kj
I took the trouble of reading *man bash* and it explains the issue. to add the current directory to PATH you need to add an empty path to PATH like this
PATH=$PATH::
you can add it to ~/.bash_profile so that it's executed automatically when you start bash. I suspect the linux system you are talking about had this set up by default or had it added to PATH in /etc/profile which defines PATH globally. -
How to read -Dname=value pair command line arguments
Hi
iam running one program called report.java as given below
compile:
javac report.java
run:
java report -Djava.path=home/arao/jaava1.5/bin
my problem is how to read name and value pair given in command line argument.
System.getProperty("java.path");//not working can anybody help how to read name and value
pair of -D optionIf you put that string after the name of the class you are running, then it's a command line parameter. Your main() method can look at args[0] to see it. However it would be better if you just put it before the name of the class, where it's supposed to go if you want it to be treated as a system property.
Maybe you are looking for
-
I just started using a new version of Illustrator and the text I am creating has a pink box behind, looks to be about the depth of the normal linespace, it is not visible in outline view, only in preview. What is it and how do I get rid of it?
-
Templates saved as docs freezing Word
Hi, I hope someone can help. I have some word templates, that I open and then save as docs. I do this dozens of times every week but some of them (not all) cause a problem. I can see the file is saved as a doc, but when I try to open it, it says it i
-
Since Adobe insist on monthly payments, why make it difficult by not allowing modern payment methods such as Paypal? I have a Paypal UK account but this option is not displayed when I attempt to alter payment methods.
-
AT selection-screen on ON HELP-REQUEST
Hi What is normally done in the Selection Screen event : AT selection-screen on ON HELP-REQUEST. Normally pressing F1 helps gives Documentation present in Data Element assoicated with the field. Exactly in what cases would we be needing to use this e
-
Order related Intercompany billing _ Departure country
We have two company codes one in Netherlands (NL) and second in Germany (Comp 2) who provides the service to their customers. Scenario:- The German Company sells the Products to customers in Germany, however the service is done from Netherlands (P.O)