trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dang...@apache.org
Subject [23/27] incubator-trafficcontrol git commit: added README.md
Date Tue, 09 May 2017 18:30:58 GMT
added README.md


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/9788eab1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/9788eab1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/9788eab1

Branch: refs/heads/master
Commit: 9788eab12116efa5031459face1f7581bc2c2f86
Parents: cf4f4c0
Author: Dewayne Richardson <dewrich@apache.org>
Authored: Tue May 9 07:57:19 2017 -0600
Committer: Dan Kirkwood <dangogh@gmail.com>
Committed: Tue May 9 18:28:59 2017 +0000

----------------------------------------------------------------------
 traffic_ops/install/data/profiles/README.md | 38 ++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/9788eab1/traffic_ops/install/data/profiles/README.md
----------------------------------------------------------------------
diff --git a/traffic_ops/install/data/profiles/README.md b/traffic_ops/install/data/profiles/README.md
new file mode 100644
index 0000000..b45adfd
--- /dev/null
+++ b/traffic_ops/install/data/profiles/README.md
@@ -0,0 +1,38 @@
+
+# Profiles:
+ 
+- This directory contains sample profiles that can be loaded in to a new
+  instance of Traffic Ops.  
+  
+## Load Sample Profiles
+
+### Prerequisites:
+
+  * Postgres database is setup
+  * Traffic Ops RPM is installed and configured to point to the Postgres Database
+  * Traffic Ops `/opt/traffic_ops/install/bin/postinstall` has been run to create the tables,
seed with data, and tables migrated
+
+- To build the profiles to be loaded above one can `export` profiles from a Traffic Ops Instance

+ with production data
+
+  After a successful `postinstall` execution.  Run the following commands from the new Traffic
Ops instance
+  ```
+  $ cd /opt/traffic_ops/install/data/profiles
+  $ ./load_profiles.sh
+  ```
+----
+## Export Sample Profiles
+
+### Prerequisites:
+
+  * Postgres database with production data
+  * Traffic Ops RPM is installed and configured to point to the appropriate Postgres database
+  * Verify that the `$lookupTable` variable matches the `latest_` profiles in your production
database with the `export_profiles.pl` script.
+
+
+  After a successful `postinstall` execution.  Run the following command from the new Traffic
Ops instance
+  ```
+  $ cd /opt/traffic_ops/install/data/profiles
+  $ ./export_profiles.pl
+  ```
+


Mime
View raw message