Changes between Initial Version and Version 1 of DolphinCluster


Ignore:
Timestamp:
Jan 28, 2008, 10:36:19 AM (17 years ago)
Author:
VictorT
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DolphinCluster

    v1 v1  
     1Dolphin can be configured to work on a cluster. Cluster environment was provided by HostForWeb. 
     2 
     3'''Firstly'''. Do not delete this file on your hosting server. It must be put on your server by your hosting provider. 
     4 
     5    '''''status.html''''' - in root folder for load balancer. 
     6 
     7 
     8 
     9'''Secondly'''. This is what must be done to configure Dolphin to work on 2 clusters. 
     10 
     11You should install Dolphin on both servers. 
     12 
     13Enter the root folder of Dolphin installation on both servers via SSH 
     14and run the following script. It will link the folders of Dolphin to Network File System. 
     15 
     16 
     17'''Note''': This is only an example of what must be done. The path to the 
     18"'''/mnt/nas/'''" (Network File System) could be different on your server. So, the whole script must be re-written accordingly. 
     19For this you can consult with your hosting provider or contact us. 
     20 
     21 
     22{{{ 
     23mv media /mnt/nas/ 
     24ln -s /mnt/nas/media/ media 
     25 
     26mv groups/gallery/ /mnt/nas/groups_gallery 
     27ln -s /mnt/nas/groups_gallery groups/gallery 
     28 
     29mv langs/ /mnt/nas/ 
     30ln -s /mnt/nas/langs/ langs 
     31 
     32 
     33mkdir /mnt/nas/inc 
     34mv inc/menu_content.inc.php /mnt/nas/inc 
     35ln -s  /mnt/nas/inc/menu_content.inc.php inc/menu_content.inc.php 
     36mv inc/params.inc.php  /mnt/nas/inc 
     37ln -s  /mnt/nas/inc/params.inc.php inc/params.inc.php 
     38 
     39 
     40mv ray/modules/board/xml/ /mnt/nas/ray_board_xml 
     41ln -s /mnt/nas/ray_board_xml ray/modules/board/xml 
     42 
     43mv ray/modules/chat/xml/ /mnt/nas/ray_chat_xml         
     44ln -s /mnt/nas/ray_chat_xml   ray/modules/chat/xml 
     45 
     46mv ray/modules/im/xml/ /mnt/nas/ray_im_xml           
     47ln -s /mnt/nas/ray_im_xml ray/modules/im/xml 
     48 
     49mv ray/modules/movie/xml/ /mnt/nas/ray_movie_xml   
     50ln -s /mnt/nas/ray_movie_xml  ray/modules/movie/xml 
     51 
     52mv ray/modules/mp3/xml/ /mnt/nas/ray_mp3_xml           
     53ln -s /mnt/nas/ray_mp3_xml/ ray/modules/mp3/xml  
     54 
     55mv ray/modules/music/xml/ /mnt/nas/ray_music_xml      
     56ln -s /mnt/nas/ray_music_xml/ ray/modules/music/xml 
     57 
     58mv ray/modules/presence/xml/ /mnt/nas/ray_presence_xml      
     59ln -s /mnt/nas/ray_presence_xml/ ray/modules/presence/xml  
     60 
     61mv ray/modules/video/xml/ /mnt/nas/ray_video_xml                
     62ln -s /mnt/nas/ray_video_xml/ ray/modules/video/xml 
     63 
     64mkdir /mnt/nas/ray_global 
     65mv ray/modules/global/inc/cron.inc.php /mnt/nas/ray_global/cron.inc.php 
     66ln -s /mnt/nas/ray_global/cron.inc.php ray/modules/global/inc/cron.inc.php 
     67mv ray/modules/global/js/integration.js /mnt/nas/ray_global/integration.js 
     68ln -s /mnt/nas/ray_global/integration.js ray/modules/global/js/integration.js 
     69 
     70mv ray/modules/board/files /mnt/nas/ray_board_files 
     71ln -s /mnt/nas/ray_board_files ray/modules/board/files 
     72 
     73mv ray/modules/im/files /mnt/nas/ray_im_files 
     74ln -s /mnt/nas/ray_im_files ray/modules/im/files 
     75 
     76mv ray/modules/movie/files /mnt/nas/ray_movie_files 
     77ln -s /mnt/nas/ray_movie_files ray/modules/movie/files 
     78 
     79mv ray/modules/mp3/files /mnt/nas/ray_mp3_files 
     80ln -s /mnt/nas/ray_mp3_files ray/modules/mp3/files 
     81 
     82mv ray/modules/music/files /mnt/nas/ray_music_files 
     83ln -s /mnt/nas/ray_music_files ray/modules/music/files 
     84 
     85}}} 
     86 
     87 
     88'''Third'''. Some changes should be applied in Orca. 
     89 
     90In '''xml/config.php''' file, you should change your domain name to "http://localhost/: 
     91 
     92{{{ 
     93 
     94$gConf['url']['xml'] = 'http://localhost/orca/xml/orca.php'; // xml integration file url 
     95 
     96}}} 
     97 
     98Dolphin Home page and Account Builder are affected. The URLs should be changed as follows: 
     99 
     100 
     101{{{ 
     102homepage builder: {SiteUrl}orca/?action=rss_all -> http://localhost/orca/?action=rss_all 
     103account builder : {SiteUrl}orca/?action=rss_user&user={NickName} ->  http://localhost/orca/?action=rss_user&user={NickName} 
     104}}} 
     105 
     106 
     107Dolphin's '''inc/header.inc.php''' file should be affected too: 
     108  
     109 
     110{{{ 
     111header.inc.php : if( isset($_SERVER['HTTP_HOST']) and $_SERVER['HTTP_HOST'] != 'localhost' and $_SERVER['HTTP_HOST'] != $aUrl['host'] ) 
     112}}} 
     113 
     114added -> '''and $_SERVER['HTTP_HOST'] != 'localhost'''' 
     115 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
Fork me on GitHub