SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
Oracle Confidential – Internal/Restricted/Highly Restricted 1
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
1. Chef Workstation Setup and configuration
2. Chef Server Configuration
3. Provision Oracle Public Cloud Instance
Oracle Confidential – Internal/Restricted/Highly Restricted 2
Agenda
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• For this demo, we use
https://manage.chef.io/login
• Create a new account
(or use existing one)
Oracle Confidential – Internal/Restricted/Highly Restricted 3
Chef Server
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Create a new organization (or join an existing one)
Oracle Confidential – Internal/Restricted/Highly Restricted 4
Chef Server
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Download the Starter Kit
Oracle Confidential – Internal/Restricted/Highly Restricted 5
Chef Server
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Download ChefDK from
https://docs.chef.io/install_dk.html
• Install ChefDK
• Do the verification
$ chef verify
Oracle Confidential – Internal/Restricted/Highly Restricted 6
Install ChefDK
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Install a demo chef-repo from the chef-starter kit
–Unzip chef-starter.zip
Oracle Confidential – Internal/Restricted/Highly Restricted 7
Install a demo chef-repo
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Follow the steps of the
following link:
https://github.com/chef-
partners/knife-oraclecloud
• Install Knife-oraclecloud
chef gem install knife-
oraclecloud
Oracle Confidential – Internal/Restricted/Highly Restricted 8
knife-oraclecloud
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Available commands
knife oraclecloud
Oracle Confidential – Internal/Restricted/Highly Restricted 9
knife-oraclecloud
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• List of available images
knife oraclecloud image list --oraclecloud-api-url https://api-
z11.compute.em2.oraclecloud.com --oraclecloud-username cloud.admin --
oraclecloud-password Acstric@8BbY --oraclecloud-domain gse00000525
Oracle Confidential – Internal/Restricted/Highly Restricted 10
knife-oraclecloud
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Check the public keys available to connect to Oracle Cloud
Instances and if needed create a new one.
Oracle Confidential – Internal/Restricted/Highly Restricted 13
OPC SSH Key
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• knife oraclecloud server create --node-name firstChef --ssh-user
opc --sshkeys cloud.admin/myChefKey --identity-file
C:UsersJPINTEDocumentsChefKeysoraclecloud.pem --
oraclecloud-api-url https://api-z11.compute.em2.oraclecloud.com
--image /oracle/public/OL-6.6-20GB-x11-RD --shape oc3 --
hostname firstChef --public-ip pool --oraclecloud-username
cloud.admin --oraclecloud-password Acstric@8BbY --oraclecloud-
domain gse00000525
Oracle Confidential – Internal/Restricted/Highly Restricted 14
Instance creation
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• The instance (firstChef) is under creation
Oracle Confidential – Internal/Restricted/Highly Restricted 15
Instance creation
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• After a while, the instance (fistChef) is created and running !
Oracle Confidential – Internal/Restricted/Highly Restricted 16
Instance creation
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Check the provisioning status from the Chef workstation
Oracle Confidential – Internal/Restricted/Highly Restricted 19
Instance creation
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
OPC Provisioning with Chef
• Check registered nodes from Chef Server
Oracle Confidential – Internal/Restricted/Highly Restricted 21
Instance creation
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Backup slides
Oracle Confidential – Internal/Restricted/Highly Restricted 22

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Introdução ao Oracle NoSQL
Introdução ao Oracle NoSQLIntrodução ao Oracle NoSQL
Introdução ao Oracle NoSQL
 
import data from Oracle Database into Python Pandas Dataframe
import data from Oracle Database into Python Pandas Dataframeimport data from Oracle Database into Python Pandas Dataframe
import data from Oracle Database into Python Pandas Dataframe
 
Optimizing the Enterprise Manager 12c
Optimizing the Enterprise Manager 12cOptimizing the Enterprise Manager 12c
Optimizing the Enterprise Manager 12c
 
Oracle Cloud: Anything as a Service
Oracle Cloud: Anything as a ServiceOracle Cloud: Anything as a Service
Oracle Cloud: Anything as a Service
 
Servlet 4.0 Adopt-a-JSR 10 Minute Infodeck
Servlet 4.0 Adopt-a-JSR 10 Minute InfodeckServlet 4.0 Adopt-a-JSR 10 Minute Infodeck
Servlet 4.0 Adopt-a-JSR 10 Minute Infodeck
 
Oracle SQL Developer for the DBA
Oracle SQL Developer for the DBAOracle SQL Developer for the DBA
Oracle SQL Developer for the DBA
 
JSF 2.3 Adopt-a-JSR 10 Minute Infodeck
JSF 2.3 Adopt-a-JSR 10 Minute InfodeckJSF 2.3 Adopt-a-JSR 10 Minute Infodeck
JSF 2.3 Adopt-a-JSR 10 Minute Infodeck
 
