Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95722 - dev-db/mysql-cluster: new mysql-5 ebuilds need init script for ndb_mgmd
Summary: dev-db/mysql-cluster: new mysql-5 ebuilds need init script for ndb_mgmd
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-10 14:56 UTC by Matthew Marlowe (RETIRED)
Modified: 2011-01-13 17:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ndb_mgmd init script (ndb_mgmd,836 bytes, text/plain)
2011-01-13 15:19 UTC, Sandino Araico Sanchez
Details
ndbd init script (ndbd,690 bytes, text/plain)
2011-01-13 15:20 UTC, Sandino Araico Sanchez
Details
Conf file needed for /etc/conf.d/ndb_mgmd (ndb_mgmd,178 bytes, text/plain)
2011-01-13 15:21 UTC, Sandino Araico Sanchez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Marlowe (RETIRED) gentoo-dev 2005-06-10 14:56:30 UTC
if cluster use flag is specified:
setup should create directory /var/lib/mysql-cluster and owned by mysql:mysql
default config file should be placed as /var/lib/mysql-cluster/config.ini
init script should start 'ndb_mgmd' as user mysql in the /var/lib/mysql-cluster directory.
Comment 1 Simon Detheridge 2005-12-06 08:03:18 UTC
To add to this, an init script for ndbd would also be very useful.
Comment 2 Francesco R. (RETIRED) gentoo-dev 2006-03-18 04:19:16 UTC
waited to look at a clean solutions, cluster configurations are still rare and differs one from the other.

For the experienced MySQL admin (you are if using clusteer) it should be easy enough to add the wanted script in /etc/init.d/ and to create the directory in the right places.

Sorry to close this as wontfix but I can't see a clean solution.
Comment 3 Sandino Araico Sanchez 2011-01-13 15:19:12 UTC
Created attachment 259714 [details]
ndb_mgmd init script
Comment 4 Sandino Araico Sanchez 2011-01-13 15:20:08 UTC
Created attachment 259715 [details]
ndbd init script
Comment 5 Sandino Araico Sanchez 2011-01-13 15:21:30 UTC
Created attachment 259717 [details]
Conf file needed for /etc/conf.d/ndb_mgmd
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-01-13 16:43:11 UTC
sandino:
FYI, Upstream strongly recommends only using the separate mysql-cluster sources, and NOT using NDB on the base mysql variant.
Comment 7 Sandino Araico Sanchez 2011-01-13 17:04:51 UTC
As soon as I have dev-db/mysql-cluster compile I will let you know. In the meanwhile, my only successful compile has been dev-db/mysql with +cluster and seems to be working as limited as in every other OS, but fine..
The uploaded init scripts are so trivial that I can't understand why nobody else bothered to upload them in the last 5 years. Since somebody has been asking for them sometime, it means they might be useful for somebody.