-
February 9th, 2009 04:53 PM #1
"insert-ethers --dump" equivalent?
Part of our process when installing a new cluster has been to run "insert-ethers --dump" after validation and redirect it to a text file. This file is then kept in case we need to re-install the nodes. Just execute the file, and the database gets rebuilt.
While researching OCS 5 and Kusu, I have not yet been able to find a replacement for this functionality. The closest I have found is "boothost -l" to list the parameters. However, it does not seem to output in a format I can use to restore the database like the --dump flag of insert-ethers.
Is there a command in Kusu/OCS that will perform this functionality?
-
February 19th, 2009 03:46 PM #2
genconfig debug
Hi ShadowAce,
I'm not really sure what 'insert-ethers --dump' does, but I know that there is an easy way to rebuild the Kusu database. Just use the following to get a database dump:
# genconfig debug
You can save this into a file and then use it to rebuild the database. It is similar to 'dbreport bug' option in Rocks.
Hope this helps.
-
February 23rd, 2009 08:34 PM #3
Hi Uncas,
Thanks for the reply.
"insert-ethers --dump" is a Rocks command that dumps the cluster database into a file in a format that if you merely execute the file, it will rebuild the database.
I will look into genconfig debug as well.
Shadow
-
February 24th, 2009 08:21 PM #4
I did a "genconfig debug" and got an error:
pg_dump: [archiver (db)] connection to database "kusudb" failed: FATAL: no pg_hba.conf entry for host "[local]", user "postgres", database "kusudb", SSL off
Any ideas on what I did wrong?
-
February 26th, 2009 12:37 PM #5
Hi
Which version of Kusu are you using?
Code:
cat /etc/kusu-release
-
February 26th, 2009 01:46 PM #6
cat /etc/kusu-release:
Kusu "Platform OCS for Dell" 5 (buld 2039)
-
February 26th, 2009 03:45 PM #7
You could try the following:
# wget http://svn.osgdc.org/browse/~raw,r=4...onfig/debug.py
# genconfig debug
-
February 26th, 2009 04:07 PM #8
Thanks George!
That did the trick. The problem was the plugin was using the postgres user, rather than the "nobody" user.
-
February 26th, 2009 04:24 PM #9
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules