~evarlast/charms/precise/mysql/encoding

« back to all changes in this revision

Viewing changes to README.md

  • Committer: Marco Ceppi
  • Date: 2014-04-29 18:23:07 UTC
  • mfrom: (113.2.13 mysql.lp1281752)
  • Revision ID: marco@ceppi.net-20140429182307-y45hqd8hywn3xari
[hopem] Add support for allowing user to provide an additonal apt source so that packages like ceph (used for rbd volume-backed mysql) can be updated to cloud versions and thus be compatible with the Openstack charms

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
 
91
91
WARNING: Migrating from MySQL to Percona Server in this fashion is currently a one-way migration, once you migrate you cannot migrate back via Juju. 
92
92
 
 
93
To change the source that the charm uses for packages:
 
94
 
 
95
  juju set mysql source="cloud:precise-icehouse"
 
96
 
 
97
This will enable the Icehouse pocket of the Cloud Archive and upgrade the install of any 'cloud' packages to the new version.
 
98
 
 
99
The source option can be used in a few different ways:
 
100
 
 
101
  source="ppa:james-page/testing" - use the testing PPA owned by james-page
 
102
  source="http://myrepo/ubuntu main" - use the repository located at the provided URL
 
103
 
 
104
The charm also supports use of arbitary archive key's for use with private repositories:
 
105
 
 
106
  juju set mysql key="C6CEA0C9"
 
107
 
 
108
Note that in clustered configurations, the upgrade can be a bit racey as the services restart and re-cluster; this is resolvable using:
 
109
 
 
110
  juju resolved --retry mysql/1
 
111
 
93
112
# MySQL and Percona Server Contact Information
94
113
 
95
114
- [MySQL Homepage](http://www.mysql.com)