MySQL OPC_Demo

28
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL OPC Demo Ramana Yeruva Principal Member Technical Staff MySQL,SystemQA December 16, 2016 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

Transcript of MySQL OPC_Demo

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

MySQL OPC Demo

Ramana Yeruva

Principal Member Technical Staff

MySQL,SystemQA

December 16, 2016

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

Safe Harbor Statement

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle's products remains at the sole discretion of Oracle

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 4

Program Agenda(Demo)

Create MySQL Cloud Service Instance

Backup and Restore

Patching and Patch Rollback

Increase Compute Capacity

• Real-Time Monitoring

Q&A

1

2

3

4

5

4Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.

6

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

1. Sign into your account with the information as given to you at the time of the lab here:cloud.oracle.com

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 7

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

2. Select “Public Cloud Services – US” in the “Select Data Center…” box 3. Enter Identity Domain: mysqlsysqa

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

4. Enter credentials: Username and Password: 5. On the MyServices console, you can see all the available services on the account.

Click on the menu to go to MySQL Cloud Service console

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

6. On the ‘Welcome’ page under ‘Discover’ there is an introductory video which we may review before the lab

begins. Note under ‘Learn’ there are links to various roles within the Oracle MySQL Cloud Service On the

right-hand side of the ‘Welcome’ page you see an phone and a chat icon that give you direct communication

with Oracle Support. Click ‘Go to Console’. https://www.youtube.com/watch?

v=xXUlHvAYtiE&feature=youtu.be

7. Click blue button ‘Create Service’

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

8. Services Dashboard

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

9.Service Configuration: Type in the name you want for your MySQL service 10.Service Configuration: Enter details of mysql server,MEM,Backup

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

11. If the validation passes of your entries for your new service, click ‘Create Service’. Note you are getting an

hourly subscription rate (it is of course, free during the lab).

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

12. Click your new service name (in the example ‘sysqa5716’) to see the details of newly created service.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

13. Click ‘Administration’ from your new service page for Backup config.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

14. Click ‘Administration’ from your new service page for Patching

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

15.You are noticing the number of connections to your website has been increasing since your business is growing. You feel having more memory and more disk storage

may increase performance. You want to scale up. With the cloud, you can grow your service without purchasing more hardware.

Click the ‘Oracle MySQL Cloud Service’ menu choice and then click your MySQL service (in this example, sysqa5716’).

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

16.You can also add storage if the initial storage used while creating mysql service is not enough for Database,Backup,Redolog

Click the ‘Oracle MySQL Cloud Service’ menu choice and then click your MySQL service (in this example, sysqa5716’).

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

Real-Time Monitoring

1. You are going to set up a virtual DBA ‘window’ as to what is going on with your service by using the MySQL Enterprise Monitor. First, to access the Enterprise Monitor you need to allow

access to the monitor URL. Click you service name and the menu next to it. Select ‘Access Rules’ from the pull-down menu and click it.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

2. Enterprise Monitor: An access rule “ora_p2admin_em” is automatically created to access Enterprise Monitor from internet. Select ‘Enable’ from the

pull-down menu to enable

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

3. Enterprise Monitor: Click ‘Enable’ in the dialogue box for ‘Enable Access Rule’.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

4. Enterprise Monitor: Click your service menu. From the pulldown menu click ‘Enterprise Monitor URL’ to connect to the Enterprise Monitor.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

5. Enterprise Monitor: Enter the username and password6. Enterprise Monitor: You will see ‘Welcome’ dialogue box, click ‘Save’

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

7. Enterprise Monitor: Under the ‘Dashboard’ tab, click ‘Overview’. Note that the monitor thinks your filesystem may be running out of space based on the

amount of activity - creating the service and increasing its capacity. It proactively let’s you know what is going on with your service.

Expand that area of the Critical Events area to get more details.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

8. Enterprise Monitor: You now see more information. Since you just created the service, you used a chunk of vm space. It is always a good idea to see exactly

where your capacity is growing - the Enterprise Monitor advises you about system resources. This increase in space is most likely not an issue with your

service since a chunk of space was used in a short time while your service was created and expanded.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted

9. Enterprise Monitor: After your system has been running awhile, you may see more activity. Notice the number of connections and what kind of queries have been

running on your service. Take some time to explore the Enterprise Monitor.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Questions &

Answers

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 33