Re: Initial setup for development

2017-09-05 Thread Michael Talyansky
Yes, I am in, thanks!

On 9/5/17, 8:22 PM, "Mark Torluemke"  wrote:

Slack should be fixed now. Also, the TC admin guide has the installation
docs: http://trafficcontrol.apache.org/docs/latest/admin/index.html

On Tue, Sep 5, 2017 at 9:17 PM, Michael Talyansky <
michael.talyan...@ericsson.com> wrote:

> Thanks, Mark,
>
> How do I get onto Slack channel? I submitted a form a few days ago, but
> got no reply. Just re-submitted now. Is this enough to get added?
>
> As far as ATS installation, is it documented as part of the Traffic
> Control, or do I have to go to ATS page for that?
>
> Thanks,
> Michael
>
> On 9/5/17, 7:59 PM, "Mark Torluemke"  wrote:
>
> Hi Michael,
>
> If you're trying to optimize over the # of instances, I would lean 
away
> from the official production-ready recommendations in the docs, and do
> more
> of what Dave suggested. Something like this:
>
> +---+-+
> | Component | VM  |
> +---+-+
> | TO| VM1 |
> | TODB  | VM1 |
> | TV| VM1 |
> | TM| VM1 |
> | TS| --  |
> | Influx| --  |
> | TR| VM2 |
> | ATS-EDGE  | VM3 |
> | ATS-MID   | VM4 |
> | TP| --  |
> +---+-+
>
> The ones with "--" can be added later, if you require that
> functionality.
> Most of the components should have adequate installation
> documentation, but
> reply back the list, or find us on Slack (
> traffic-control-cdn.slack.com) if
> you get stuck.
>
> Cheers,
> Mark
>
>
>
> On Tue, Sep 5, 2017 at 5:07 PM, Michael Talyansky <
> michael.talyan...@ericsson.com> wrote:
>
> > Hi Dave,
> >
> > Thanks for the offer of help!
> >
> > So far, I was able to do the following:
> >
> > 1. Create two VMs as recommended on the website, one for postgres
> and one
> > for TrafficOps
> > 2. Configure and start Postgres
> > 3. Download and build Traffic Ops
> > 4. Verify postgres connectivity and install traffic ops, according
> to this
> > page: https://trafficcontrol.incubator.apache.org/docs/
> > latest/admin/traffic_ops/installation.html
> > 5. Brought up the GUI, downloaded and imported two missing profiles
> for
> > EDGE_ATS and MID_ATS, so I have 11 profiles listed now:
> >
> > Profile Name
> > Profile Description
> > Type
> > Cdn
> > Last updated
> > Profile Details Parameter Details   EDGE_ATS_621_CENTOS_721 Edge
> Cache
> > - Apache Traffic Server v6.2.1-61.1ec1041.el7.centos.x86_64
> ATS_PROFILE
> >-   2017-09-05 22:54:57.061084+00
> > Profile Details Parameter Details   GLOBAL  Global Traffic Ops
> > profile, DO NOT DELETE   UNK_PROFILE -   2017-09-05
> > 22:14:37.180598+00
> > Profile Details Parameter Details   INFLUXDBInfluxDb
> profile
> >   INFLUXDB_PROFILE-   2017-09-05 22:14:37.194697+00
> > Profile Details Parameter Details   MID_ATS_532_CENTOS_721  Mid
> Cache
> > - Apache Traffic Server v5.3.2-762.23d37d0.el7.centos.x86_64
> > ATS_PROFILE -   2017-09-05 22:53:35.519531+00
> > Profile Details Parameter Details   RIAK_ALLRiak profile
> for
> > all CDNs   RIAK_PROFILE-   2017-09-05 22:14:37.195611+00
> > Profile Details Parameter Details   TRAFFIC_ANALYTICS
>  Traffic
> > Analytics profile   UNK_PROFILE -   2017-09-05
> > 22:14:37.189865+00
> > Profile Details Parameter Details   TRAFFIC_OPS Traffic Ops
> > profile UNK_PROFILE -   2017-09-05 22:14:37.190855+00
> > Profile Details Parameter Details   TRAFFIC_OPS_DB  Traffic Ops
> DB
> > profile  UNK_PROFILE -   2017-09-05 22:14:37.191781+00
> > Profile Details Parameter Details   TRAFFIC_PORTAL  Traffic
> Portal
> > profile  TP_PROFILE  -   2017-09-05 22:14:37.192758+00
> > Profile Details Parameter Details   TRAFFIC_ROUTER  Traffic
> Router
> > profile  TR_PROFILE  -   2017-09-05 22:52:43.543589+00
> > Profile Details Parameter Details   TRAFFIC_STATS   Traffic 
Stats
> > profile   TS_PROFILE  -   2017-09-05 22:14:37.193739+00
> > Showing 1 to 11 of 11 entries
> >
> >
> > What would be the next step? Create two more VMs, download and build
> ATS
> > on them? Then, where do I start configuring the whole system to be
> able

