I am using BigInsights V1.4 in the cloud (EC2). Many of the components at starup (start-all.sh) issue an ssh command like the following:
ssh "ip-xx-xx-xxx.xxx.ec2.internal" "........some shell script"
The problem I am having is that every time I stop and start the EC2 server, I get a new ip address (ip-xx-xx-xxx.xxx.ec2.internal). Where in BigInsights do I change the ip-xx-xx-xxx.xxx.ec2.internal value so that all the invocations of ssh pickup the correct value??
I thought I had found one for hadoop in a hdm.properties file, but that didn't work.
Thanks for your help,
Pinned topic ssh from start-all.sh failing in the cloud
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-10-24T18:31:04Z at 2012-10-24T18:31:04Z by SystemAdmin
sstarkey 100000NRU59 Posts
Re: ssh from start-all.sh failing in the cloud2012-10-24T18:23:59ZThis is the accepted answer. This is the accepted answer.I have looked using the linux find command, and ip-xx-xx-xxx.xxx.ec2.internal is in properties files and others all over the BigInsights system. I think this is actually a node name. Is there a way at the linux level I can direct references of ip-xx-xx-xxx.xxx.ec2.internal to the new ip address I received after cycling the EC2 server?
I apologize if my questions are trivial. I am a linux and BI newbie. I would greatly appreciate any help someone could provide.
SystemAdmin 110000D4XK603 Posts
Re: ssh from start-all.sh failing in the cloud2012-10-24T18:31:04ZThis is the accepted answer. This is the accepted answer.
- sstarkey 100000NRU5
BigInsights only supports static IP addresses. I am not aware of any workaround.