Debugging PL/SQL with Oracle SQL Developer
Debugging PL/SQL with Oracle SQL DeveloperDebugging PL/SQL with Oracle SQL Developer
Debugging PL/SQL with Oracle SQL Developer
 
Oracle SQL Developer for SQL Server?
Oracle SQL Developer for SQL Server?Oracle SQL Developer for SQL Server?
Oracle SQL Developer for SQL Server?
 
Oracle REST Data Services: Options for your Web Services
Oracle REST Data Services: Options for your Web ServicesOracle REST Data Services: Options for your Web Services
Oracle REST Data Services: Options for your Web Services
 
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQLNetherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
 
Omaha rug customer 2 cloud customer facing hcm ppt aug 2014
Omaha rug customer 2 cloud customer facing hcm ppt aug 2014Omaha rug customer 2 cloud customer facing hcm ppt aug 2014
Omaha rug customer 2 cloud customer facing hcm ppt aug 2014
 
Oracle REST Data Services Best Practices/ Overview
Oracle REST Data Services Best Practices/ OverviewOracle REST Data Services Best Practices/ Overview
Oracle REST Data Services Best Practices/ Overview
 
Updated Power of the AWR Warehouse, Dallas, HQ, etc.
Updated Power of the AWR Warehouse, Dallas, HQ, etc.Updated Power of the AWR Warehouse, Dallas, HQ, etc.
Updated Power of the AWR Warehouse, Dallas, HQ, etc.
 
Oracle SQL Developer: 3 Features You're Not Using But Should Be
Oracle SQL Developer: 3 Features You're Not Using But Should BeOracle SQL Developer: 3 Features You're Not Using But Should Be
Oracle SQL Developer: 3 Features You're Not Using But Should Be
 
Managing Oracle Solaris Systems with Puppet
Managing Oracle Solaris Systems with PuppetManaging Oracle Solaris Systems with Puppet
Managing Oracle Solaris Systems with Puppet
 
PL/SQL All the Things in Oracle SQL Developer
PL/SQL All the Things in Oracle SQL DeveloperPL/SQL All the Things in Oracle SQL Developer
PL/SQL All the Things in Oracle SQL Developer
 