Re: Initial setup for development

2017-09-05 Thread Mark Torluemke
Slack should be fixed now. Also, the TC admin guide has the installation
docs: http://trafficcontrol.apache.org/docs/latest/admin/index.html

On Tue, Sep 5, 2017 at 9:17 PM, Michael Talyansky <
michael.talyan...@ericsson.com> wrote:

> Thanks, Mark,
>
> How do I get onto Slack channel? I submitted a form a few days ago, but
> got no reply. Just re-submitted now. Is this enough to get added?
>
> As far as ATS installation, is it documented as part of the Traffic
> Control, or do I have to go to ATS page for that?
>
> Thanks,
> Michael
>
> On 9/5/17, 7:59 PM, "Mark Torluemke"  wrote:
>
> Hi Michael,
>
> If you're trying to optimize over the # of instances, I would lean away
> from the official production-ready recommendations in the docs, and do
> more
> of what Dave suggested. Something like this:
>
> +---+-+
> | Component | VM  |
> +---+-+
> | TO| VM1 |
> | TODB  | VM1 |
> | TV| VM1 |
> | TM| VM1 |
> | TS| --  |
> | Influx| --  |
> | TR| VM2 |
> | ATS-EDGE  | VM3 |
> | ATS-MID   | VM4 |
> | TP| --  |
> +---+-+
>
> The ones with "--" can be added later, if you require that
> functionality.
> Most of the components should have adequate installation
> documentation, but
> reply back the list, or find us on Slack (
> traffic-control-cdn.slack.com) if
> you get stuck.
>
> Cheers,
> Mark
>
>
>
> On Tue, Sep 5, 2017 at 5:07 PM, Michael Talyansky <
> michael.talyan...@ericsson.com> wrote:
>
> > Hi Dave,
> >
> > Thanks for the offer of help!
> >
> > So far, I was able to do the following:
> >
> > 1. Create two VMs as recommended on the website, one for postgres
> and one
> > for TrafficOps
> > 2. Configure and start Postgres
> > 3. Download and build Traffic Ops
> > 4. Verify postgres connectivity and install traffic ops, according
> to this
> > page: https://trafficcontrol.incubator.apache.org/docs/
> > latest/admin/traffic_ops/installation.html
> > 5. Brought up the GUI, downloaded and imported two missing profiles
> for
> > EDGE_ATS and MID_ATS, so I have 11 profiles listed now:
> >
> > Profile Name
> > Profile Description
> > Type
> > Cdn
> > Last updated
> > Profile Details Parameter Details   EDGE_ATS_621_CENTOS_721 Edge
> Cache
> > - Apache Traffic Server v6.2.1-61.1ec1041.el7.centos.x86_64
> ATS_PROFILE
> >-   2017-09-05 22:54:57.061084+00
> > Profile Details Parameter Details   GLOBAL  Global Traffic Ops
> > profile, DO NOT DELETE   UNK_PROFILE -   2017-09-05
> > 22:14:37.180598+00
> > Profile Details Parameter Details   INFLUXDBInfluxDb
> profile
> >   INFLUXDB_PROFILE-   2017-09-05 22:14:37.194697+00
> > Profile Details Parameter Details   MID_ATS_532_CENTOS_721  Mid
> Cache
> > - Apache Traffic Server v5.3.2-762.23d37d0.el7.centos.x86_64
> > ATS_PROFILE -   2017-09-05 22:53:35.519531+00
> > Profile Details Parameter Details   RIAK_ALLRiak profile
> for
> > all CDNs   RIAK_PROFILE-   2017-09-05 22:14:37.195611+00
> > Profile Details Parameter Details   TRAFFIC_ANALYTICS
>  Traffic
> > Analytics profile   UNK_PROFILE -   2017-09-05
> > 22:14:37.189865+00
> > Profile Details Parameter Details   TRAFFIC_OPS Traffic Ops
> > profile UNK_PROFILE -   2017-09-05 22:14:37.190855+00
> > Profile Details Parameter Details   TRAFFIC_OPS_DB  Traffic Ops
> DB
> > profile  UNK_PROFILE -   2017-09-05 22:14:37.191781+00
> > Profile Details Parameter Details   TRAFFIC_PORTAL  Traffic
> Portal
> > profile  TP_PROFILE  -   2017-09-05 22:14:37.192758+00
> > Profile Details Parameter Details   TRAFFIC_ROUTER  Traffic
> Router
> > profile  TR_PROFILE  -   2017-09-05 22:52:43.543589+00
> > Profile Details Parameter Details   TRAFFIC_STATS   Traffic Stats
> > profile   TS_PROFILE  -   2017-09-05 22:14:37.193739+00
> > Showing 1 to 11 of 11 entries
> >
> >
> > What would be the next step? Create two more VMs, download and build
> ATS
> > on them? Then, where do I start configuring the whole system to be
> able to
> > pass traffic?
> >
> > Thanks,
> > Michael
> >
> > On 8/31/17, 2:18 PM, "Dave Neuman"  wrote:
> >
> > Hey Michael,
> > I have built a "CDN in a box" before using KVM and a physical
> server
> > but I
> > haven't ever tried to build one in AWS.  I think you will need at
> > least 3
> > VMs to make this happen.  The first one should be able to run
> all of
> > the TC
> > components (Traffic Ops, Postgres, Traffic Monitor, Traffic
> Router)
> > and you
> > will n

