Starting an instance with the ma utility

When you start the Mirror Replication Agent using the ma utility, you can specify the instance start-up state. If you do not specify a start-up state when you invoke the ma utility, the Mirror Replication Agent instance starts in its default Admin state.

NoteYou must set the SYBASE environment before you invoke the Mirror Replication Agent ma utility. See “Preparing to use the utilities” for more information.

StepsStarting Mirror Replication Agent with the ma utility

  1. Open an operating system command window on the Mirror Replication Agent host machine.

  2. At the operating system prompt, navigate to the Mirror Replication Agent bin directory:

    • On Microsoft Windows platforms:

      cd %SYBASE%\MA-15_2\bin
      

      where %SYBASE% is the path to the Mirror Replication Agent installation directory.

    • On UNIX platforms:

      cd $SYBASE/MA-15_2/bin
      

      where $SYBASE is the path to the Mirror Replication Agent installation directory.

  3. In the Mirror Replication Agent bin directory, invoke the ma utility to start the Mirror Replication Agent instance:

    ma -i inst_name
    

    or

    ma -i inst_name -state
    

    where:

    • inst_name is the server name of the Mirror Replication Agent instance.

    • state is the optional keyword for the start-up state:

      • admin – starts the Mirror Replication Agent instance in Admin state.

      • replicate – starts the Mirror Replication Agent instance in Replicating state.

      NoteIf you do not specify the state option, Mirror Replication Agent starts in Admin state.

    For example, to start the Mirror Replication Agent instance named “my_ma” in Replicating state, enter:

    ma -i my_ma -replicate
    

After you start the Mirror Replication Agent instance, you must open another operating system command window to log in to its administration port.

See “Using the ma utility” for more information.