4.0.1 "/usr/local/Calpont/local/etc no such file"

11 posts / 0 new
Last post
beeks
beeks's picture
Offline
Last seen: 8 months 2 days ago
Joined: Jan 17 2014
Junior Boarder

Posts: 4

Brian Keys
4.0.1 "/usr/local/Calpont/local/etc no such file"

Hello all,

I'm trying to install 4.0.1 from RPM's in Centos 6.4, in a multi server environment (1 UM, 2 PM's.) But I am erroring out during postConfigure. The installer appears to install the 1st PM without errors, but fails while installing the UM (on the same box the script was executing from.)

I'm stumped here. I created a bash script to continually create the missing folders, but it still fails. Same failure on two machines, and I've uninstalled everything multiple times.

Any idea what could be wrong here?

Tail end of the log:

Copy Custom OS files to Module scp -r /usr/local/Calpont/local/etc
root@10.1.1.91:/usr/
local/Calpont/local/.
root@10.1.1.91's password:
[b]/usr/local/Calpont/local/etc: No such file or directory[/b]
0;root@tc-infinidb0:~[root@tc-infinidb0 !]# ERROR

*** Installation ERROR

davidhill
davidhill's picture
Offline
Last seen: 1 month 3 weeks ago
Joined: Oct 27 2009
Administrator

Posts: 595

david hill
Re: 4.0.1 "/usr/local/Calpont/local/etc no such file"

When setting up and installing a multi-node system, you need to install each module on different servers and you want to be installing from pm1. So from the description you provided, it sounds like you are trying to install the User Module on the same Server as the Performance Module #1. This will not work, if you are trying to do a multi-node separate configured system (meaning the UM running on a separate server than the PM), the UM has to be installed on a different server than what you are currently installing from.

David

beeks
beeks's picture
Offline
Last seen: 8 months 2 days ago
Joined: Jan 17 2014
Junior Boarder

Posts: 4

Brian Keys
Re: 4.0.1 "/usr/local/Calpont/local/etc no such file"

David,

Ahh. Yes, I was trying to install from UM1, not PM1. I will give that a shot.

One more question that I'm unsure of. The DBRoot that I assign to each PM, is that storage local to that machine? I'm choosing Internal storage during the installation. Additionally I would like to store the database in a different path. Do I change the path from the UM's Calpont.xml or the Calpont.xml on each PM?

Thanks!

davidhill
davidhill's picture
Offline
Last seen: 1 month 3 weeks ago
Joined: Oct 27 2009
Administrator

Posts: 595

david hill
Re: 4.0.1 "/usr/local/Calpont/local/etc no such file"

On storage, you have a few options. In postConfigure, you can specify internal and that assumes it's using local storage. If you specify external, that is assuming you have mounted the dbroot/data directories mounted to an external drive, like a ext2 disk, using fstab.

Now if you setup internal, you can still have to point to a different location to even an external drive.
The best way is to NOT change the Calpont.xml settings, we don't recommend do that.
BUT to setup a softlink from the InfiniDB directory path to the path you want to point to.
Say on PM1 that has dbroot #1, the softlink might look like:
# ln -s /mnt/data1 /usr/local/Calpont/data1

Then if you do a soft link, make sure the directories that exist in the installed /usr/local/Calpont/data1 have been copied and moved to the new location and the permission are the same.

david

beeks
beeks's picture
Offline
Last seen: 8 months 2 days ago
Joined: Jan 17 2014
Junior Boarder

Posts: 4

Brian Keys
Re: 4.0.1 "/usr/local/Calpont/local/etc no such file"

David,

Thanks again. Installing from PM1 seemed to work. I'll create a soft link to the mount point of the other drives.

One more question. Can a database be stored across multiple dbroots? In my lab here I want to populate a 1TB database for testing purposes, but only have 750GB of space available on each server. That was my motive for splitting into two PM's. If a database cannot be split between dbroots, my other options I'm assuming are some sort of linux trickery to present both volumes on PM1, or mount a NAS.

davidhill
davidhill's picture
Offline
Last seen: 1 month 3 weeks ago
Joined: Oct 27 2009
Administrator

Posts: 595

david hill
Re: 4.0.1 "/usr/local/Calpont/local/etc no such file"

Yes, you can split the database across multiple dbroots. In fact if you have multiple PMs, you have to have multiple dbroots with each PM assigned a dbroot.
More info on dbroots. Lets say you have a system you plan on Maxing out with 5 PMs in the future, but want to start with 1 PM. You would create 5 dbroots and have them assigned to PM1. Then you can added PMs to the system as you grow and can move the dbroots from pm1 to the added pm.

beeks
beeks's picture
Offline
Last seen: 8 months 2 days ago
Joined: Jan 17 2014
Junior Boarder

Posts: 4

Brian Keys
Re: 4.0.1 "/usr/local/Calpont/local/etc no such file"

David,

Another question. postconfigure did not install the idbmySql or Storage Engine services on any machine. Is it OK to install it manually using the RPM?

Thanks for your patience!

Edit: Resolved this issue by installing the two RPM's and running the post-mysqld-install and post-mysql-install scripts.

davidhill
davidhill's picture
Offline
Last seen: 1 month 3 weeks ago
Joined: Oct 27 2009
Administrator

Posts: 595

david hill
Re: 4.0.1 "/usr/local/Calpont/local/etc no such file"

In the separate UM / PM system, it should have installed it on the UM module when it was doing the remote server installation for UM1 in postConfigure. It doesn't need to be installed on PM1, since mySQL doesn't run on the PM. If it didn't install on UM, then you can use rpm to install those 2 packages.
But double check the UM server and see if it installed there.

David

madlinux
madlinux's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: Mar 7 2014
Junior Boarder

Posts: 1

eugene ferreira
2 UM with 2 PM's

 

From whata I have read here, you cannot have an infrastructure of 2 servers running 1 UM and 1PM each in a Multi UM config, is that correct?

I want 2 interfaces to all PM's, the UM's running on the same PM server.

radams
radams's picture
Offline
Last seen: 5 days 8 hours ago
Joined: Jan 3 2011
Administrator

Posts: 492

Robert Adams
2 UM with 2 PM's

 

Hi,

 

If you have two servers, they can be set up as seperate 1 UM and 1 PM. Or they can be setup as combined with UM1/PM1 on one server and UM2/PM2 on the second server.

 

Thanks,

 

Robert

 

 

 

madenghao
madenghao's picture
Offline
Last seen: 4 months 2 weeks ago
Joined: Apr 8 2014
Junior Boarder

Posts: 6

madenghao madenghao
the Hadoop sanity check did not pass

when i am runing /usr/local/Calpont/bin/post-install,there is the following problem:

 

/root/setenv-hdfs-20: line 22: /usr/lib/hadoop/libexec/hadoop-config.sh: No such file or directory
/root/setenv-hdfs-12: line 25: /usr/lib/hadoop/libexec/hadoop-config.sh: No such file or directory
If you are intending to install InfiniDB over Hadoop, the Hadoop sanity check did not pass.
Most likely there is an environment setup conflict.
Please Contact InfiniDB Customer Support.