89524

89524



SQL nodes. On each of the machines designated to host SQL nodes, perform the

following steps

as the system root user:

1.    Check your /etc/passwdand /etc/group files (or use whatever tools are provided by your

operating system for managing users and groups) to see whether there is already a mysąlgroup

and mysqluser on the system. Some OS distributions create these as part of the operating system

installation process. If they are not already present, create a newmysąluser group, and then add

a mysąluser to this group:

3hel l>groupaddrry sql

shel 1> user add -g mysqlrrysql

The syntax for useraddand groupaddmay differ slightly on different versions of Unix, or they

may have different names such as adduserand addgroup.

2.    Change location to the directory containing the downloaded file, unpack the archive, and create a

symbolic link named mysqlto the mysqldirectory. Notę that the actual file and directory names

vary according to the MySOL Cluster version number.

shell>cd /var/tmp

3hell>tar -C /usr/local -xzvf nysql-cluster-gpl-7.3.3-linux2.6.tar.gz 3hell>ln -* /usr/local/mysql-cluster-gpl-7.3.3-linux2.6-i686 /usr/local/mysql

3.    Change location to the mysqldirectory and run the supplied scriptfor creating the system

databases:

3hell>cd mysql

3hell>scripts/rrysql_install_db --user=rrysql

4.    Set the necessary permissions for the MySOL server and data directories:

shell>chown -R root .

3hell>chown -R mysql data shell>chgrp -R mysql .

5.    Copy the MySOL startup scriptto the appropriate directory, make it executable, and set it to start

when the operating system is booted up:

shell>cp support-files/mysql.server /otc/rc.d/init.d/

3hell>chmod +x /etc/rc.d/init.d/mysql. server shell>chkconfig —add mysql.server

(The startup Scripts directory may vary depending on your operating system and version—for

example, in some Linux distributions, it is /etc/init .d.)

Here we use Red Hat's chkconf igfor creating links to the startup Scripts; use whatever means is

appropriate for this purpose on your platform, such as update-rc.don Debian. Remember that the preceding steps must be repeated on each machinę where an SQL node is to reside.



Wyszukiwarka

Podobne podstrony:
expect. Each one had a regular square-wave signal, with the frequency on each of the higher lines be
vibro 30 STARTING OUT ON YOURsecond week ln starting out on your second week, be suro to do each of
vibro 30 STARTING OUT ON YOURsecond week ln starting out on your second week, be suro to do each of
CCF20110521015 stu i iun a03 Surgery:word building 3 Use the word on the right to form a suitable w
Radio Network Controller (RNC): Manages the radio resources of each of the Node Bs that are connect
2013 SYSTEMS SUPPORTING PRODUCTION ENGEINEERING The experiment also focused on analysis of the resul
Institute ot Noise Contro! hngineenng. Berglund, B., Lindvall, T., and Schwela D. H. on behalf of th
16036 MR293R190(5 1 Pass a piece of Steel wire approximately 30 eto long thrcugh the bead of maatic
9 Zastosowania rachunku różniczkowego w ekonomii Zadanie 9.7. For each of the given cost functions f
i 367 NOTESTHE STORKS Page 29. On account of the ravages it makes among noxious ani-mals, the stork
STL EQU1PMKMT Marti STL-8F Transmitter The Marti STL-8F, one of a series of two models designed to m
23 23Interview: ‘Education is the goal’ Pieter Drenth Pieter Drenth still remembers each of the fort
attorney-in-fact, including the natural person acting on behalf of the attorney-in-fact which is a l
Subsystems and network elements in GSM Let us now have a closer look at each of the individual netwo
Ways of Looking Ways of Looking Put each of the following verbs in its correct place in the sentence

więcej podobnych podstron