Re: Initial setup for development

2017-09-05 Thread Michael Talyansky
Thanks, Mark,

How do I get onto Slack channel? I submitted a form a few days ago, but got no 
reply. Just re-submitted now. Is this enough to get added?

As far as ATS installation, is it documented as part of the Traffic Control, or 
do I have to go to ATS page for that?

Thanks,
Michael

On 9/5/17, 7:59 PM, "Mark Torluemke"  wrote:

Hi Michael,

If you're trying to optimize over the # of instances, I would lean away
from the official production-ready recommendations in the docs, and do more
of what Dave suggested. Something like this:

+---+-+
| Component | VM  |
+---+-+
| TO| VM1 |
| TODB  | VM1 |
| TV| VM1 |
| TM| VM1 |
| TS| --  |
| Influx| --  |
| TR| VM2 |
| ATS-EDGE  | VM3 |
| ATS-MID   | VM4 |
| TP| --  |
+---+-+

The ones with "--" can be added later, if you require that functionality.
Most of the components should have adequate installation documentation, but
reply back the list, or find us on Slack (traffic-control-cdn.slack.com) if
you get stuck.

Cheers,
Mark



On Tue, Sep 5, 2017 at 5:07 PM, Michael Talyansky <
michael.talyan...@ericsson.com> wrote:

