Oracle® Web Conferencing Administrator's Guide Release 2 (2.0.4) Part Number B10877-01 |
|
|
View PDF |
The imtctl utility provides a command-line interface for administering and configuring the Real-Time Collaboration system. The utility supports a variety of commands to support actions such as starting and stopping Real-Time Collaboration processes, viewing their current state, and configuring them. You can run imtctl in an interactive shell mode, or it can take a single command as a command-line argument, in which case it will execute the command and exit.
The utility is available on all platforms under <ORACLE_HOME>/imeeting/bin. It is invoked as "imtctl" on all platforms. Invoking imtctl without any arguments opens the interactive shell.
$ORACLE_HOME/imeeting/bin> imtctl
A list of supported commands can be obtained by executing the help command:
imtctl> help
You can get specific instructions for a particular command by invoking the command followed by the "-help" option:
imtctl> <COMMAND> -help
The exit command ends the shell session:
imtctl> exit
Gets the list of commands available in the shell.
List all the instances in the Real-Time Collaboration system.
Examples:
It can only be invoked in one way:
imtctl> listInstances
Instance Name | Host Name | Oracle Web Conferencing Home |
---|---|---|
instance1.oracle.com |
host1.oracle.com |
C:/core/imeeting |
instance2.oracle.com |
host2.oracle.com |
/u02/ 90200b/imeeting |
List the components in any instance. The different forms of this command are:
List all the components in the current instance. Use -i to list components in an instance with the given name.
List the component with the given ID.
List the components of the given name. If -i is used, the component with the given name in the given instance is listed.
List the components with the given type. If -i is used, the components with the given type in the given instance are listed.
To get the components in the current instance (ap079sun.us.oracle.com), invoke the following:
imtctl> listComponents
ID | Name | Type | Description | num_procs |
---|---|---|---|---|
10001 |
imt-collab |
clbsvr |
Collaboration Server |
4 |
10003 |
imt-starter |
starter |
Web Conferencing Starter |
1 |
10002 |
OC4J_imeeting |
oc4j |
OC4J |
1 |
10000 |
mx |
mxcomm |
Multiplexer |
1 |
To get the components in a different instance (instance1.company.com), invoke the following:
imtctl> listComponents -i instance1.company.com
ID | Name | Type | Description | num_procs |
---|---|---|---|---|
10006 |
imt-voice |
voiceconv |
Voice Conversion Server |
1 |
10005 |
imt-starter |
starter |
Web Conferencing Starter |
1 |
10004 |
imt-converter |
docconv |
Document Conversion Server |
1 |
To list the component with the ID 10006, invoke the following:
imtctl> listComponents -cid 10006
ID | Name | Type | Description | num_procs |
---|---|---|---|---|
10006 |
imt-voice |
voiceconv |
Voice Conversion Server |
1 |
To list the components on the current instance with the type "clbsvr", invoke the following
imtctl> listComponents -ct clbsvr
ID | Name | Type | Description | num_procs |
---|---|---|---|---|
10001 |
imt-collab |
clbsvr |
Collaboration Server |
4 |
Start the whole (current) instance, or individual components in the current instance. The different forms of this command are:
Start all the components in the current instance. This is the recommended way of starting an instance. This takes care of startup dependencies.
Start the component with the given ID.
Start the component of the given name.
Start the components with the given type.
To start a component with component ID 10001 (which needs to be on the current instance) invoke:
imtctl> start -cid 10001
To start a component with name imt-collab (which needs to be on the current instance) invoke:
imtctl> start -cname imt-collab
Stop the whole (current) instance, or individual components in the current instance. The different forms of this command are:
Stop all the components in the current instance. This is the recommended way of stopping an instance. This takes care of stopping all components in the instance in appropriate order.
Stop the component with the given ID.
Stop the component with the given type.
Stop the component with the given type.
To start a component with component ID 10001 (which needs to be on the current instance) invoke:
imtctl> stop-cid 10001
To start a component with name imt-collab (which needs to be on the current instance) invoke:
imtctl> stop -cname imt-collab
Shows the state of components in any instance. The different forms of this command are:
Show state of all the components in the current instance. Use -i to show the state of components in an instance with the given name.
Show state of the component with the given ID.
Show state of the components of the given name in the current instance. If -i is used, it shows state of the components with the given name in the given instance.
Show state of the components with the given type in the current instance. If -i is used, it shows state of the components with the given type in the given instance.
To get the state of all the components in the current instance, invoke:
imtctl> getState
ID | Name | Type | Status | num_procs |
---|---|---|---|---|
10001 |
imt-collab |
clbsvr |
UP |
4 |
10000 |
mx |
mxcomm |
UP |
1 |
Set a property at a specified scope. Oracle Real-Time Collaboration supports system, instance (default), component, site, and conference type scopes. See Chapter 5, "Configuration" for more information on these scopes.
The different forms of this command are:
Set the value for the property at instance level.
Set the value of the property for the component with the given ID.
Set the value of the property for the component of the given name in the current instance. If -i
is used, it sets the property for the component of the given name in the given instance.
Set the value of the property for the components with the given type in the current instance. If -i
is used, it sets the property for the components with the given type in the given instance.
Set the value for the property at system level.
Set the value for the property at site level.
To set the ApacheWebHost property for the current instance to imeeting4.company.com, invoke:
imtctl> setProperty -pname ApacheWebHost -pvalue "imeeting4.company.com"
To set the system-wide log-level to SEVERE, invoke:
imtctl> setProperty -system true -pname LogLevel -pvalue SEVERE
See Chapter 5, "Configuration" and Chapter 6, "Sample Deployments" for more examples.
Get a property at the a specified scope. Oracle Real-Time Collaboration supports system, instance (default), component, site, and meeting type scopes. See Chapter 5, "Configuration" for more information on these scopes.
The different forms of this command are:
Get the value for the property at instance level.
Get the value of the property for the component with the given ID.
Get the value of the property for the component of the given name in the current instance. If -i
is used, it gets the property for the component of the given name in the given instance.
Get the value of the property for the components with the given type in the current instance. If -i
is used, it gets the property for the components with the given type in the given instance.
Get the value for the property at system level.
Get the value for all the properties at site level for the specified site
Get the value for all the properties at meeting type level for the specified meeting type and the site level properties in the specified site.
To get the ApacheWebHost property for the current instance, invoke:
imtctl> getProperty -pname ApacheWebHost
The effective value for instance 90200b.ap079sun.us.oracle.com of the property "ApacheWebHost" is "imeeting4.company.com"
To get the system-wide log-level, invoke:
imtctl> getProperty -system true -pname LogLevel
Gets all properties at the a specified scope and above. Oracle Real-Time Collaboration supports system, instance (default), component, site, and meeting type scopes. See Chapter 5, "Configuration" for more information on these scopes.
The different forms of this command are:
Get the values for the properties at instance level and system.
Get the value of all the properties for the component with the given type in the current instance. If -i
is used, it gets the property for the components with the given type in the given instance. It will return properties for the component, instance and system.
Gets all system properties only
Gets the value for all the properties at site level for the specified site and the system.
Runs Real-Time Collaboration tests (all tests or a specified set of tests) on a specific instance or all instances in the system.
Run tests in the current instance. Use -i to run all the tests in an instance with the given name.
Different tests are:
Run the tests on all the instances in the system.
After doing an installation and during the post-installation steps, the following can be invoked to see if things are configured properly and working.
imtctl> runTests
To run the conference test alone, invoke the following
imtctl> runTests -testlist "mtgtest"
To run the conference test and voice conversion service test, invoke the following
imtctl> runTests -testlist "mtgtest,voiceconvtest"