Back to Articles
  1. Enter the command used to execute the application in the Command entry box.
  2. Enter any flags or arguments to be applied to the command in the Argument entry box. Use of arguments is optional.
  3. Click Apply (located at the bottom of the Administration page) to save the Command and Argument configuration to the database.
    To launch the application:
  4. Right-click on a device, and select Launch Device Application, or click Launch on the Administration page.
    Sample device application launch commands and arguments are included in the table that follows.

    Item

    Description

    Command

    In the Command entry box, specify the parameters to be used when launching a local or remote application or web page.

    Optionally, the following useful macros can be used:

    $ipAddress - to represent the currently selected device's IP address

    $userName - to represent the SDM user name

    $password - to represent the SDM password

    Environment variables defined in the client machine can also be used in specifying application launch commands and arguments, in addition to the pre-defined macros described above. (On a Windows-based system, select the sequence Start > Control Panel > System > Advanced > Environment Variables to access the window which provides tools to create environment variables.)

    Some examples of Command entries include:

    http://10.232.44.33/cp.jnlp 
    $sdmDeviceAppClientPath/apexem.jar
     [where sdmDeviceAppClientPathis an environment variable]
    c:\windows\notepad.exe
    /home/sdm/downloads/semem.jar
    Argument

    Configure optional argument(s) for launching a device application. Note that the arguments will work only if the device application supports them.

    The macro names and environment variables described above for the Command entry box can be used here as well.

    Some examples of Argument entries include:

    -user=root -pwd=password -ip=$ipAddress
    -port 2000
    Launch

    Click Launch to launch the configured device application.

    Sample device application launch commands and arguments include when the SDM Client is launched from the SDM Server (Linux) machine:

    Device Type

    CommandArgument(s)

    SEM v8

    /home/sdm/downloads/semem.jar

    -user=root -password=password

    NC 1500

    http://192.168.30.112/

    APEX 1000

    $sdmDeviceAppClientPath/apexem.jar

    OM 2000

    $sdmDeviceAppClientPath/omem.jar

    APEX3000/home/sdm/downloads/apex3000 2.8.6.jar

    -user=root -pwd=password -ip=<device ip addr> -snmp=apex3kprivate

    Note: In the above example, password and apex3kprivate are the default password and SNMP community string values for APEX3000 EM. If these values are modified at the device, then the new values must be used as the arguments.
    NOTE: The environment variable $sdmDeviceAppClientPath represents the appropriate path to the device application download.