> Hi Dave,
>
> Thanks for the offer of help!
>
> So far, I was able to do the following:
>
> 1. Create two VMs as recommended on the website, one for postgres and one
> for TrafficOps
> 2. Configure and start Postgres
> 3. Download and build Traffic Ops
> 4. Verify postgres connectivity and install traffic ops, according to this
> page: https://trafficcontrol.incubator.apache.org/docs/
> latest/admin/traffic_ops/installation.html
> 5. Brought up the GUI, downloaded and imported two missing profiles for
> EDGE_ATS and MID_ATS, so I have 11 profiles listed now:
>
> Profile Name
> Profile Description
> Type
> Cdn
> Last updated
> Profile Details Parameter Details   EDGE_ATS_621_CENTOS_721 Edge Cache
> - Apache Traffic Server v6.2.1-61.1ec1041.el7.centos.x86_64  ATS_PROFILE
>-   2017-09-05 22:54:57.061084+00
> Profile Details Parameter Details   GLOBAL  Global Traffic Ops
> profile, DO NOT DELETE   UNK_PROFILE -   2017-09-05
> 22:14:37.180598+00
> Profile Details Parameter Details   INFLUXDBInfluxDb profile
>   INFLUXDB_PROFILE-   2017-09-05 22:14:37.194697+00
> Profile Details Parameter Details   MID_ATS_532_CENTOS_721  Mid Cache
> - Apache Traffic Server v5.3.2-762.23d37d0.el7.centos.x86_64
> ATS_PROFILE -   2017-09-05 22:53:35.519531+00
> Profile Details Parameter Details   RIAK_ALLRiak profile for
> all CDNs   RIAK_PROFILE-   2017-09-05 22:14:37.195611+00
> Profile Details Parameter Details   TRAFFIC_ANALYTICS   Traffic
> Analytics profile   UNK_PROFILE -   2017-09-05
> 22:14:37.189865+00
> Profile Details Parameter Details   TRAFFIC_OPS Traffic Ops
> profile UNK_PROFILE -   2017-09-05 22:14:37.190855+00
> Profile Details Parameter Details   TRAFFIC_OPS_DB  Traffic Ops DB
> profile  UNK_PROFILE -   2017-09-05 22:14:37.191781+00
> Profile Details Parameter Details   TRAFFIC_PORTAL  Traffic Portal
> profile  TP_PROFILE  -   2017-09-05 22:14:37.192758+00
> Profile Details Parameter Details   TRAFFIC_ROUTER  Traffic Router
> profile  TR_PROFILE  -   2017-09-05 22:52:43.543589+00
> Profile Details Parameter Details   TRAFFIC_STATS   Traffic Stats
> profile   TS_PROFILE  -   2017-09-05 22:14:37.193739+00
> Showing 1 to 11 of 11 entries
>
>
> What would be the next step? Create two more VMs, download and build ATS
> on them? Then, where do I start configuring the whole system to be able to
> pass traffic?
>
> Thanks,
> Michael
>
> On 8/31/17, 2:18 PM, "Dave Neuman"  wrote:
>
> Hey Michael,
> I have built a "CDN in a box" before using KVM and a physical server
> but I
> haven't ever tried to build one in AWS.  I think you will need at
> least 3
> VMs to make this happen.  The first one should be able to run all of
> the TC
> components (Traffic Ops, Postgres, Traffic Monitor, Traffic Router)
> and you
> will need at least two caches.  We require at least a two tier CDN
> with at
> least one EDGE and one MID server.  It might be a little difficult
> getting
> all of the TC components running on one VM, but I think it can be 
done.
>
> Sorry, we don't really have a how-to on doing what you are trying to
> do,
> but I (and hopefully others) are more than happy to help here.
>
> Thanks,
> Dave

Re: Initial setup for development

2017-09-05 Thread Mark Torluemke
Hi Michael,

If you're trying to optimize over the # of instances, I would lean away
from the official production-ready recommendations in the docs, and do more
of what Dave suggested. Something like this:

+---+-+
| Component | VM  |
+---+-+
| TO| VM1 |
| TODB  | VM1 |
| TV| VM1 |
| TM| VM1 |
| TS| --  |
| Influx| --  |
| TR| VM2 |
| ATS-EDGE  | VM3 |
| ATS-MID   | VM4 |
| TP| --  |
+---+-+

The ones with "--" can be added later, if you require that functionality.
Most of the components should have adequate installation documentation, but
reply back the list, or find us on Slack (traffic-control-cdn.slack.com) if
you get stuck.

Cheers,
Mark



On Tue, Sep 5, 2017 at 5:07 PM, Michael Talyansky <
michael.talyan...@ericsson.com> wrote:

