Hi Ryan, MySQL daemon fails to start on instances. Login to the instance and inspect the MySQL error log.
Regards, Nick On 14 April 2010 08:18, Ryan <[email protected]> wrote: > I would like to be able to use m2.xlarge instances for the custom > mysqllvm64 (EBS) role that we've setup. We've added the following to > enable this support: > > database structure: > added 'm2_xlarge' column to 'farm_stats' > > cron/class.UsageStatsPollerProcess.php: > Line 288: (int)$stat_uptime['m2.xlarge'], > Line 304: m2_xlarge = m2_xlarge+?, > > src/types/enum.X86_64_TYPE.php: > Line 7: const M2_XLARGE = "m2.xlarge"; > > src/types/enum.INSTANCE_FLAVOR.php: > Line 9: const M2_XLARGE = "m2.xlarge"; > > templates/en_US/farm_usage_stats.tpl: > Line 35: <td class="Item" valign="top">{$rows[id].m2_xlarge| > string_format:"%.1f"}</td> > > templates/en_US/farm_usage_ext.tpl: > Lines 63 - 67: > <tr> > <td>m2.xlarge:</td> > <td align="left">{$stats.m2_xlarge} hours</td> > <td align="right">${$stats.m2_xlarge_cost|string_format:"%.2f"}</ > td> > </tr> > > www/server/grids/aws_ec2_amis_list.php: > Line 83: $response["types_x86_64"] = array(0 => "m1.large", 1 => > "m1.xlarge", 2 => "c1.xlarge",3 => "m2.2xlarge", 4 => "m2.4xlarge", 5 > => "m2.xlarge" ); > > www/server/grids/aws_ec2_pricehistory_list.php: > Line 34: $instanceTypes = explode(" ","m1.small m1.large m1.xlarge > c1.medium c1.xlarge m2.2xlarge m2.4xlarge m2.xlarge"); > > www/api/2009-05-07.scalr.wsdl: > Line 247: <xs:element name="m2.xlargeUsage" type="xs:integer" /> > > www/api/docs/2009-05-07.html: > Lines 1613 - 1620: > <TR style=TEXT-ALIGN:left> > <TD style=FONT-FAMILY:Verdana width=15%>Statistics- > >m2.xlargeUsage</TD> > <TD width=50%>m2.xlarge instances usage</TD> > </TR> > > Ever since switching our MySQL instances to this type, we've run into > various errors when scaling, such as: > > /mysql-init.sh Replication (SQL Thread) error: > /mysql-init.sh Replication (I/O Thread) error: > /mysql-init.sh An error occured while executing 'START SLAVE'. > /mysql-init.sh An error occured while executing 'CHANGE MASTER TO', > error message: ERROR 2002 (HY000): Can't connect to local MySQL server > through socket '/var/run/mysqld/mysqld.sock' (2) > > Have we missed or misconfigured anything in adding m2.xlarge support > that would cause replication breakdowns to occur? Any help would be > appreciated. > > Ryan J. Froehlich > > -- > You received this message because you are subscribed to the Google Groups > "scalr-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en.
