Advertisement
Sorok7

Untitled

Jul 4th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 1.10 KB | None | 0 0
  1. Rollback changes
  2.  
  3. >>>1. Comment line from cron on WEB4:
  4.     # Cacher
  5.     * * * * * python26 /var/CacheControlSystem/cache_controller.py check
  6.  
  7. >>>2.Totally stop import system(APP2) and cache system(WEB4).
  8.  
  9. >>>3.On slaves DB2,DB3,CLDB2
  10.     comment lines from cron
  11.  
  12. ##################################
  13. ## Call slave cubes
  14. * * * * * php /var/OldCubes/old_cube_slave.php
  15.  
  16. and restart mysql with new settings
  17. /etc/init.d/mysqld stop
  18. cp /etc/my.cnf_fulltables /etc/my.cnf
  19. /etc/init.d/mysqld start
  20.  
  21.  
  22. >>>4.
  23.     On master (DB4)
  24.     comment lines from cron
  25.     ##################################
  26.     ## Call master cubes
  27.     * * * * * php /var/OldCubes/old_cube_master.php
  28.     # Cube cacher
  29.     * * * * * python /var/CubeCacher/cube_controller.py check
  30.  
  31.     UNcomment lines from cron
  32.     #Moving cube
  33.     # */1 * * * * /usr/bin/php -d safe_mode=0 -f /root/df_scripts/Move_to_cube_fresh.php
  34.  
  35. >>>5. Switch to master branch cacher system.
  36. >>>6. Start cache system.
  37. >>>7. Start import system.
  38. >>>8. Check replcation
  39. >>>9. Reimport 1 site for test from Ignite2
  40. >>>10.UNComment line from cron on WEB4:
  41.     # Cacher
  42.     * * * * * python26 /var/CacheControlSystem/cache_controller.py check
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement