|
STEP 9 - SYNCHRONIZE CLOCKSTOP
The system cannot operate correctly unless the clocks on all machines are synchronized. Use the Network Time Protocol (ntp) to ensure that the clocks get synchronized and remain in sync. Run the 'date' command on all machines to make sure they are in sync. The following Capistrano shell session show the output of a cluster with properly synchronized clocks.- cap> date
- [establishing connection(s) to master, hyperspace001, hyperspace002, hyperspace003, slave001, slave002, slave003, slave004, slave005, slave006, slave007, slave008]
- ** [out :: master] Sat Jan 3 18:05:33 PST 2009
- ** [out :: hyperspace001] Sat Jan 3 18:05:33 PST 2009
- ** [out :: hyperspace002] Sat Jan 3 18:05:33 PST 2009
- ** [out :: hyperspace003] Sat Jan 3 18:05:33 PST 2009
- ** [out :: slave001] Sat Jan 3 18:05:33 PST 2009
- ** [out :: slave002] Sat Jan 3 18:05:33 PST 2009
- ** [out :: slave003] Sat Jan 3 18:05:33 PST 2009
- ** [out :: slave004] Sat Jan 3 18:05:33 PST 2009
- ** [out :: slave005] Sat Jan 3 18:05:33 PST 2009
- ** [out :: slave007] Sat Jan 3 18:05:33 PST 2009
- ** [out :: slave008] Sat Jan 3 18:05:33 PST 2009
复制代码 |
|