Hi Igor

I looked at this link: http://wiki.scalr.net/Tutorials/Using_Varnish_with_Scalr

I plan to use the same mechanism to build my own App Role and will work with 
that. 

Hope that’s OK

Cheers
Srini

From: Igor Savchenko 
Sent: Tuesday, February 28, 2012 7:28 PM
To: [email protected] 
Subject: Re: Adding a new behaviour

Hi Srini, 


Currently there is no easy way to add new behavior. Behavior is a complex item 
that consists of different pars on scalr + scalarizr handler.
There is no any guide about how to add custom behavior because in each case 
(for each software) this process can be completely different.


If you need own behavior I would advise you to use base role + role parameters 
+ our scripting engine.


Regards,
Igor

On 28 February 2012 15:17, Srinivasan Subramanian 
<[email protected]> wrote:

  1. I followed the wiki on new Behavior to the letter   Installed the python 
plugin with distutils, edited config.ini and added the newbahavior.ini also
  2. Started scalarizr agent and it started successfully.  The log shows no 
errors.
  3. I have also edited the types/enum.ROLE_BEHAVIORS.php and added a constant 
for the new behavior.

  1. When I click on Role Builder – I do not see the new behavior I have added.
  2. I created a snapshot of the custom behavior server and created a new role. 
 I can see the new role in the roles list but when I click on edit role, the 
behavior is all greyed out and is set to base (the original role) and I cannot 
change it.

  Can someone help me in getting the new behavior visible and image assigned to 
it?  Which step am I going wrong?

  Thanks
  Srini


  From: Srinivasan Subramanian 
  Sent: Tuesday, February 28, 2012 3:29 PM
  To: [email protected] 
  Subject: Adding a new behaviour

  I want to add a couple of new behaviors and have a couple of doubts regarding 
that. I followed this excellent guide: 
http://wiki.scalr.net/Reference_Guide/Roles 
  I now have my new custom role defined in the php enum.

  Questions:

  Do I start with a base install image, install the new plugin on that and then 
create a new role from that server instance? 
  OR
  Do I start with Role builder, base role and then install the new plugin?

  End result I want a new APP role that I can access in the farm.

  Thanks for the help

  Srini
  -- 
  You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
  To post to this group, send email to [email protected].
  To unsubscribe from this group, send email to 
mailto:scalr-discuss%[email protected].
  For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en.

<<wlEmoticon-smile[1].png>>

Reply via email to