useful applogic...
- misc commands
- groups of commands
- sequences of commands
> vol manage maddev:mad_db mad_sfmaps:map_data > cp -Rp volA .
- copy data from volX to volY
- 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
- list log - lists log (grid shell)
- list applications
- start application
- 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
- vol list - list volumes
- val manage - manage one or more volumes, even if hosts are down
- vol repair - On production grids, this will synchronize the disks.
- 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
- comp list - lists component of application
- comp restart - restart component (applinace) only, reloads comp boundaries
> app config > help app start > 3t > user list > srv list --map
0 Comments