[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a Service
[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a Service[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a Service
[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a Service
 
What's New in Oracle SQL Developer for 2018
What's New in Oracle SQL Developer for 2018What's New in Oracle SQL Developer for 2018
What's New in Oracle SQL Developer for 2018
 
Rapid private cloud with oracle vm and oracle openstack for oracle linux
Rapid private cloud with oracle vm and oracle openstack for oracle linuxRapid private cloud with oracle vm and oracle openstack for oracle linux
Rapid private cloud with oracle vm and oracle openstack for oracle linux
 

Ähnlich wie Oracle Public Cloud : Provisioning with Chef

Power of the AWR Warehouse- HotSos Symposium 2015
Power of the AWR Warehouse-  HotSos Symposium 2015Power of the AWR Warehouse-  HotSos Symposium 2015
Power of the AWR Warehouse- HotSos Symposium 2015
Kellyn Pot'Vin-Gorman
 

Ähnlich wie Oracle Public Cloud : Provisioning with Chef (20)

Database as a Service, Collaborate 2016
Database as a Service, Collaborate 2016Database as a Service, Collaborate 2016
Database as a Service, Collaborate 2016
 
Oracle EM12c Release 4 New Features!
Oracle EM12c Release 4 New Features!Oracle EM12c Release 4 New Features!
Oracle EM12c Release 4 New Features!
 
Em13c New Features- Two of Two
Em13c New Features- Two of TwoEm13c New Features- Two of Two
Em13c New Features- Two of Two
 
Kscope Not Your Father's Enterprise Manager
Kscope Not Your Father's Enterprise ManagerKscope Not Your Father's Enterprise Manager
Kscope Not Your Father's Enterprise Manager
 
Oracle Solaris 11 lab agenda
Oracle Solaris 11 lab agendaOracle Solaris 11 lab agenda
Oracle Solaris 11 lab agenda
 
Enhancing Primavera with User Productivity Kit
Enhancing Primavera with User Productivity KitEnhancing Primavera with User Productivity Kit
Enhancing Primavera with User Productivity Kit
 
OOW-TBE-12c-CON7307-Sharable
OOW-TBE-12c-CON7307-SharableOOW-TBE-12c-CON7307-Sharable
OOW-TBE-12c-CON7307-Sharable
 
KSCOPE Cloud Services and the Self Service Portal
KSCOPE Cloud Services  and the Self Service PortalKSCOPE Cloud Services  and the Self Service Portal
KSCOPE Cloud Services and the Self Service Portal
 
Coherence 12.1.3 hidden gems
Coherence 12.1.3 hidden gemsCoherence 12.1.3 hidden gems
Coherence 12.1.3 hidden gems
 
Em13c features- HotSos 2016
Em13c features- HotSos 2016Em13c features- HotSos 2016
Em13c features- HotSos 2016
 
Oracle Cloud Storage Service & Oracle Database Backup Cloud Service
Oracle Cloud Storage Service & Oracle Database Backup Cloud ServiceOracle Cloud Storage Service & Oracle Database Backup Cloud Service
Oracle Cloud Storage Service & Oracle Database Backup Cloud Service
 
Provisioning Oracle Fusion Middleware Environments with Chef and Puppet
Provisioning Oracle Fusion Middleware Environments with Chef and PuppetProvisioning Oracle Fusion Middleware Environments with Chef and Puppet
Provisioning Oracle Fusion Middleware Environments with Chef and Puppet
 
P6 Resource Management in the web
P6 Resource Management in the webP6 Resource Management in the web
P6 Resource Management in the web
 
9thMeetup-20190316-CI/CD 기반의 Microservice 배포
9thMeetup-20190316-CI/CD 기반의 Microservice 배포9thMeetup-20190316-CI/CD 기반의 Microservice 배포
9thMeetup-20190316-CI/CD 기반의 Microservice 배포
 
MySQL in OPC(Oracle Public Cloud)
MySQL in OPC(Oracle Public Cloud)MySQL in OPC(Oracle Public Cloud)
MySQL in OPC(Oracle Public Cloud)
 
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
 
Using MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance ImprovementUsing MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance Improvement
 
Power of the AWR Warehouse- HotSos Symposium 2015
Power of the AWR Warehouse-  HotSos Symposium 2015Power of the AWR Warehouse-  HotSos Symposium 2015
Power of the AWR Warehouse- HotSos Symposium 2015
 
New Not Your Father's Enterprise Manager
New Not Your Father's Enterprise ManagerNew Not Your Father's Enterprise Manager
New Not Your Father's Enterprise Manager
 
MySQL For Linux Sysadmins
MySQL For Linux SysadminsMySQL For Linux Sysadmins
MySQL For Linux Sysadmins
 

Mehr von Jean-Philippe PINTE (9)

Webséminaire DBaaS (Novembre 2014)
Webséminaire DBaaS (Novembre 2014)Webséminaire DBaaS (Novembre 2014)
Webséminaire DBaaS (Novembre 2014)
 
EM12c & MS SQL Server
EM12c & MS SQL ServerEM12c & MS SQL Server
EM12c & MS SQL Server
 
Snap Clone & EM12c - Utilisation Self Service
Snap Clone & EM12c - Utilisation Self ServiceSnap Clone & EM12c - Utilisation Self Service
Snap Clone & EM12c - Utilisation Self Service
 
X as a Service - Pourquoi faire de la facturation ?
X as a Service - Pourquoi faire de la facturation ?X as a Service - Pourquoi faire de la facturation ?
X as a Service - Pourquoi faire de la facturation ?
 
EM12c - Chargeback
EM12c - ChargebackEM12c - Chargeback
EM12c - Chargeback
 
DB Forum 2012 - EM12c & DBaaS
DB Forum 2012 - EM12c & DBaaSDB Forum 2012 - EM12c & DBaaS
DB Forum 2012 - EM12c & DBaaS
 
Enterprise Manager 12c - Demo - Overview
Enterprise Manager 12c - Demo - OverviewEnterprise Manager 12c - Demo - Overview
Enterprise Manager 12c - Demo - Overview
 
Enteprise Manager 12c - Demo - DBaaS
Enteprise Manager 12c - Demo - DBaaSEnteprise Manager 12c - Demo - DBaaS
Enteprise Manager 12c - Demo - DBaaS
 
Enterprise Manager Grid Control & ASLM
Enterprise Manager Grid Control & ASLMEnterprise Manager Grid Control & ASLM
Enterprise Manager Grid Control & ASLM
 

Kürzlich hochgeladen

一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
ayvbos
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
ydyuyu
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Monica Sydney
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Monica Sydney
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
JOHNBEBONYAP1
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
galaxypingy
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
Asmae Rabhi
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Monica Sydney
 

Kürzlich hochgeladen (20)

一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 

Oracle Public Cloud : Provisioning with Chef

  • 1. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef Oracle Confidential – Internal/Restricted/Highly Restricted 1
  • 2. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef 1. Chef Workstation Setup and configuration 2. Chef Server Configuration 3. Provision Oracle Public Cloud Instance Oracle Confidential – Internal/Restricted/Highly Restricted 2 Agenda
  • 3. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • For this demo, we use https://manage.chef.io/login • Create a new account (or use existing one) Oracle Confidential – Internal/Restricted/Highly Restricted 3 Chef Server
  • 4. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Create a new organization (or join an existing one) Oracle Confidential – Internal/Restricted/Highly Restricted 4 Chef Server
  • 5. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Download the Starter Kit Oracle Confidential – Internal/Restricted/Highly Restricted 5 Chef Server
  • 6. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Download ChefDK from https://docs.chef.io/install_dk.html • Install ChefDK • Do the verification $ chef verify Oracle Confidential – Internal/Restricted/Highly Restricted 6 Install ChefDK
  • 7. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Install a demo chef-repo from the chef-starter kit –Unzip chef-starter.zip Oracle Confidential – Internal/Restricted/Highly Restricted 7 Install a demo chef-repo
  • 8. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Follow the steps of the following link: https://github.com/chef- partners/knife-oraclecloud • Install Knife-oraclecloud chef gem install knife- oraclecloud Oracle Confidential – Internal/Restricted/Highly Restricted 8 knife-oraclecloud
  • 9. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Available commands knife oraclecloud Oracle Confidential – Internal/Restricted/Highly Restricted 9 knife-oraclecloud
  • 10. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • List of available images knife oraclecloud image list --oraclecloud-api-url https://api- z11.compute.em2.oraclecloud.com --oraclecloud-username cloud.admin -- oraclecloud-password Acstric@8BbY --oraclecloud-domain gse00000525 Oracle Confidential – Internal/Restricted/Highly Restricted 10 knife-oraclecloud
  • 11. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Check the public keys available to connect to Oracle Cloud Instances and if needed create a new one. Oracle Confidential – Internal/Restricted/Highly Restricted 13 OPC SSH Key
  • 12. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • knife oraclecloud server create --node-name firstChef --ssh-user opc --sshkeys cloud.admin/myChefKey --identity-file C:UsersJPINTEDocumentsChefKeysoraclecloud.pem -- oraclecloud-api-url https://api-z11.compute.em2.oraclecloud.com --image /oracle/public/OL-6.6-20GB-x11-RD --shape oc3 -- hostname firstChef --public-ip pool --oraclecloud-username cloud.admin --oraclecloud-password Acstric@8BbY --oraclecloud- domain gse00000525 Oracle Confidential – Internal/Restricted/Highly Restricted 14 Instance creation
  • 13. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • The instance (firstChef) is under creation Oracle Confidential – Internal/Restricted/Highly Restricted 15 Instance creation
  • 14. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • After a while, the instance (fistChef) is created and running ! Oracle Confidential – Internal/Restricted/Highly Restricted 16 Instance creation
  • 15. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Check the provisioning status from the Chef workstation Oracle Confidential – Internal/Restricted/Highly Restricted 19 Instance creation
  • 16. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | OPC Provisioning with Chef • Check registered nodes from Chef Server Oracle Confidential – Internal/Restricted/Highly Restricted 21 Instance creation
  • 17. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Backup slides Oracle Confidential – Internal/Restricted/Highly Restricted 22

Hinweis der Redaktion

  1. https://manage.chef.io
  2. https://docs.chef.io/install_dk.html https://learn.chef.io/manage-a-node/rhel/get-set-up/
  3. https://github.com/chef-partners/knife-oraclecloud If necessary, download and install ruby : http://rubyinstaller.org/downloads/
  4. knife oraclecloud image list --oraclecloud-api-url https://api-z11.compute.em2.oraclecloud.com --oraclecloud-username cloud.admin --oraclecloud-password AcEntric@8BAbY --oraclecloud-domain gse00000525
  5. knife oraclecloud shape list --oraclecloud-api-url https://api-z11.compute.em2.oraclecloud.com --oraclecloud-username cloud.admin --oraclecloud-password AcEntric@8BAbY --oraclecloud-domain gse00000525
  6. knife oraclecloud server list --oraclecloud-api-url https://api-z11.compute.em2.oraclecloud.com --oraclecloud-username cloud.admin --oraclecloud-password AcEntric@8BAbY --oraclecloud-domain gse00000525
  7. knife oraclecloud server create --node-name firstChef --ssh-user opc --sshkeys cloud.admin/myChefKey --identity-file C:\Users\JPINTE\Documents\Chef\Keys\oraclecloud.pem --oraclecloud-api-url https://api-z11.compute.em2.oraclecloud.com --image /oracle/public/OL-6.6-20GB-x11-RD --shape oc3 --hostname firstChef --public-ip pool --oraclecloud-username cloud.admin --oraclecloud-password AcEntric@8BAbY --oraclecloud-domain gse00000525