Setting Your Global Environment

After you install Symphony DE 5.0, the global system environment is set to Symphony DE 5.0. You can use soamswitch to change the Windows global system environment settings.

Remember:

If you want to set your global environment, use soamswitch. Note that you must have local administrator privileges on the host to set the global environment.

If you want to change your environment settings for your current working command prompt, then use batch files. For more details about changing your current environment, see Change your current working environment.

  1. Set your environment to Symphony DE:

    For example, if you are using Symphony DE 5.0, open the Symphony DE 5.0 command prompt:

    Start > Programs > Platform Computing > Symphony Developer Edition 5.0 > Symphony DE 5.0 Command Prompt

  2. Reset your environment to connect from the Symphony DE environment to the:
    • DE cluster

      soamswitch symde SymphonyDE_dir

      For example, soamswitch symde C:\SymphonyDE\DE50

    • Symphony cluster

      soamswitch sym SymphonyDE_dir

      For example, soamswitch sym C:\SymphonyDE\DE50

      Ensure that ego.conf is configured properly in %EGO_CONFDIR%, which is the %SOAM_HOME%\conf directory. Specify the master candidate host list and the EGO vemkd daemon port number.

  3. Open a new Windows command prompt and check your global system environment:

    soamswitch info

    Note:

    soamswitch does NOT change the environment settings of the command prompt window from which you run soamswitch. The new environment settings will only take effect when you open a new Windows command prompt window.

    You can now run symping to ensure that your system is working properly.

Additional notes for running Java applications

You will need to change your CLASSPATH to point to the correct version of Symphony.

For example, if you have a client start shell, ensure that it points to Symphony 5.0:

java -classpath c:\symphonyDE\DE50\5.0\win32-vc7\lib\JavaSoamApi.jar:myApp

You can use environment substitution in your application for your Java service startcmd.

For example, java -classpath ${SOAM_HOME}/${VERSION_NUM}/${EGO_MACHINE_TYPE}/lib/JavaSoamApi.jar:myService