Management from command line

Start, stop, and view the uniquely occurring instances defined for the ASM in any of your domain’s BSEs.

View the multiple occurring instances defined for a host.

This table shows the commands for the command line.

Command Action Additional Mandatory Commands Additional Optional Commands
-l List all instances that are defined for the ASM  

-h host

-p port

-start Starts your selected instance.

-i instance_name

-e env.directory

-h host

-p port

-u user_name

-p pwd password

-stop Stops your selected instance

-i instance_name

-e env.directory

-h host

-p port

-u user_name

-p pwd password

-start_all Starts all the BSE’s unique instances -e env.directory

-h host

-p port

-stop_all Stops all the BSE’s unique instances  

-h host

-p port

-v | -V Displays the version information for the asm_cli binary    
-help Displays help for the asm_cli binary    

Specify the appropriate command for your platform:

  • On UNIX: asm_cli
  • On Windows: asm_cli.exe

Do not start instances of the type ‘multiple’ from the command line, which is uncommon. This type of instance expects it can talk back to another application. If this type of talk back application is unavailable, the started multiple instance does not respond. In general, external applications start multiple instances. These external applications know how to communicate with such kind of instance.

Any user with a command prompt can send commands to the command line interfaces of the Application Service Managers in their domain. For every server in your domain that has a BSE, you must restrict the access, and executable permissions in the directory ${BSE}/bin, to trusted users.