tag:blogger.com,1999:blog-16959946.post9115054394825065689..comments2023-12-09T16:44:47.897+01:00Comments on The Data Charmer: MySQL Sandbox 2.0.13 with improved featuresGiuseppe Maxiahttp://www.blogger.com/profile/15801583338057324813noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-16959946.post-31683425983416717932009-03-13T13:30:00.000+01:002009-03-13T13:30:00.000+01:00@ReneL,Thanks for your comments.About make_replica...@ReneL,<BR/>Thanks for your comments.<BR/>About make_replication_sandbox and upper_directory, can you <A HREF="https://bugs.launchpad.net/mysql-sandbox" REL="nofollow">file a bug</A> with an example? this script is supposed to take upper_directory into account. Make sure that you include the desired result and the actual result in your report.<BR/><BR/>Interactivity for group installation can be done. I opened a <A HREF="https://blueprints.launchpad.net/mysql-sandbox/+spec/interactivity-for-group-sandbox" REL="nofollow">blueprint</A> for this task.<BR/><BR/>Remote installation is in the blueprints, but I will need help and time to complete it. Patches are welcome!<BR/><BR/>GiuseppeGiuseppe Maxiahttps://www.blogger.com/profile/15801583338057324813noreply@blogger.comtag:blogger.com,1999:blog-16959946.post-64838319635362614262009-03-11T10:45:00.000+01:002009-03-11T10:45:00.000+01:00First of all many thanks for these wonderful scrip...First of all many thanks for these wonderful scripts, they make setting up replication scenarios very easy!<BR/><BR/>I found 2 problems in MySQL Sandbox 2.0.15:<BR/>In contrast to make_sandbox, make_replication_sandbox does not take --upper_directory into account.<BR/><BR/>Instead, only SANDBOX_HOME will be used if available, otherwise the default /root/sandboxes is used.<BR/><BR/>In addition, there is no default interactive "do you agree? ([Y],n)" like with make_sandbox, wich is very useful to control the parameter interpretation.<BR/><BR/>And the last point: you still do not want to install, move or rewrite installed files in order to (prepare) remote server deployments? :)René Leonhardthttps://www.blogger.com/profile/15719539687515911885noreply@blogger.comtag:blogger.com,1999:blog-16959946.post-56282968986590702432009-02-02T12:38:00.000+01:002009-02-02T12:38:00.000+01:00Darren,if you look at the code for make_sandbox, y...Darren,<BR/>if you look at the code for make_sandbox, you will see that this is exactly what it does.<BR/>The problem is that the native "tar" has problems with longlinks, and doesn't handle them graciously.<BR/>"gtar", instead, doesn't complain at all.<BR/>If your "tar" is dynamically linked to "gtar", then you wouldn't have problems even in previous versions.<BR/><BR/>GiuseppeGiuseppe Maxiahttps://www.blogger.com/profile/15801583338057324813noreply@blogger.comtag:blogger.com,1999:blog-16959946.post-90119162700615961882009-02-02T12:19:00.000+01:002009-02-02T12:19:00.000+01:00Hi again,I had no doubt you did know about the wor...Hi again,<BR/>I had no doubt you did know about the workaround but not everybody duess I guess :).<BR/>I'm not much of a dev myself but wouldn't it be possible to check uname and if OS is found to be solaris just make the `make_replication_sandbox` do a gunzip < mysql-x.x.xx-solaris10-sparc-64bit.tar.gz | tar xf - itself?<BR/><BR/>the lazier the better right? :)<BR/><BR/>-DDarren Cassarhttps://www.blogger.com/profile/07815278684274897873noreply@blogger.comtag:blogger.com,1999:blog-16959946.post-7738358192415859572009-02-02T12:14:00.000+01:002009-02-02T12:14:00.000+01:00Darren,yes, I know of this workaround, of course. ...Darren,<BR/>yes, I know of this workaround, of course. <BR/>It doesn't help when you want to quick test a binary distribution. The purpose of the Sandbox is to make you completely lazy. If I can avoid the two steps you mentioned (which make_sandbox does), I would be happier!<BR/><BR/>GiuseppeGiuseppe Maxiahttps://www.blogger.com/profile/15801583338057324813noreply@blogger.comtag:blogger.com,1999:blog-16959946.post-79767148010407320012009-02-02T12:04:00.000+01:002009-02-02T12:04:00.000+01:00Hi Giuseppe,tar is truly a common problem on solar...Hi Giuseppe,<BR/><BR/>tar is truly a common problem on solaris for auto installation, but I guess it is easier to get around it by:<BR/>dcassar@mysqlpreacher $ gunzip < mysql-5.1.30-solaris10-sparc-64bit.tar.gz | tar xf -<BR/>dcassar@mysqlpreacher $ ln -s mysql-5.1.30-solaris10-sparc-64bit.tar 5.1.30 <BR/><BR/>and using the ./make_replication_sandbox 5.1.30 which works brilliantly on my solaris sparc boxDarren Cassarhttps://www.blogger.com/profile/07815278684274897873noreply@blogger.com