| popularity | question | answers | views | user | |
|---|---|---|---|---|---|
| 0 |
Configure SQL master/slave
Hi, Is that possible with chef cookbooks to make a mysql cluster [master/slave] ? does it provide any special attribute to mention the master node ? Thanks for any response |
0 | 41 | ||
| 0 |
ArgumentError: invalid byte sequence in US-ASCII
When I ran “chef-client” on nodes(windows 2008, windows 7) with mysql::server, I got the following error: [2012-08-08T09:55:04+08:00] INFO: Chef 10.12.0 [2012-08-08T09:55:22+08:00] INFO: Run List is [recipe[mysql::server]] [2012-08-08T09:55:22+08:00] INFO: Run List expands to [mysql::server] [2012-08-08T09:55:22+08:00] INFO: Starting Chef Run for node08a.gdeii.com.cn [2012-08-08T09:55:22+08:00] INFO: Running start handlers [2012-08-08T09:55:22+08:00] INFO: Start handlers complete. [2012-08-08T09:55:22+08:00] INFO: Loading cookbooks [chef_handler, mysql, openss l, windows] [2012-08-08T09:55:22+08:00] INFO: Storing updated cookbooks/mysql/recipes/server .rb in the cache. [2012-08-08T09:55:23+08:00] INFO: Could not find previously defined grants.sql r esource [2012-08-08T09:55:23+08:00] INFO: Processing remote_file[c:/chef/cache/mysql-con nector-c-6.0.2-win32.msi] action create (mysql::client line /chef/cache/cookbook s/mysql/recipes/client.rb) [2012-08-08T09:55:23+08:00] INFO: Processing windows_package[MySQL Connector C 6 .0.2] action nothing (mysql::client line /chef/cache/cookbooks/mysql/recipes/cli ent.rb) [2012-08-08T09:55:23+08:00] INFO: Processing windows_path[C:\Program Files (x86) \MySQL\MySQL Connector C 6.0.2\bin] action add (mysql::client line /chef/cache/c ookbooks/mysql/recipes/client.rb) [2012-08-08T09:55:23+08:00] INFO: Processing env[PATH] action modify (c line /ch ef/cache/cookbooks/windows/providers/path.rb) [2012-08-08T09:55:23+08:00] INFO: Processing windows_package[MySQL Connector C 6 .0.2] action nothing (mysql::client line /chef/cache/cookbooks/mysql/recipes/cli ent.rb) [2012-08-08T09:55:23+08:00] INFO: Processing windows_path[C:\Program Files (x86) \MySQL\MySQL Connector C 6.0.2\bin] action add (mysql::client line /chef/cache/c ookbooks/mysql/recipes/client.rb) [2012-08-08T09:55:23+08:00] INFO: Processing env[PATH] action modify (c line /ch ef/cache/cookbooks/windows/providers/path.rb) [2012-08-08T09:55:23+08:00] INFO: Processing windows_package[MySQL Connector C 6 .0.2] action install (mysql::client line /chef/cache/cookbooks/mysql/recipes/cli ent.rb) [2012-08-08T09:55:23+08:00] INFO: Processing gem_package[mysql] action install ( mysql::client line /chef/cache/cookbooks/mysql/recipes/client.rb) NOTE: Gem::SourceIndex.from_gems_in is deprecated with no replacement. It will b e removed on or after 2011-10-01. Gem::SourceIndex.from_gems_in called from C:/opscode/chef/embedded/lib/ruby/gems /1.9.1/gems/chef-10.12.0/lib/chef/provider/package/rubygems.rb:265 . [2012-08-08T09:55:24+08:00] INFO: Processing ruby_block[copy libmysql.dll into r uby path] action create (mysql::client line /chef/cache/cookbooks/mysql/recipes/ client.rb) [2012-08-08T09:55:24+08:00] INFO: Processing remote_file[c:/chef/cache/mysql-5.5 .21-win32.msi] action create (mysql::server line /chef/cache/cookbooks/mysql/rec ipes/server.rb) [2012-08-08T09:55:24+08:00] INFO: Processing windows_package[MySQL Server 5.5] a ction nothing (mysql::server line /chef/cache/cookbooks/mysql/recipes/server.rb) [2012-08-08T09:55:24+08:00] INFO: Processing windows_package[MySQL Server 5.5] a ction install (mysql::server line /chef/cache/cookbooks/mysql/recipes/server.rb) [2012-08-08T09:55:24+08:00] INFO: Processing directory[C:\Program Files (x86)\My
SQL\MySQL Server 5.5] action create (mysql::server line /chef/cache/cookbooks/my
sql/recipes/server.rb)
[2012-08-08T09:55:24+08:00] INFO: Processing windows_path[C:\Program Files (x86)
\MySQL\MySQL Server 5.5\bin] action add (mysql::server line /chef/cache/cookbook
s/mysql/recipes/server.rb)
[2012-08-08T09:55:24+08:00] INFO: Processing env[PATH] action modify (c line /ch
ef/cache/cookbooks/windows/providers/path.rb)
[2012-08-08T09:55:24+08:00] INFO: Processing windows_batch[install mysql service
] action run (mysql::server line /chef/cache/cookbooks/mysql/recipes/server.rb)
[2012-08-08T09:55:24+08:00] INFO: Processing execute[install mysql service] acti
on run (dynamically defined)
[2012-08-08T09:55:24+08:00] INFO: execute[install mysql service] ran successfull
y
[2012-08-08T09:55:24+08:00] INFO: Processing service[mysql] action nothing (mysq
l::server line /chef/cache/cookbooks/mysql/recipes/server.rb)
[2012-08-08T09:55:24+08:00] ERROR: service[mysql] (mysql::server line /chef/cach
e/cookbooks/mysql/recipes/server.rb) has had an error
[2012-08-08T09:55:24+08:00] ERROR: service[mysql] (c:/chef/cache/cookbooks/mysql
/recipes/server.rb:101:in Do anyone know how to solve it ???? Many thanks |
0 | 190 | ||
| 0 | 1 | 644 |
