...
Create /usr/local/targeted-id/etc/tid.cnf
, if necessary, and set the password for the shib
database user (from above); you can copy tid.cnf.example in that directory, and simply set the password accordingly. The file should be readable only by root.
Initialize the Targeted ID database
You must either set up a new (empty) database, or initialize the database from a backup (e.g. a backup created on the peer system).
h7. Initialize a new database
WARNING: THIS STEP WILL DROP THE TABLES OF ANY EXISTING DATABASE. Proceed to the next step to initialize the database from a backup.
...
No Format |
---|
# mysql -u root -p < /usr/local/targeted-id/etc/tid-init.sql |
h7. Initialize a Targeted ID database from backup
Perform this step to set up the database when adding a new machine to an existing cluster. You should obtain the backup from an existing machine in the cluster.
...