From 627cb80c8d000bacfd6b78d76aa6bbd5fff843f7 Mon Sep 17 00:00:00 2001 From: lissav Date: Fri, 6 Nov 2009 11:48:00 +0000 Subject: [PATCH] add more info git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4500 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man8/mysqlsetup.8.pod | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/xCAT-client/pods/man8/mysqlsetup.8.pod b/xCAT-client/pods/man8/mysqlsetup.8.pod index 1d4be57ee..c631d1ca5 100644 --- a/xCAT-client/pods/man8/mysqlsetup.8.pod +++ b/xCAT-client/pods/man8/mysqlsetup.8.pod @@ -41,11 +41,11 @@ The init option is used to setup an installed MySQL database so that xCAT can us =item B<-u|--update> -To run the update option, you must first have run the -i option and have xcat successfully up and running on the MySQL database. You can chose the -f and/or the -o option, to run update. +To run the update option, you must first have run the -i option and have xcat successfully up and running on the MySQL database. You can chose the -f and/or the -o option, to update. =item B<-f|--hostfile> -This option run during update, will take all the host from the input file, and give them database access to the xcatdb in MySQL for the xcatadmin id. Wildcards and ipaddresses may be used. xCAT must have been previously successfully setup to use MySQL. +This option runs during update, it will take all the host from the input file (provide a full path) and give them database access to the xcatdb in MySQL for the xcatadmin id. Wildcards and ipaddresses may be used. xCAT must have been previously successfully setup to use MySQL. xcatadmin and MySQL root password are required. =item B<-o|--setupODBC> @@ -65,7 +65,7 @@ B - the password for the xcatadmin id that will be assigned i =item * -B - the password for the root id that will be assigned to the MySQL root id, if the script creates it. The password to use to run MySQL command to the database as the MySQL root id. This password may be different than the root password on the Management Node. +B - the password for the root id that will be assigned to the MySQL root id, if the script creates it. The password to use to run MySQL command to the database as the MySQL root id. This password may be different than the unix root password on the Management Node. =back @@ -85,6 +85,13 @@ To add hosts from /tmp/xcat/hostlist that can access the xcatd database in MySQL B I<-u> I<-f /tmp/xcat/hostlist> +Where the file contains a host per line, for example: + + node1 + 1.115.85.2 + 10.%.%.% + nodex.cluster.net + =item * To setup the ODBC for MySQL xcatdb database access :