> Hi Dave,
>
> Thanks for the offer of help!
>
> So far, I was able to do the following:
>
> 1. Create two VMs as recommended on the website, one for postgres and one
> for TrafficOps
> 2. Configure and start Postgres
> 3. Download and build Traffic Ops
> 4. Verify postgres connectivity and install traffic ops, according to this
> page: https://trafficcontrol.incubator.apache.org/docs/
> latest/admin/traffic_ops/installation.html
> 5. Brought up the GUI, downloaded and imported two missing profiles for
> EDGE_ATS and MID_ATS, so I have 11 profiles listed now:
>
> Profile Name
> Profile Description
> Type
> Cdn
> Last updated
> Profile Details Parameter Details   EDGE_ATS_621_CENTOS_721 Edge Cache
> - Apache Traffic Server v6.2.1-61.1ec1041.el7.centos.x86_64  ATS_PROFILE
>-   2017-09-05 22:54:57.061084+00
> Profile Details Parameter Details   GLOBAL  Global Traffic Ops
> profile, DO NOT DELETE   UNK_PROFILE -   2017-09-05
> 22:14:37.180598+00
> Profile Details Parameter Details   INFLUXDBInfluxDb profile
>   INFLUXDB_PROFILE-   2017-09-05 22:14:37.194697+00
> Profile Details Parameter Details   MID_ATS_532_CENTOS_721  Mid Cache
> - Apache Traffic Server v5.3.2-762.23d37d0.el7.centos.x86_64
> ATS_PROFILE -   2017-09-05 22:53:35.519531+00
> Profile Details Parameter Details   RIAK_ALLRiak profile for
> all CDNs   RIAK_PROFILE-   2017-09-05 22:14:37.195611+00
> Profile Details Parameter Details   TRAFFIC_ANALYTICS   Traffic
> Analytics profile   UNK_PROFILE -   2017-09-05
> 22:14:37.189865+00
> Profile Details Parameter Details   TRAFFIC_OPS Traffic Ops
> profile UNK_PROFILE -   2017-09-05 22:14:37.190855+00
> Profile Details Parameter Details   TRAFFIC_OPS_DB  Traffic Ops DB
> profile  UNK_PROFILE -   2017-09-05 22:14:37.191781+00
> Profile Details Parameter Details   TRAFFIC_PORTAL  Traffic Portal
> profile  TP_PROFILE  -   2017-09-05 22:14:37.192758+00
> Profile Details Parameter Details   TRAFFIC_ROUTER  Traffic Router
> profile  TR_PROFILE  -   2017-09-05 22:52:43.543589+00
> Profile Details Parameter Details   TRAFFIC_STATS   Traffic Stats
> profile   TS_PROFILE  -   2017-09-05 22:14:37.193739+00
> Showing 1 to 11 of 11 entries
>
>
> What would be the next step? Create two more VMs, download and build ATS
> on them? Then, where do I start configuring the whole system to be able to
> pass traffic?
>
> Thanks,
> Michael
>
> On 8/31/17, 2:18 PM, "Dave Neuman"  wrote:
>
> Hey Michael,
> I have built a "CDN in a box" before using KVM and a physical server
> but I
> haven't ever tried to build one in AWS.  I think you will need at
> least 3
> VMs to make this happen.  The first one should be able to run all of
> the TC
> components (Traffic Ops, Postgres, Traffic Monitor, Traffic Router)
> and you
> will need at least two caches.  We require at least a two tier CDN
> with at
> least one EDGE and one MID server.  It might be a little difficult
> getting
> all of the TC components running on one VM, but I think it can be done.
>
> Sorry, we don't really have a how-to on doing what you are trying to
> do,
> but I (and hopefully others) are more than happy to help here.
>
> Thanks,
> Dave
>
> On Thu, Aug 31, 2017 at 2:54 PM, Michael Talyansky <
> michael.talyan...@ericsson.com> wrote:
>
> > Hi,
> >
> > I am trying to set up development and testing environment on AWS. So
> far,
> > I have two VMs, one running postgres, and one on which I built
> > trafficcontrol. I will need to set up at least one caching node, so
> I can
> > test the whole system.
> >
> > Has anyone done something similar before, and if so, is there a
> pointer to
> > a sample configuration of how to do this with the least amount of
> VMs?
> >
> > Thanks in advance!
> >
>
>
>


