[Rocks-Discuss] mysql and rocksdb

420 views
Skip to first unread message

Nehemiah Dacres

unread,
Dec 15, 2010, 11:23:48 AM12/15/10
to npaci-rocks-discussion
where is the documentation on rocksdb and the shima for the rocks database
for each distribution? Also, how do you safely use mysql on rockscluster
after 5.2 where I specifically remember this being a feature they were
excited about.

--
Nehemiah I. Dacres
System Administrator
Advanced Technology Group Saint Louis University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20101215/66f8001d/attachment.html

Jon Forrest

unread,
Dec 15, 2010, 11:45:54 AM12/15/10
to npaci-rocks...@sdsc.edu
On 12/15/2010 8:23 AM, Nehemiah Dacres wrote:
> where is the documentation on rocksdb and the shima for the rocks database
> for each distribution? Also, how do you safely use mysql on rockscluster
> after 5.2 where I specifically remember this being a feature they were
> excited about.

If you look at
http://marc.info/?l=npaci-rocks-discussion&m=126835460720889&w=2
you'll see a posting I wrote that describes how to add
phpMyAdmin to a Rocks cluster. This is arguably the easiest
way to see the schema of the Rocks database. You can
also use phpMyAdmin to make changes to the Rocks database
although you need to be very careful if you do this.

Cordially,
--
Jon Forrest
Research Computing Support
College of Chemistry
173 Tan Hall
University of California Berkeley
Berkeley, CA
94720-1460
510-643-1032
jlfo...@berkeley.edu

Mason J. Katz

unread,
Dec 15, 2010, 12:22:55 PM12/15/10
to Discussion of Rocks Clusters
We do not document the schema as this is an internal part of Rocks.
The supported interface into the database is through the Rocks command
line. There are still some parts of the database that the command
line does not expose, but in 5.4 we have almost complete coverage.
Think of the command line as the Rocks API. Treat the schema as the
undocumented and unsupported API, and assume it changes in every
release (it does).

mason j. katz
+1.619.800.0655

Nehemiah Dacres

unread,
Dec 16, 2010, 5:31:24 PM12/16/10
to Discussion of Rocks Clusters
thanks for the info but what I'm really after is getting a mysql database
that won't interfere with the rocks database without just up and installing
postgres I want' to put up websites other than the wordpress site.

URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20101216/da8e2994/attachment.html

Philip Papadopoulos

unread,
Dec 16, 2010, 5:37:29 PM12/16/10
to Discussion of Rocks Clusters
Just use the regular mysql server. Rocks uses its own mysql db running on an
alternate port.

-P


--
Philip Papadopoulos, PhD
University of California, San Diego
858-822-3628 (Ofc)
619-331-2990 (Fax)


-------------- next part --------------
An HTML attachment was scrubbed...

URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20101216/ae013b5b/attachment.html

Nehemiah Dacres

unread,
Dec 17, 2010, 10:19:07 AM12/17/10
to Discussion of Rocks Clusters
regular ... I don't think that's possible. I could look at the mysql
documentation but at which step so I start? I ran mysql_install_db but that
did nothing. where do I start the process?

URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20101217/53747d93/attachment.html

Greg Bruno

unread,
Dec 17, 2010, 10:54:46 AM12/17/10
to Discussion of Rocks Clusters
On Fri, Dec 17, 2010 at 7:19 AM, Nehemiah Dacres <dacr...@slu.edu> wrote:
> regular ...  I don't think that's possible. I could look at the mysql
> documentation but at which step so I start?  I ran mysql_install_db but that
> did nothing. where do  I start the process?

to start a vanilla mysql database that won't interfere with the rocks
mysql database, just execute:

# service mysqld start

this will start the database and output helpful info to get you started.

- gb

Gijs Koppers

unread,
Mar 2, 2011, 9:35:27 AM3/2/11
to Discussion of Rocks Clusters
Hi,

I tried to start an extra mysql database according to the post below but get
the following result

# /sbin/service mysqld status
mysqld (pid 5615) is running...

checking the rocks database pid

# more /var/opt/rocks/mysql/cluster.pid
5615

Shows that the mysqld service belongs to the rocks database.

How do I start an extra database?

Regards Gijs Koppers

"Hung-Sheng Tsao (Lao Tsao 老曹) Ph. D."

unread,
Mar 2, 2011, 10:47:37 AM3/2/11
to npaci-rocks...@sdsc.edu

hi
in r5.4
there are two services
mysqld
foundation-mysql
if you do chkconfig --list |grep mysql
you will see that mysqld is off
if you just run
service mysqld start
it will create another instance mysql:-)
regards

-------------- next part --------------
A non-text attachment was scrubbed...
Name: laotsao.vcf
Type: text/x-vcard
Size: 343 bytes
Desc: not available
Url : https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110302/6652f648/laotsao.vcf

Nehemiah Dacres

unread,
Mar 2, 2011, 12:58:35 PM3/2/11
to Discussion of Rocks Clusters
thank you.

--

Nehemiah I. Dacres
System Administrator
Advanced Technology Group Saint Louis University
-------------- next part --------------
An HTML attachment was scrubbed...

URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20110302/f18a8d09/attachment.html

Reply all
Reply to author
Forward
0 new messages