scalr specific components in base image

6 views
Skip to first unread message

vishnu_s

unread,
Jan 5, 2009, 1:02:23 PM1/5/09
to scalr-discuss
Hi,

What are the Scalr specific components in the base image? I'm trying
to build a customized ami (not from a shared role; I need a CentOS
ami). From a preious post I understood that ssh should be running in
the ami. What other services are needed? Do I need to have smtp or
rrdtool in the base ami?

Alex Kovalyov

unread,
Jan 6, 2009, 7:57:38 AM1/6/09
to scalr-discuss

vishnu_s

unread,
Jan 7, 2009, 7:30:22 AM1/7/09
to scalr-discuss
I installed both the packages. Now what happens is I can bring up and
terminate instances from Scalr. But the state is not getting updated.
It always shows pending. It shows the correct instance id and all.
Also the "uptime" and "placement" have correct values.

I tried with a prebuilt ubuntu ami (role www) and everything is fine
with it. So I think I'm still missing something in the CentOS ami.
Please help me.

On Jan 6, 5:57 pm, Alex Kovalyov <alex.koval...@gmail.com> wrote:
> http://groups.google.com/group/scalr-discuss/browse_frm/thread/28b615...

Nickolas Toursky

unread,
Jan 7, 2009, 7:42:33 AM1/7/09
to scalr-discuss
You also need to add /usr/local/aws/bin/instance-init.sh to
initscripts.
For example, add a line containing this script call to /etc/rc.local
file.

vishnu_s

unread,
Jan 8, 2009, 9:38:52 AM1/8/09
to scalr-discuss
Hi

Thank you, think I'm almost there.
I get the following errors when I run the script

------------------------------------------
# sh /usr/local/aws/bin/instance-init.sh
Stopping snmpd: [ OK ]
Starting snmpd: [ OK ]
INFO: Host 10.249.74.166/base initialized. Awaiting authentication
data.
DEBUG: No scripts to execute on event 'hostInit'.
DEBUG: ec2_submit_event(hostInit): Cannot upload keys on 'i-d13fbbb8'.
Failed to connect to '174.129.137.98:22'.
-------------------------------------------
Reply all
Reply to author
Forward
0 new messages