Re: Initial setup for development

2017-09-05 Thread Michael Talyansky
Hi Dave,

Thanks for the offer of help!

So far, I was able to do the following:

1. Create two VMs as recommended on the website, one for postgres and one for 
TrafficOps
2. Configure and start Postgres
3. Download and build Traffic Ops
4. Verify postgres connectivity and install traffic ops, according to this 
page: 
https://trafficcontrol.incubator.apache.org/docs/latest/admin/traffic_ops/installation.html
5. Brought up the GUI, downloaded and imported two missing profiles for 
EDGE_ATS and MID_ATS, so I have 11 profiles listed now:

Profile Name
Profile Description
Type
Cdn
Last updated
Profile Details Parameter Details   EDGE_ATS_621_CENTOS_721 Edge Cache - 
Apache Traffic Server v6.2.1-61.1ec1041.el7.centos.x86_64  ATS_PROFILE -
   2017-09-05 22:54:57.061084+00
Profile Details Parameter Details   GLOBAL  Global Traffic Ops profile, DO 
NOT DELETE   UNK_PROFILE -   2017-09-05 22:14:37.180598+00
Profile Details Parameter Details   INFLUXDBInfluxDb profile
INFLUXDB_PROFILE-   2017-09-05 22:14:37.194697+00
Profile Details Parameter Details   MID_ATS_532_CENTOS_721  Mid Cache - 
Apache Traffic Server v5.3.2-762.23d37d0.el7.centos.x86_64  ATS_PROFILE -   
2017-09-05 22:53:35.519531+00
Profile Details Parameter Details   RIAK_ALLRiak profile for all 
CDNs   RIAK_PROFILE-   2017-09-05 22:14:37.195611+00
Profile Details Parameter Details   TRAFFIC_ANALYTICS   Traffic 
Analytics profile   UNK_PROFILE -   2017-09-05 22:14:37.189865+00
Profile Details Parameter Details   TRAFFIC_OPS Traffic Ops profile 
UNK_PROFILE -   2017-09-05 22:14:37.190855+00
Profile Details Parameter Details   TRAFFIC_OPS_DB  Traffic Ops DB profile  
UNK_PROFILE -   2017-09-05 22:14:37.191781+00
Profile Details Parameter Details   TRAFFIC_PORTAL  Traffic Portal profile  
TP_PROFILE  -   2017-09-05 22:14:37.192758+00
Profile Details Parameter Details   TRAFFIC_ROUTER  Traffic Router profile  
TR_PROFILE  -   2017-09-05 22:52:43.543589+00
Profile Details Parameter Details   TRAFFIC_STATS   Traffic Stats profile   
TS_PROFILE  -   2017-09-05 22:14:37.193739+00
Showing 1 to 11 of 11 entries


What would be the next step? Create two more VMs, download and build ATS on 
them? Then, where do I start configuring the whole system to be able to pass 
traffic?

Thanks,
Michael

On 8/31/17, 2:18 PM, "Dave Neuman"  wrote:

Hey Michael,
I have built a "CDN in a box" before using KVM and a physical server but I
haven't ever tried to build one in AWS.  I think you will need at least 3
VMs to make this happen.  The first one should be able to run all of the TC
components (Traffic Ops, Postgres, Traffic Monitor, Traffic Router) and you
will need at least two caches.  We require at least a two tier CDN with at
least one EDGE and one MID server.  It might be a little difficult getting
all of the TC components running on one VM, but I think it can be done.

Sorry, we don't really have a how-to on doing what you are trying to do,
but I (and hopefully others) are more than happy to help here.

Thanks,
Dave

On Thu, Aug 31, 2017 at 2:54 PM, Michael Talyansky <
michael.talyan...@ericsson.com> wrote:

> Hi,
>
> I am trying to set up development and testing environment on AWS. So far,
> I have two VMs, one running postgres, and one on which I built
> trafficcontrol. I will need to set up at least one caching node, so I can
> test the whole system.
>
> Has anyone done something similar before, and if so, is there a pointer to
> a sample configuration of how to do this with the least amount of VMs?
>
> Thanks in advance!
>




