Previous Topic Next topic Print topic


mfdepinst

Syntax:

mfdepinst myservice.car

Parameters:

myservice.car The name of the .car file containing the service to be deployed

Dependencies:

mfdepinst must be in the same directory as the .car file.

There must be a .mfdeploy file in the parent directory. So, for example, if the .car file is in $COBDIR/deploy/test, there must be a .mfdeploy file in $COBDIR/deploy (which is the installation default deployment directory).

Comments:

mfdepinst extracts files from the .car file into the current directory. It extracts files with relative pathnames into subdirectories, which it creates as necessary. Files without paths or with absolute pathnames are extracted into the current directory. mfdepinst overwrites any files in the current directory with those in the .car file.

mfdepinst records its progress in the file deploylog.txt in the current directory, overwriting any existing deploylog.txt. After mfdepinst completes, you can examine this file to find out if deployment succeeded.

Example:

To install the services from /tmp/myservice.car:

cd $COBDIR/deploy
    mkdir myservice
    cd myservice
    cp /tmp/myservice.car .
    mfdepinst myservice.car
    cat deploylog.txt
Previous Topic Next topic Print topic