how to move InfiniDB CE 2.0.2 instance

4 posts / 0 new
Last post
dwnewbie
dwnewbie's picture
Offline
Last seen: 3 years 2 months ago
Joined: Nov 10 2010
Junior Boarder

Posts: 19

Sathya Sundaram
how to move InfiniDB CE 2.0.2 instance

Hi

Can anyone point to documentation or explain the steps on how to move an infiniDB 2.x CE instance on a Linux machine.

Thanks!

davidhill
davidhill's picture
Offline
Last seen: 6 hours 36 min ago
Joined: Oct 27 2009
Administrator

Posts: 595

david hill
Re:how to move InfiniDB CE 2.0.2 instance

InfiniDB is required to run in the path /usr/local/Calpont.

But you can setup a softlink to point /usr/local/Calpont to another place on the linux machine and have it physical be location someon else.

Example:

Move the Calpont DIrectory located here:

/mnt/Calpont2.0

Setup a softlink like so:

# ln -s /mnt/Calpont2.0 /usr/local/Calpont

Does this answer your question?

David H
Calpont

dwnewbie
dwnewbie's picture
Offline
Last seen: 3 years 2 months ago
Joined: Nov 10 2010
Junior Boarder

Posts: 19

Sathya Sundaram
Re:how to move InfiniDB CE 2.0.2 instance

David,

I'm looking to move the instance and the data dirs physically to another machine. Do I need to install it again? can you let me know the steps?

Thanks!

davidhill
davidhill's picture
Offline
Last seen: 6 hours 36 min ago
Joined: Oct 27 2009
Administrator

Posts: 595

david hill
Re:how to move InfiniDB CE 2.0.2 instance

To move an InfiniDB Instance from one server to another, this is assuming the data is local.

// On running server
# service infinidb stop
# cd /usr/local
// here you can either do the scp command I show below or you can tar it up and move it
# scp -R Calpont root@server2:/usr/local/.

// On second server
# cd /usr/local/Calpont/bin
# ./post-install
# ./install-infinidb.sh
# service infinidb start

This should do it, you would basicly have a binary install running on the second server.

David H
Calpont