--
You received this message because you are subscribed to the Google Groups "scalr-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scalr-discuss/-/T2RDRp5LGiQJ.
To post to this group, send email to scalr-...@googlegroups.com.
To unsubscribe from this group, send email to scalr-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en.
Sebastian, I'd be happy to, but as far as I can tell, the wiki hasn't been configured to allow public signups.
On Monday, August 27, 2012 1:10:48 AM UTC+10, Sebastian Stadil wrote:
Thanks for sharing, Arya. Would you care to add this to the Scalr wiki? Might make it easier for others to suggest improvements.
On Mon, Aug 27, 2012 at 12:05 AM, Arya A. <ar...@abdian.id.au> 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
echo '$cfg["AllowArbitraryServer"] = TRUE;' >> /etc/phpmyadmin/config.inc.php
Install SCALR
export 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
ServerAdmin ad...@example.org
ServerName scalr.example.org
DocumentRoot /usr/local/scalr/current/www
ErrorLog \${APACHE_LOG_DIR}/scalr-error.log
CustomLog \${APACHE_LOG_DIR}/scalr-access.log combined
<Directory /usr/local/scalr/current/www>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
Alias /graphics "/usr/local/scalr/scalr-home/graphics"
<Directory /usr/local/scalr/current/www>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
</VirtualHost>
EOF
a2ensite scalr
pecl install rrd
echo 'extension=rrd.so' > /etc/php5/apache2/conf.d/rrd.ini
printf '\n\n\n\n' | pecl install pecl_http
echo 'extension=http.so' > /etc/php5/apache2/conf.d/http.ini
--
You received this message because you are subscribed to the Google Groups "scalr-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scalr-discuss/-/T2RDRp5LGiQJ.
To post to this group, send email to scalr-...@googlegroups.com.
To unsubscribe from this group, send email to scalr-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en.
--
You received this message because you are subscribed to the Google Groups "scalr-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scalr-discuss/-/87qdYRZ652sJ.
To post to this group, send email to scalr-...@googlegroups.com.
To unsubscribe from this group, send email to scalr-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en.
> > 'scalr-discuss...@googlegroups.com');>.
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
--<span style="font-size:15px;font-family:Arial;color:#000000;background-color:...
Show original
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:
<span style="font-size:15px;font-family:Arial;color:#000000;background-color:...
Show original
--
--
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 ?
--<span style="font-size: 12px; font-family: 'Courier New'; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: no...
Show original
<span style="font-size:12px;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertic...
Show original
cp -p $CURRENT/src/Scalr/Net/Dns/Bind/Trans...
Show original
Installed Scalr 4.0 on Ubuntu 12.04 on EC2 - instructions worked like a charm.However, when importing the EC2 server, it stays stuck on "Importing". It finishes the snapshot and the role also shows up but the server state does not change to "Runnning".Any ideas?
On Sunday, August 26, 2012 10:05:00 AM UTC-5, 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
echo '$cfg["AllowArbitraryServer"] = TRUE;' >> /etc/phpmyadmin/config.inc.php
Install SCALR
export 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
ServerAdmin ad...@example.org
ServerName scalr.example.org
DocumentRoot /usr/local/scalr/current/www
ErrorLog \${APACHE_LOG_DIR}/scalr-error.log
CustomLog \${APACHE_LOG_DIR}/scalr-access.log combined
<Directory /usr/local/scalr/current/www>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
Alias /graphics "/usr/local/scalr/scalr-home/graphics"
<Directory /usr/local/scalr/current/www>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
</VirtualHost>
EOF
a2ensite scalr
pecl install rrd
echo 'extension=rrd.so' > /etc/php5/apache2/conf.d/rrd.ini
printf '\n\n\n\n' | pecl install pecl_http
echo 'extension=http.so' > /etc/php5/apache2/conf.d/http.ini--
Hi,
I have installed Scalr using the above steps I am using Cloudstack 3.0.2 to import role but I am getting a issue "Cannot send rebundle message to server. Please check event log for more details."
and my scalarizr stops at
2013-01-17 20:11:30,368 - DEBUG - scalarizr.messaging.p2p.security - Encrypting message
2013-01-17 20:11:30,470 - DEBUG - scalarizr.messaging.p2p.producer - Message 'Hello' delivered (message_id: c90100b5-2968-401a-980f-0a64c5c2771b)
2013-01-17 20:11:30,477 - DEBUG - scalarizr.util.log - Handled on_out_message_send message: Hello
2013-01-17 20:11:30,477 - DEBUG - scalarizr.util.log - Enabling log messaging
2013-01-17 20:11:30,478 - DEBUG - scalarizr.handlers.hooks - Hook on 'hello'() {}
2013-01-17 20:11:30,478 - DEBUG - scalarizr.handlers.hooks - Hook on 'start'() {}
2013-01-17 20:11:30,479 - DEBUG - scalarizr.config - Reading file /etc/scalr/private.d/.state
2013-01-17 20:12:00,643 - DEBUG - scalarizr.messaging.p2p.producer - Sending message 'Log' into queue 'log'
2013-01-17 20:12:00,662 - DEBUG - scalarizr.messaging.p2p.security - Encrypting message
I am able to telnet 8013, 8010, 8008 ports of scalarizr from scalr
Kindly let me know what to do further.
Regrads
Raghuraman B
On Sunday, August 26, 2012 8:35:00 PM UTC+5:30, 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
echo '$cfg["AllowArbitraryServer"] = TRUE;' >> /etc/phpmyadmin/config.inc.php
Install SCALR
export 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
cp -p $CURRENT/src/Scalr/Net/Dns/Bind/Transports/LocalFs.php $CURRENT/src/Scalr/Net/Dns/Bind/Transports/LocalFs.php-dist
perl -i -pe 's/\(!\$retval\)/(\$retval === false)/g' $CURRENT/src/Scalr/Net/Dns/Bind/Transports/LocalFs.php
cp -p $CURRENT/src/structs/struct.CONFIG.php $CURRENT/src/structs/struct.CONFIG.php-dist
ip=$(ifconfig eth0 | grep inet | head -1 | awk ' { print $2 } ' | cut -f2 -d:)
perl -i -pe "s/^(.*PMA_INSTANCE_IP_ADDRESS = ).*/\$1 '$ip';/g" $CURRENT/src/structs/struct.CONFIG.php
for i in CPU LA MEM NET; do
mv $CURRENT/cron/watchers/class.${i}SNMPWatcher.php $CURRENT/cron/watchers/class.${i}SNMPWatcher.php-dist
curl https://raw.github.com/ssrini/scalr/master/cron/watchers/class.${i}SNMPWatcher.php > $CURRENT/cron/watchers/class.${i}SNMPWatcher.php
chown scalr:scalr $CURRENT/cron/watchers/class.${i}SNMPWatcher.php
done
for i in RRD RRDGraph; do
mv $CURRENT/src/LibWebta/library/Data/RRD/class.${i}.php $CURRENT/src/LibWebta/library/Data/RRD/class.${i}.php-dist
curl https://raw.github.com/ssrini/scalr/master/src/LibWebta/library/Data/RRD/class.${i}.php > $CURRENT/src/LibWebta/library/Data/RRD/class.${i}.php
chown scalr:scalr $CURRENT/src/LibWebta/library/Data/RRD/class.${i}.php
done
ServerAdmin ad...@example.org# Add Ubuntu 12.04 to the list of operating systems for Rackspace
cp -p $CURRENT/src/Modules/Platforms/Rackspace/Rackspace.php $CURRENT/src/Modules/Platforms/Rackspace/Rackspace.php-dist
vim $CURRENT/src/Modules/Platforms/Rackspace/Rackspace.php
# around line 48, add this line:
if (!$isManagedOrd1) {
$images['rs-ORD1'] = array(
'112' => array('name' => 'Ubuntu 10.04','os_dist' => 'ubuntu', 'location' => 'rs-ORD1', 'architecture' => 'x86_64'),
'115' => array('name' => 'Ubuntu 11.04','os_dist' => 'ubuntu', 'location' => 'rs-ORD1', 'architecture' => 'x86_64'),
'119' => array('name' => 'Ubuntu 11.10','os_dist' => 'ubuntu', 'location' => 'rs-ORD1', 'architecture' => 'x86_64'),
'125' => array('name' => 'Ubuntu 12.04','os_dist' => 'ubuntu', 'location' => 'rs-ORD1', 'architecture' => 'x86_64'),
'114' => array('name' => 'CentOS 5.6', 'os_dist' => 'centos', 'location' => 'rs-ORD1', 'architecture' => 'x86_64'),
'110' => array('name' => 'RHEL 5.5', 'os_dist' => 'rhel', 'location' => 'rs-ORD1', 'architecture' => 'x86_64')
);
[ -f $CURRENT/etc/config.ini ] && mv $CURRENT/etc/config.ini $CURRENT/etc/config.ini-old
cat > $CURRENT/etc/config.ini <<EOF
[db]
driver=mysqli
host = "localhost"
name = "scalr"
user = "scalr"
pass = "$PASSWORD"
EOF
cat <<EOF> /etc/apache2/sites-available/scalr
<VirtualHost *:80>
ServerName scalr.example.org
DocumentRoot /usr/local/scalr/current/www
ErrorLog \${APACHE_LOG_DIR}/scalr-error.log
CustomLog \${APACHE_LOG_DIR}/scalr-access.log combined
<Directory /usr/local/scalr/current/www>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
Alias /graphics "/usr/local/scalr/scalr-home/graphics"
<Directory /usr/local/scalr/current/www>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
</VirtualHost>
EOF
a2ensite scalr
pecl install rrd
echo 'extension=rrd.so' > /etc/php5/apache2/conf.d/rrd.ini
printf '\n\n\n\n' | pecl install pecl_http
echo 'extension=http.so' > /etc/php5/apache2/conf.d/http.ini
--a2enmod rewrite
service apache2 restart
cat <<EOF> /etc/cron.d/scalr
* * * * * scalr /usr/bin/php /usr/local/scalr/current/cron/cron.php --Scheduler2 >> /usr/local/scalr/scalr-home/log/scheduler.log 2>&1
* * * * * scalr /usr/bin/php /usr/local/scalr/current/cron/cron.php --DNSManagerPoll >> /usr/local/scalr/scalr-home/log/dnsmanagerpoll.log 2>&1
* * * * * scalr /usr/bin/php /usr/local/scalr/current/cron/cron.php --DBQueueEvent >> /usr/local/scalr/scalr-home/log/dbqueueevent.log 2>&1
*/2 * * * * scalr /usr/bin/php /usr/local/scalr/current/cron/cron.php --SzrMessaging >> /usr/local/scalr/scalr-home/log/szrmessaging.log 2>&1
*/2 * * * * scalr /usr/bin/php /usr/local/scalr/current/cron/cron.php --BundleTasksManager >> /usr/local/scalr/scalr-home/log/bundletasksmanager.log 2>&1
*/2 * * * * scalr /usr/bin/php /usr/local/scalr/current/cron/cron.php --UsageStatsPoller >> /usr/local/scalr/scalr-home/log/usagestatspoller.log 2>&1
*/2 * * * * scalr /usr/bin/php /usr/local/scalr/current/cron/cron.php --EBSManager >> /usr/local/scalr/scalr-home/log/ebsmanager.log 2>&1
*/4 * * * * scalr /usr/bin/php /usr/local/scalr/current/cron/cron.php --RDSMaintenance >> /usr/local/scalr/scalr-home/log/rdsmaintenance.log 2>&1
*/10 * * * * scalr /usr/bin/php /usr/local/scalr/current/cron/cron.php --MySQLMaintenance >> /usr/local/scalr/scalr-home/log/mysqlmaintenance.log 2>&1
*/20 * * * * scalr /usr/bin/php /usr/local/scalr/current/cron/cron.php --RolesQueue >> /usr/local/scalr/scalr-home/log/rolesqueue.log 2>&1
17 5 * * * scalr /usr/bin/php /usr/local/scalr/current/cron/cron.php --RotateLogs >> /usr/local/scalr/scalr-home/log/rotatelogs.log 2>&1
* * * * * scalr /usr/bin/php /usr/local/scalr/current/cron-ng/cron.php --ScalarizrMessaging >> /usr/local/scalr/scalr-home/log/scalarizrmessaging.log 2>&1
* * * * * scalr /usr/bin/php /usr/local/scalr/current/cron-ng/cron.php --MessagingQueue >> /usr/local/scalr/scalr-home/log/messagingqueue.log 2>&1
* * * * * scalr /usr/bin/php /usr/local/scalr/current/cron-ng/cron.php --SNMPStatsPoller >> /usr/local/scalr/scalr-home/log/snmpstatspoller.log 2>&1
*/2 * * * * scalr /usr/bin/php /usr/local/scalr/current/cron-ng/cron.php --DeployManager >> /usr/local/scalr/scalr-home/log/deploymanager.log 2>&1
*/2 * * * * scalr /usr/bin/php /usr/local/scalr/current/cron-ng/cron.php --Poller >> /usr/local/scalr/scalr-home/log/poller.log 2>&1
*/2 * * * * scalr /usr/bin/php /usr/local/scalr/current/cron-ng/cron.php --Scaling >> /usr/local/scalr/scalr-home/log/scaling.log 2>&1
*/5 * * * * scalr /usr/bin/php /usr/local/scalr/current/cron-ng/cron.php --DbMsrMaintenance >> /usr/local/scalr/scalr-home/log/dbmsrmaintenance.log 2>&1
EOF
chmod g-w /etc/cron.d/scalr
Configure bind, the DNS server (name daemon)
chmod g+w /etc/bind/named.conf
echo 'include "'$SCALR_HOME'/namedb/zones.include";' >> /etc/bind/named.conf
mkdir -p $SCALR_HOME/namedb
echo '# Zones include file for scalr' > $SCALR_HOME/namedb/zones.include
chown -R scalr.bind $SCALR_HOME/namedb
chmod -R 775 $SCALR_HOME/namedb
chmod g+s $SCALR_HOME/namedb
perl -i -pe 's|client_zones/{name}.db|'$SCALR_HOME'/namedb/{name}.db|g' $CURRENT/src/Scalr/Net/Dns/Zone.php
perl -i -pe 's|/var/named/etc/namedb/client_zones|'$SCALR_HOME'/namedb|g' $CURRENT/cron/class.DNSManagerPollProcess.php
aa-complain /usr/sbin/named
service bind9 restart
That's normal behavior. Simply terminate this server and create a farm with its role in it and you'll be fine.
On Monday, January 14, 2013, Jamba wrote:Installed Scalr 4.0 on Ubuntu 12.04 on EC2 - instructions worked like a charm.However, when importing the EC2 server, it stays stuck on "Importing". It finishes the snapshot and the role also shows up but the server state does not change to "Runnning".Any ideas?
On Sunday, August 26, 2012 10:05:00 AM UTC-5, 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.
--
You received this message because you are subscribed to the Google Groups "scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalr-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.