Hi Doug, Thanks a lot for your quick response. Once the log directory is changed to /var/opt, is there any way to restore the settings back? We will definitely try to create this cron entry to remove old logs.
Hypertable doesnt come up when the IP address of the machine gets changed, we can probably use the latest version of Hypertable in our project which can be setup on EBS volume. But can we migrate the current data from our existing database to the new version? Because .tsv files created from 0.9.2.3 version could not be restored on 0.9.2.7 version. Thanks Vivek On Apr 13, 2:19 am, Doug Judd <[email protected]> wrote: > Hi Vivek, > > Currently there is no way point the log directory somewhere else. The best > way to accomplish this is to install Hypertable and then make the log > directory a symbolic link pointing to another directory. If you run the > script bin/fhsize.sh, it will point the log directory to /var/opt and the > conf directory to /etc/opt. If you want to prune out old logs, you can set > up a crontab entry with a command like the following: > > find $HYPERTABLE_HOME/log/archive -mtime $keep_days -exec rm -rf {} + > > Also, to run Hypertable on EC2, you need to be using the 0.9.3.* version. > The system uses address proxies instead of IP addresses which allows > Hypertable to get setup on an EBS volume and then shut down and then > restarted on a different set of EC2 instances. We're coming out with a > 0.9.3.1 release either tomorrow or the next day, so it's worth picking up > that release as soon as it's available. > > - Doug > > On Mon, Apr 12, 2010 at 4:39 AM, [email protected] > <[email protected]>wrote: > > > > > Hi, > > > I am using hypertable 0.9.2.7. We have deployed our database on Amazon > > cloud. Since the size of the root filesystem is limited on Amazon, we > > have attached a separate device to get more free space (EBS volume). > > Now we want to configure Hypertable in such a way that it should > > create logs at some specified path on the EBS volume (not the default > > path which is /opt/hypetable/0.9.2.7/log). Is there any way to do > > that? > > > One more thing, is there any way to stop logging? Because once the > > Hypertable services start, we hardly need these logs, which > > unnecessary occupy disk space. > > > Thanks > > Vivek > > > -- > > You received this message because you are subscribed to the Google Groups > > "Hypertable Development" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<hypertable-dev%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/hypertable-dev?hl=en.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Hypertable Development" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hypertable-dev?hl=en.
