[rudder-users] Move Rules/Directives and Techniques between Servers

Waldo Delport waldod at pqfgroup.co.za
Wed Nov 28 08:33:56 CET 2018


Hi

Thank You

This works perfectly and fits into our deployment model.

From: Nicolas Charles <nicolas.charles at normation.com>
Sent: Thursday, 22 November 2018 10:36 AM
To: Waldo Delport <waldod at pqfgroup.co.za>; rudder-users at lists.rudder-project.org
Subject: Re: [rudder-users] Move Rules/Directives and Techniques between Servers


Hi Waldo,

You have several approaches for synchronizing different Rudder environments. The most commonly used rely on the underlying git which archive all configurations (in /var/rudder/configuration-repository). Options are:

  *   Set all the configurations in the Dev environment only, and force synchronize it to the QA and Prod environments: with this approach, you have 3 Rudder Servers, *in exactly the same version*, and prohibit any changes of configuration in QA & Prod. When you are happy with configuration in Dev environment, you manually promote it through git to the QA server, and load the configuration from git (like in https://docs.rudder.io/reference/5.0/administration/server.html#_importing_configuration<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.rudder.io%2Freference%2F5.0%2Fadministration%2Fserver.html%23_importing_configuration&data=02%7C01%7C%7C415f8e5e49e24e85377408d650557d37%7C1a299edd93fc4ba89e575a9a07e1e978%7C0%7C1%7C636784725457099183&sdata=qff9lzoSr1KEk1aWYmRSE%2FFiXsHClc65zB%2BfB4qZLvo%3D&reserved=0>).
     *   The main issue with this approach is that you can't do changes in QA or Prod, and when you want to promote configurations to QA, you need to make sure that nobody are doing any changes on the Dev Rudder
  *   Cherry pick the configuration from Dev to import them in QA. All modifications of Groups, Directives, Rules and Techniques are stored in git, they can be tracked, and you can pick them by importing them in the QA & Prod environment. This is a fine-grained approach.
     *   Here, detecting possible dependencies can be tricky: you'll need to cherry-pick also Directives that are within a Rule for instance. But since it is in a "human-readable" (understand: XML) format, you can use diff, or even better meld to see differences.

You can also use the API (see documentation https://docs.rudder.io/api/<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.rudder.io%2Fapi%2F&data=02%7C01%7C%7C415f8e5e49e24e85377408d650557d37%7C1a299edd93fc4ba89e575a9a07e1e978%7C0%7C1%7C636784725457109191&sdata=wiKPw4AY0SaVXMAJt%2Flp4W9um9oGV%2F9OYIRFrU0%2F2qY%3D&reserved=0> ) to synchronize between environments - GET on the DEV, POST on the QA - which is probably the most convenient way to do.

Does it help you to see how to do it?
Nicolas

Le 20/11/2018 à 09:35, Waldo Delport a écrit :
Hi

We are planning to use Rudder and really like the tool. The problem we are experiencing is with multi-environment.

We want segregated dev, QA and prod environments. With this in mind we cannot have a single server serving all three enviroments, the configuration eends to follow the dev,qa and prod route. Where once tested on QA we can move it to prod. How can we do this on Rudder?

[cid:image001.jpg at 01D486FD.76BC8060]

Waldo Delport

Group HOD: Development



[A close up of a logo  Description                      generated with high confidence]

+27 (0)12 111 7000



[cid:image003.png at 01D486FD.76BC8060]

+27 (0)82 567 7220





[A close up of a logo  Description                      generated with high confidence]

waldod at pqfgroup.co.za<mailto:waldod at pqfgroup.co.za>



[cid:image005.jpg at 01D486FD.76BC8060]

This message and any attachments and or links are confidential and intended solely for the addressee. If you have received this message in error, please notify PQF Group Services (Pty) Ltd immediately, e-mail info at pqfgroup.co.za<mailto:info at pqfgroup.co.za> . Any unauthorized use; alteration or dissemination of the contents of this email is strictly prohibited. In no event will PQF Group Services (Pty) Ltd or the sender be liable in any manner whatsoever to any person for any loss or any direct, indirect, special or consequential damages arising from use of this email or any linked website, including, without limitation, from any lost profits, business interruption, loss of programs or other data that may be stored on any information handling system or otherwise from any assurance that this email is virus free even if PQF Group Services (Pty) Ltd is expressly advised of the possibility of such damages.








_______________________________________________

rudder-users mailing list

FAQ: https://faq.rudder.io/<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffaq.rudder.io%2F&data=02%7C01%7C%7C415f8e5e49e24e85377408d650557d37%7C1a299edd93fc4ba89e575a9a07e1e978%7C0%7C1%7C636784725457119199&sdata=WF%2F64KOfPQrQuNDnxhTc2DwXSOQ0ZnmDOC%2BGIUnB9OI%3D&reserved=0>

Bug Tracker: https://issues.rudder.io/<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.rudder.io%2F&data=02%7C01%7C%7C415f8e5e49e24e85377408d650557d37%7C1a299edd93fc4ba89e575a9a07e1e978%7C0%7C1%7C636784725457119199&sdata=AuJtSLXX39tnCyhlXZa%2BRiBS%2Blje3csqwedOeKipt0Q%3D&reserved=0>

rudder-users at lists.rudder-project.org<mailto:rudder-users at lists.rudder-project.org>

https://www.rudder-project.org/mailman/listinfo/rudder-users<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rudder-project.org%2Fmailman%2Flistinfo%2Frudder-users&data=02%7C01%7C%7C415f8e5e49e24e85377408d650557d37%7C1a299edd93fc4ba89e575a9a07e1e978%7C0%7C1%7C636784725457129207&sdata=xddvYhgeDv0jSWn%2FrLc5FKV%2BjswWWI5ZiyP0%2FJMz0js%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20181128/520cc3b4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 6921 bytes
Desc: image001.jpg
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20181128/520cc3b4/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 724 bytes
Desc: image002.png
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20181128/520cc3b4/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 509 bytes
Desc: image003.png
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20181128/520cc3b4/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 643 bytes
Desc: image004.png
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20181128/520cc3b4/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 6464 bytes
Desc: image005.jpg
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20181128/520cc3b4/attachment-0003.jpg>


More information about the rudder-users mailing list