Re: ATC Fall Summit 2017

2017-09-05 Thread Dave Neuman
Hey all,
This is a reminder to sign up for our fall summit if you plan to attend and
haven't already.  Details and sign up here:  https://cwiki.apache.org/
confluence/display/TC/Fall+2017+Summit+-+Atlanta

Also,
if you are attending, please consider giving a presentation.  If you plan
to give a presentation, let us know by sending an email to
summ...@trafficcontrol.incubator.apache.org.

Thanks,
Dave

On Tue, Aug 15, 2017 at 8:15 AM, Dave Neuman  wrote:

> Hey All,
> It’s that time of the year again; Apache Traffic Control (incubating) will
> be having our fall summit on October 17 and 18 in Atlanta, Georgia!
> Please see the following wiki page and rsvp:  https://cwiki.apache.org/
> confluence/display/TC/Fall+2017+Summit+-+Atlanta
>
> This email also servers as a CFP, if you have a great idea for a
> presentation let me know at neu...@apache.org by September 15th.  I will
> share your submissions with the other members of the PMC and we will
> publish a schedule before the event.
>
> Any questions just let me know.
>
> Thanks,
> Dave
>


Re: Configuration Management - Rules Engine

2017-09-05 Thread Eric Friedrich (efriedri)
Actual Wiki link is here: 
https://cwiki.apache.org/confluence/display/TC/Configuration+Management#ConfigurationManagement-Rules_Engine


What is the difference between a parameter and a service rule? From the 
examples, it looks like parameters are all the legacy behaviors we have today 
and rules are many of the new behaviors we will shortly be adding.

Today we have a delivery service configuration that has many parameters 
(configuration) that are associated with implicit service rules (behaviors). 
For example, setting the Geoblock field contains configuration (CZF-only, which 
countries to allow) and there is always a hardcoded "service rule” to make use 
of that configuration.

The two “parameter” examples below follow the same pattern
  - For active/non-active the configuration is boolean and the service rule 
either processes requests on that DS or rejects them
  - For Query Strings, the configuration is “use”, “ignore”, “drop” and there 
is a service rule that implements the logic for those 3 options.

Similarly all of the Service Rules example can be broken into configuration + 
behavior.

It will be more work in the short term to get to this model, but IMO is more 
cohesive than having some behavior be parameters and some behaviors be service 
rules.





On Sep 1, 2017, at 4:16 PM, Durfey, Ryan 
mailto:ryan_dur...@comcast.com>> wrote:

Opening a new thread on the rules engine. Please keep responses in the email 
thread (vs. wiki). I will summarize once we conclude debate.


Rules Engine

 *   The rules engine is a part of the generic configuration concept but 
separates out trigger/action type configurations from parameter type 
configurations
 *   It allows non-technical users access to powerful customizations that can 
be validated before use and implemented in non-blocking LUA co-routines
 *   Service Parameters are stored in the config database as per usual operation
*   Parameter Example:
   *   Serivce is Active or Non-Active
   *   Service considers Query Strings in URLs or Does Note
 *   Service Rules are stored in a specially formatted data table
*   Rules Example:
*
Trigger

Action

Request to Origin

Sign URL using AWS v4 Signature and Key

URL format regex

Strip content from URL and add to header

Failure to connect to origin

Add cache control header to 502 response with 10 second value


*
 *   Rules Engine Provides
*   List of Available Triggers
*   List of Available Actions
*   List of Required Parameters for Each Trigger / Action
 *   Rules for ATS and NGINX can be implemented with LUA Plugins to the C/C++ 
Code using LUA Scripting
 *   We can also potentially offer raw script fields for advanced users like 
CDN Owners
 *   Rules are generic and are interpreted in similar fashion to generic 
configuration parameters
 *   Rules engine builds in validation rules to ensure non-breaking changes



Ryan Durfey
Sr. Product Manager - CDN | Comcast Technology Solutions
1899 Wynkoop Ste. 550 | Denver, CO 80202
M | 303-524-5099
ryan_dur...@comcast.com
CDN Support (24x7): 866-405-2993 or 
cdn_supp...@comcast.com