Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
dev02_as_qa_site

Steps to Bring dev02 up as Qa site

Date Task Description Change Date Change Owner Change Status
21/08/2013 a. Config changes to app to run in rails staging environment.
b. Make Qacollab01 to work with dev02 for live events and streaming.
c. Deploy current tag (1.3.8.0) and test the app. Make changes to deploy scripts as needed
d. provide public ip to murali
e.solr issue in catalog page
f. Reset data and check wepay account
21/13/2013 udaya a. completed @ 1:00 pm 08/22/2013
b. completed @ 8:00 pm on 08/22/2013
c. completed @ 3:30 pm 08/22/2013
d. completed @ 5:30 pm on 08/21/2013
e. completed @ 11am 08/23/2013
f. completed at 3pm 08/23/2013
21/08/2013 g. Add DNS entry to point qa01.learnexa.com to the public ip provided. 08/21/2013 murali completed @ 5.30pm on 08/21/2013
qa01.learnexa.com points to 72.18.249.59

Instructions followed to get QA02 up

1) As this is a clone of dev01, installing software and setting up bundler was not needed.

2) Made the following config changes in /deploy/crossbow/shared directory.

  • Create a file staging.god and copy it's file contents form the current tag's svn. In this case the content comes from
    https://repos.exphosted.com/svnrepos/crossbow/trunk/config/staging.god
  • Change sunspot.yml file staging stanza's solr's port to tomcat's port.
  • Change the staging stanza settings on bigbluebutton.yml to point to qacollab01.exphosted.com
  • Change the recorder.yml and streamer.yml settings to point the host as “qacollab01.exphosted.com” and shared diectroy to /deploy/crossbow/shared/streams.

3) Created a database cb_stage as root and granted privileges of this database to the rails user(expdev01 in this case). Changed the /deploy/crossbow/database.yml to point to a new database 'cb_stage'.

  • Mount streams directory from qacollab01.exphosted.com
     #run manually as root 
     /opt/glusterfs/3.2.4/sbin/glusterfs --log-level=INFO --volfile-id=/streams --volfileserver=qacollab01.exphosted.com
     vi /etc/fstab 
     #Add the following lines and save
     /deploy/crossbow/current/public/streams
     --volfile-id=/streams
     --volfile-server = qacollab01.exphosted.com 

4) Remove the old data from /deploy/crossbow/shared/system/uploaded_datas and /deploy/crossbow/shared/system .

5) Change the deploy scripts.

  • Create /home/expdev01/crossbow/config/deploy/staging.rb file and copy contents from /home/expdev01/crossbow/config/deploy/development.rb and change the ip.
  • Change the environment, stages and site url to check in file /home/expdev01/crossbow/config/deploy.rb
  • Create crossdomain.xml file in /deploy/crossbow/shared/config. Get the content from https://repos.exphosted.com/svnrepos/crossbow/tags/1.3.7.0-LONDON/public/crossdomain.xml and edit it accordingly. Add the following line to /home/expdev01/crossbow/config/deploy.rb .
 run "ln -nfs #{shared_path}/config/crossdomain.yml #{release_path}/public/crossdomain.yml" 

6) Deploy the lastest tag.

7) Populate initial data.

8) Run the following tasks in /deploy/crossbow/current.

 
       bundle exec rake db:seed RAILS_ENV=staging
       bundle exec backfill:create_real_time_conversion_size_setting RAILS_ENV=staging
       #set the voice extension data in db/voice_extensions.csv and then run 
       bundle exec rake voice_extensions:populate RAILS_ENV=staging
       bundle exec rake populate:default_subscription_settings RAILS_ENV=staging

       bundle exec backfill:populate_site_subscription_plans_default_values RAILS_ENV=staging
       bundle exec rake backfill:populate_site_subscription_plans_default_values RAILS_ENV=staging
       bundle exec rake backfill:update_prepopulated_subscription_plans_values RAILS_ENV=staging
       bundle exec rake backfill:update_prepopulated_subscription_values RAILS_ENV=staging 

9) Reset the super admin password. Setup wepay account for super site as metioned here -
https://wiki.exphosted.com/doku.php/1.1.6.0-jamaicapredeployment

dev02_as_qa_site.txt · Last modified: 2018/08/31 16:16 (external edit)