Hi,

I have created some AMF tools to simplify generation of AMF models. In the 
process some new high 
level pythonic IMM OM bindings was created. The work so far is available at:

http://sourceforge.net/p/opensaf/tools/ci/develop/tree/amf/

There is no installer yet. I have mainly been running this from the location in 
the repository.

Basically an AMF model is created in a few simple steps:

1) Create a template (in yaml format) like:
http://sourceforge.net/p/opensaf/tools/ci/develop/tree/amf/test/app.yaml


2) Using the template as input, create the top level of an application:

$ sam create Test -f app.yaml

in this step you can also give parameters (CSI attributes) to the configuration 
generation:

$ sam create Test -f app.yaml -p 2N:VIP=10.0.0.1


3) Deploy the model on some nodes:

$ sam deploy Test 2N --nodegroup AllNodes


4) finally unlock the service group:

$ sam unlock Test 2N


See http://sourceforge.net/p/opensaf/tools/ci/develop/tree/amf/test/test_sam.sh
for a test script.

The immom package could be added under pyosaf for wider use.

TODO:
        - scaling (out/in) the AMF model.
        - ...

/Hans

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to