{"id":64,"date":"2015-12-07T17:24:00","date_gmt":"2015-12-07T19:24:00","guid":{"rendered":"http:\/\/maxoracle.com\/2015\/12\/07\/make-intelligent-graphics-for-oracle-performance\/"},"modified":"2015-12-07T17:24:00","modified_gmt":"2015-12-07T19:24:00","slug":"make-intelligent-graphics-for-oracle-performance","status":"publish","type":"post","link":"https:\/\/www.soudba.com.br\/?p=64","title":{"rendered":"make intelligent graphics for Oracle Performance"},"content":{"rendered":"<p>On these tutorial we create some graphs for view oracle performance problems and IO .<\/p>\n<p>First step is install oracle docker on Oracle Linux &#8211; 6 or 7. My case i going to study hard to get OCP on linux, and now we use Oracle Linux 7.2, please follow:<\/p>\n<p>https:\/\/blogs.oracle.com\/linux\/entry\/ahoy_cast_off_with_docker<\/p>\n<h2 style=\"color:#555555;font-family:Arial, Verdana, sans-serif;margin-bottom:10px;margin-top:10px;\">Installation<\/h2>\n<h3 style=\"color:#555555;font-family:Arial, Verdana, sans-serif;margin-bottom:10px;margin-top:10px;\">To install Docker on Oracle Linux 6:<\/h3>\n<ol style=\"color:#555555;font-family:Arial, Verdana, sans-serif;font-size:12px;margin:10px 0 10px 17px;\">\n<li style=\"margin-left:15px;\">Enable the&nbsp;<span style=\"white-space:pre-wrap;\"><span style=\"font-family:courier new, courier, monospace;\">ol6_addons<\/span> channel in <span style=\"font-family:courier new, courier, monospace;\">\/etc\/yum.repos.d\/public-yum-ol6.repo<\/span><\/span><span style=\"white-space:pre-wrap;\"><\/span><\/li>\n<li style=\"margin-left:15px;\">Run:<br \/>#&nbsp;<span style=\"font-family:courier new, courier, monospace;\">yum install docker<\/span>&nbsp;<\/li>\n<\/ol>\n<h3 style=\"color:#555555;font-family:Arial, Verdana, sans-serif;margin-bottom:10px;margin-top:10px;\">To install Docker on Oracle Linux 7:<\/h3>\n<ol style=\"color:#555555;font-family:Arial, Verdana, sans-serif;font-size:12px;margin:10px 0 10px 17px;\">\n<li style=\"margin-left:15px;\">Enable the&nbsp;<span style=\"white-space:pre-wrap;\"><span style=\"font-family:courier new, courier, monospace;\">ol7_addons<\/span> channel in <span style=\"font-family:courier new, courier, monospace;\">\/etc\/yum.repos.d\/public-yum-ol7.repo<\/span><\/span><\/li>\n<li style=\"margin-left:15px;\">Run:<br \/>#&nbsp;<span style=\"font-family:courier new, courier, monospace;\">yum install docker<\/span>&nbsp;<\/li>\n<\/ol>\n<div style=\"color:#555555;font-family:Arial, Verdana, sans-serif;font-size:12px;\">\n<h2 style=\"margin-bottom:10px;margin-top:10px;\">Enable btrfs support<\/h2>\n<div style=\"margin-bottom:10px;margin-top:10px;\">Docker uses device-mapper devices as the default storage engine. To switch to using btrfs as the storage engine, ensure that&nbsp;<span style=\"font-family:courier new, courier, monospace;\">\/var\/lib\/docker<\/span>&nbsp;is mounted on a btrfs filesystem. Check&nbsp;<a href=\"http:\/\/docs.oracle.com\/cd\/E37670_01\/E37355\/html\/ol_btrfs.html\" style=\"color:black;\">Chapter 5<\/a>&nbsp;of the&nbsp;<a href=\"http:\/\/docs.oracle.com\/cd\/E37670_01\/E37355\/html\/index.html\" style=\"color:black;\">Oracle Linux Administrator&#8217;s Solutions Guide<\/a>&nbsp;for more details on how to create and mount btrfs filesystems.<\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><strong>To enable btrfs support for Docker on Oracle Linux:<\/strong><\/div>\n<ol style=\"margin:10px 0 10px 17px;\">\n<li style=\"margin-left:15px;\">Ensure that \/var\/lib\/docker is on a btrfs filesystem<\/li>\n<li style=\"margin-left:15px;\">Edit&nbsp;<span style=\"font-family:courier new, courier, monospace;\">\/etc\/sysconfig\/docker<\/span>&nbsp;and add&nbsp;<span style=\"font-family:courier new, courier, monospace;\">&#8220;-s btrfs&#8221;<\/span>&nbsp;to the other_args fields.<\/li>\n<li style=\"margin-left:15px;\">Restart the Docker daemon:<br \/><span style=\"font-family:courier new, courier, monospace;\"># service docker restart<\/span><\/li>\n<\/ol>\n<h2 style=\"margin-bottom:10px;margin-top:10px;\">Enabling and starting Docker<\/h2>\n<div style=\"margin-bottom:10px;margin-top:10px;\">To enable the Docker daemon on system boot and start Docker on OL6:<\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><span style=\"font-family:courier new, courier, monospace;\"># chkconfig docker on<\/span><\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><span style=\"font-family:courier new, courier, monospace;\"># service docker start<\/span><\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\">To enable the Docker daemon on system boot and start Docker on OL7:<\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><span style=\"font-family:'courier new', courier, monospace;\"># systemctl enable docker.service<\/span><\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><span style=\"font-family:'courier new', courier, monospace;\"># systemctl start docker.service<\/span><\/div>\n<ol style=\"margin:10px 0 10px 17px;\"><\/ol>\n<ol style=\"margin:10px 0 10px 17px;\"><\/ol>\n<div>\n<h2 style=\"margin-bottom:10px;margin-top:10px;\">Checking Docker status<\/h2>\n<div style=\"margin-bottom:10px;margin-top:10px;\">To check that Docker is up and running on OL6:<\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><span style=\"font-family:courier new, courier, monospace;\"># service docker status<\/span><\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\">To check that Docker is up and running on OL7:<\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><span style=\"font-family:courier new, courier, monospace;\"># systemctl status docker.service<\/span><\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\">You can also get more information from Docker itself:<\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><span style=\"font-family:courier new, courier, monospace;\"># docker info<\/span><\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><span style=\"font-family:courier new, courier, monospace;\"># docker version<\/span><\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\">Once you have Docker up and running, follow the upstream&nbsp;<a href=\"http:\/\/docs.docker.io\/\" style=\"color:black;\">Docker documentation<\/a>&nbsp;to get started.&nbsp;<\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\">Next step is to get my docker on next post!<\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><\/div>\n<div style=\"margin-bottom:10px;margin-top:10px;\"><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>On these tutorial we create some graphs for view oracle performance problems and IO . First step is install oracle docker on Oracle Linux &#8211; 6 or 7. My case i going to study hard to get OCP on linux, &hellip; <a href=\"https:\/\/www.soudba.com.br\/?p=64\">Continue lendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-docker"],"_links":{"self":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=64"}],"version-history":[{"count":0,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}