Applogic__commands

Applogic__commands

useful applogic...

  • misc commands

  • groups of commands

  • sequences of commands

> vol manage maddev:mad_db mad_sfmaps:map_data > cp -Rp volA .
  1. copy data from volX to volY

  2. in this case we copy data from one vol to another to migrate the db data.

> list log > app list > help app start > app start > ca sfmaps
  1. list log - lists log (grid shell)

  2. list applications

  3. start application

  4. current app: sets the current application such that subsequent commands will be applied to that application

> vol list > vol list appname --all > vol manage > vol repair > vol resize app_name:vol size=1G
  1. vol list - list volumes

  2. val manage - manage one or more volumes, even if hosts are down

  3. vol repair - On production grids, this will synchronize the disks.

  1. vol resize - change disk space for volume

A component is the same as an applicance or a VM.

For example, a tomcat appliance is an appliance.

To restart a component, open a grid shell and do the following.

> comp list > comp restart
  1. comp list - lists component of application

  2. comp restart - restart component (applinace) only, reloads comp boundaries

> app config > help app start > 3t > user list > srv list --map