To check if your setup is fine you can create a dummy farm and run an 
application role with a micro instance. If it connects and all is well then you 
can move to your custom role. Easier to troubleshoot a standard role. 

If I remember well logs are by default verbose unless you changed them in 
scalr. Look for php file with log config. 

Srini
Sent on my BlackBerry® from Vodafone

-----Original Message-----
From: Fabiano Breves <[email protected]>
Date: Tue, 1 Jan 2013 19:01:55 
To: <[email protected]>
Cc: <[email protected]>
Subject: Re: SCALR 3.5 Open Source on Ubuntu 12.04 - INSTALL GUIDE

Hi Srini,

Yes, I have the Scalr URL setup and also already tried the telnet and 
everything seems allright. That is why am asking about logs, 

Thank you...



On Wednesday, January 2, 2013 12:47:24 AM UTC-2, Srini wrote:
>
> Have you set the Scalr URL in the admin settings? You can also try to 
> telnet to the diff ports to make sure they are open. 
>
> Srini
> Sent on my BlackBerry® from Vodafone
> ------------------------------
> *From: * Fabiano Breves <[email protected] <javascript:>> 
> *Sender: * [email protected] <javascript:> 
> *Date: *Tue, 1 Jan 2013 18:45:36 -0800 (PST)
> *To: *<[email protected] <javascript:>>
> *ReplyTo: * [email protected] <javascript:> 
> *Subject: *Re: SCALR 3.5 Open Source on Ubuntu 12.04 - INSTALL GUIDE
>
> Thanks for the info Sebastian.
>
> Is there anyway to setup the logs for more details ? Or setup other logs 
> usefull to debug the problem ??
>
> In Scalr interface it keeps saying that is attempting to connect to the 
> server, but never does. How long should I wait till it says Connected or 
> gives out an error ?
>
> In the linux box I see the status of importing from the standard output 
> but hours later and nothing changes, In the windows box it doesn't go that 
> far.
>
> I will be checking the version 4.0...
>
> Really appreciate the help. Thanks again.
>
> On Tuesday, January 1, 2013 8:44:39 PM UTC-2, Sebastian Stadil wrote:
>>
>> 4.0 is on github: https://github.com/Scalr/scalr
>>
>> Importing servers into Scalr is possible regardless of deployment method 
>> (enterprise, open source, hosted). So you should be fine.
>>
>> To your second point, Scalr <-> Scalarizr communication is required for 
>> Scalr to manage your infrastructure; if the communication is impeded, 
>> you'll get Alerts in the Scalr interface.
>>
>>
>> On Tue, Jan 1, 2013 at 11:28 AM, Fabiano Breves <[email protected]>wrote:
>>
>>> Thanks Srini,
>>>
>>> I just went back to 3.5 and the admin password issue is gone.
>>>
>>> I am really new to Scalr. I have a few EC2 instances (actually Images - 
>>> but you get the point) on Amazon that I'd like to get them organized under 
>>> a Scalr Farm. They are windows and linux servers. I am trying to use 
>>> Scalarizr and am failing miserably.
>>>
>>> First question I have about Scalarizr is that if it is supposed to work 
>>> with a scalr "standalone" installation ?? I mean, importing servers to 
>>> roles are only possible if one pays for scalr.net services ?
>>>
>>> Sencond is, what type of message I should see in the logs that would 
>>> confirm conectvity between Scalr and Scalarizr. I have ports 8010 and 8013 
>>> opened both ways on both servers. Also have the 8014/UDP opened. I can't 
>>> really see anything wrong in Scalarizr logs. The operation hangs and never 
>>> finishes.
>>>
>>> From scalr dashboard it only shows the attemptive of conection, it never 
>>> connects.
>>>
>>>
>>> Happy new year guys.
>>>
>>>
>>> Can you direct me to the link of 4.0 ?
>>>
>>>
>>> On Tuesday, January 1, 2013 1:42:05 AM UTC-2, Srini wrote:
>>>
>>>> i am running the earlier version of Scalr.  After login as admin, if i 
>>>> click on the admin icon i get a profile option.  This could be a bug.
>>>>
>>>> Srini
>>>>
>>>> On 30-Dec-2012, at 7:56 PM, Fabiano Breves <[email protected]> 
>>>> wrote:
>>>>
>>>> Hi guys,
>>>>
>>>> I realize that this is an old topic but I followed the steps in this 
>>>> thread to install scalr on an Amazon EC2 (within a VPC). I can sign in as 
>>>> admin, create a new user and have this new user setup with Amazon 
>>>> credentials. I also tested the TESTENVIRONMENT.PHP and it passed. My 
>>>> problem is that I can't find a way to change the admin's password. There 
>>>> is 
>>>> no Profile menu option showing at the right upper corner, when you click 
>>>> on 
>>>> the admin icon, there is only the logout option in that menu. But for my 
>>>> regular user id I have a the Profile option and can reset its password 
>>>> whenever I want. Is this a bug or a misconfiguration anywhere ?
>>>>
>>>> anyone has any clues ?
>>>>
>>>> I also tried to change the password directly to the account_user table 
>>>> but it did not work, still have the default password working.
>>>>
>>>> by the way the the version is listed as 3.6.0.
>>>>
>>>> If this is not the right place to ask this I apologize.
>>>>
>>>> Regards,
>>>> Fabiano Breves
>>>>
>>>> On Sunday, August 26, 2012 12:05:00 PM UTC-3, Arya A. wrote:
>>>>
>>>>> I'm fairly certain this is a work in progress (ie, nowhere near 
>>>>> complete and definitely not polished), but it may help someone else out 
>>>>> there.
>>>>>
>>>>> Install *prerequisites *
>>>>> apt-get -y install apache2-mpm-prefork php5 php5-mysql php5-curl 
>>>>> php5-mcrypt php5-snmp
>>>>> apt-get -y install libssh2-php apparmor-utils mailutils bind9 
>>>>> phpmyadmin
>>>>> apt-get -y install php-pear rrdtool librrd-dev libcurl4-openssl-dev 
>>>>> mysql-server snmp
>>>>> # refer 
>>>>> http://wiki.scalr.net/pages/**viewpage.action?pageId=327743<http://wiki.scalr.net/pages/viewpage.action?pageId=327743>
>>>>>
>>>>> echo '$cfg["AllowArbitraryServer"] = TRUE;' >> 
>>>>> /etc/phpmyadmin/config.inc.php
>>>>>
>>>>> Install SCALRexport SCALR_BASE=/usr/local/scalr
>>>>> export SCALR_HOME=$SCALR_BASE/scalr-**home
>>>>> export SCALR_FILES=$SCALR_BASE/scalr-**files
>>>>> export CURRENT=$SCALR_BASE/current
>>>>> export PASSWORD=yourpassword
>>>>>
>>>>> useradd -d $SCALR_BASE -m -r -G www-data,bind scalr
>>>>> usermod -G scalr www-data
>>>>> mkdir -p $SCALR_HOME
>>>>> mkdir -p $SCALR_FILES
>>>>> cd $SCALR_FILES
>>>>>
>>>>> curl -L 
>>>>> https://github.com/Scalr/**scalr/tarball/master<https://github.com/Scalr/scalr/tarball/master>>
>>>>>  scalr-master-$(date '+%Y%m%d').tar.gz
>>>>> cd $SCALR_BASE
>>>>> tar -zxvf $SCALR_FILES/scalr-master-$(**date '+%Y%m%d').tar.gz
>>>>> ln -sf $(ls -rtd1 Scalr* | tail -1)/app current
>>>>>
>>>>>
>>>>> mkdir -p $SCALR_HOME/etc
>>>>> touch $SCALR_HOME/etc/.cryptokey
>>>>> mkdir -p $SCALR_HOME/cache/smarty_bin
>>>>> chmod 2755 $SCALR_BASE
>>>>> chmod -R 2775 $SCALR_HOME/cache
>>>>> cd $CURRENT ; rmdir cache ; ln -sf $SCALR_HOME/cache ; cd $SCALR_BASE
>>>>> chmod 2775 $SCALR_HOME/etc/.cryptokey
>>>>> cd $CURRENT/etc ; ln -sf $SCALR_HOME/etc/.cryptokey ; cd $SCALR_BASE
>>>>> mkdir -p $SCALR_HOME/graphics
>>>>> mkdir -p $SCALR_HOME/rrddata
>>>>> mkdir -p $SCALR_HOME/log
>>>>> chown -R scalr:scalr $SCALR_BASE
>>>>>
>>>>> cp -rp $CURRENT/templates/en_US $SCALR_HOME/cache/smarty_bin/
>>>>>
>>>>> mysql -uroot -e 'create database scalr; grant all on scalr.* to 
>>>>> scalr@localhost identified by "'$PASSWORD'";flush privileges;'
>>>>> mysql -uroot -e 'grant all on *.* to admin@localhost identified by 
>>>>> "'$PASSWORD'" with grant option;flush privileges;'
>>>>> mysql -uscalr -p${PASSWORD} scalr < $CURRENT/../sql/scalr.sql
>>>>>
>>>>> echo 'INSERT INTO `scaling_metrics` (`id`, `client_id`, `env_id`, 
>>>>> `name`, `file_path`, `retrieve_method`, `calc_function`, `algorithm`, 
>>>>> `alias`) VALUES
>>>>> (1, 0, 0, "LoadAverages", NULL, NULL, "avg", "Sensor", "la"),
>>>>> (2, 0, 0, "FreeRam", NULL, NULL, "avg", "Sensor", "ram"),
>>>>> (3, 0, 0, "URLResponseTime", NULL, NULL, NULL, "Sensor", "http"),
>>>>> (4, 0, 0, "SQSQueueSize", NULL, NULL, NULL, "Sensor", "sqs"),
>>>>> (5, 0, 0, "DateAndTime", NULL, NULL, NULL, "DateTime", "time"),
>>>>> (6, 0, 0, "BandWidth", NULL, NULL, NULL, "Sensor", "bw");' | mysql -u 
>>>>> root scalr
>>>>>
>>>>> perl -i -pe 
>>>>> "s/ns1.scalr.net/scalr.**example.org/g<http://ns1.scalr.net/scalr.example.org/g>"
>>>>>  
>>>>> $CURRENT/src/class.DBDNSZone.**php
>>>>>
>>>>> cp -p $CURRENT/src/Scalr/Net/Dns/**Bind/Trans...
>>>>> Show 
>>>>> original<https://groups.google.com/group/scalr-discuss/msg/35d123e1aa3eff51?dmode=source&output=gplain&noredirect>
>>>>>
>>>>

-- 


Reply via email to