From d64b346a223fc4fde6bbd447459a35c718464d98 Mon Sep 17 00:00:00 2001 From: lissav Date: Sun, 18 Jul 2010 12:05:08 +0000 Subject: [PATCH] add additional info on setting up cfgloc git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/db2man | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/perl-xCAT/db2man b/perl-xCAT/db2man index 9f916773c..0def82ec6 100755 --- a/perl-xCAT/db2man +++ b/perl-xCAT/db2man @@ -161,16 +161,18 @@ xCAT allows the use of different database applications, depending on the needs o The default database is SQLite, which is a daemonless, zero-config database. But you could instead choose to use something like postgresql for greater scalability and remote access in the hierarchical/service node case. To use a different database or a different location, create -the file /etc/xcat/cfgloc. The first line of the file should contain something like one of the examples -below: +the file /etc/xcat/cfgloc. + See the appropriate xCAT docuementation for the format of the file for the database you choose. +The following example is for PostgreSQL: + =over 4 -=item SQLite:/var/xcat/cfg +=item SQLite:/var/xcat/cfgloc -=item Pg:dbname=xcat;host=|| +=item Pg:dbname=xcat;host=|| -where mgmtnode is the hostname of the management node adapter on the cluster side +where mgmtnode is the hostname of the management node adapter on the cluster side, and the pgadminuserid and pgadminpasswd is the database admin and password. =back @@ -435,4 +437,4 @@ B, B, B, B EOS3 close FILE; -} \ No newline at end of file +}