Quantcast
Channel: Skant Gupta – ORACLE-HELP
Viewing all 171 articles
Browse latest View live

Oracle Cloud Infrastructure 2019 (1Z0-1072)

$
0
0

Hi Readers

Finally, I’ve successfully passed 1Z0-1072Oracle Cloud Infrastructure 2019 Architect Associate. It was almost more than 2-3 months that I’ve been preparing for this.

The Exam contains 66 questions related to OCI which includes storage, VCN, IAM, Compute, DNS etc.. To earn this certification you need to get 65% marks.

This was the result of the journey: Oracle Cloud Infrastructure 2019 Certified Architect Associate

In this post you will find:

  • A path to achieve it
  • Study Materials
  • Exam Detail & Score

How to Achieve this Certification?

Before appearing to this exam you must have the vast knowledge of OCI & it’s features and components.

List of exam topics

  • Identity and Access Management
  • Networking
  • Advanced Networking Concepts
  • Instantiating a Load Balancer
  • Compute
  • Storage
  • Launching Bare Metal and Virtual Compute Instances
  • Database
  • Advanced Database
  • Architecting Best Practices

For more detail, you can follow the below link.

https://education.oracle.com/oracle-cloud-infrastructure-2019-architect-associate/pexam_1Z0-1072

How to prepare for the exam?

There is only one way to study for this exam

  1. Oracle Cloud Infrastructure Learning Subscription
  2. Study Guide
  3. Foundation Training

How to register for the exam?

If you want to enroll exam, please click on below link.

Go to Pearson Site: http://www.pearsonvue.com/oracle

Exam Number: 1Z0-1072

Exam Title: Oracle Cloud Infrastructure 2018 Architect Associate

https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=654&get_params=p_id:538

Below are the Exam Details related to scoring.

https://education.oracle.com/oracle-cloud-infrastructure-2019-architect-associate/pexam_1Z0-1072

There is a nice post from my fellow DBA – Alex Zaballa

You Should Avoid Brain Dumps When Preparing for Certifications

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

The post Oracle Cloud Infrastructure 2019 (1Z0-1072) appeared first on ORACLE-HELP.


Oracle Cloud Infrastructure Foundations 2020 (1Z0-1085-20)

$
0
0

Hi Readers

Finally, I’ve successfully passed 1Z0-1085-20, Oracle Cloud Infrastructure Foundations 2020 Associate. It was almost more than 2-3 weeks that I’ve been preparing for this.

The Exam contains 60 questions related to OCI which includes cloud concept, core OCI services etc.. To earn this certification you need to get 68% marks.

This was the result of the journey: Oracle Cloud Infrastructure Foundations 2020 Certified Associate

In this post you will find:

  • A path to achieve it
  • Study Materials
  • Exam Detail & Score

How to Achieve this Certification?

Before appearing to this exam you must have the basic knowledge of OCI & it’s features andcomponents.

List of exam topics

  • Cloud Concepts
  • Getting Started with OCI
  • Core OCI Services
  • Security and Compliance
  • OCI Pricing, Support and Operations

For more detail, you can follow the below link.

https://education.oracle.com/oracle-cloud-infrastructure-2019-architect-associate/pexam_1Z0-1085-20

How to prepare for the exam?

There is only one way to study for this exam for enrolling FREE cloud learning.

  1. Understanding OCI Foundation Subscription.

How to register for the exam?

If you want to enroll exam, please click on below link.

Go to Pearson Site: http://www.pearsonvue.com/oracle

Exam Number: 1Z0-1085-20

Exam Title: Oracle Cloud Infrastructure Foundations 2020 Certified Associate

Below are the Exam Details related to scoring.

There is a nice post from my fellow DBA – Alex Zaballa

You Should Avoid Brain Dumps When Preparing for Certifications

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

The post Oracle Cloud Infrastructure Foundations 2020 (1Z0-1085-20) appeared first on ORACLE-HELP.

Configure Chef Knife Plugin in OCI

$
0
0

Chef is a configuration management tool for dealing with machine setup on physical servers, virtual machines and in the cloud. Chef Infra is a powerful automation platform that transforms infrastructure into code. Whether you’re operating in the cloud, on-premises, or in a hybrid environment, Chef Infra automates how infrastructure is configured, deployed, and managed across your network, no matter its size. The knife-oci plugin allows users to interact with Oracle Cloud Infrastructure through Chef Knife.

  • After the verify your account, you have to login now.

  • Now, create one organization. An organization is the top-level entity for role-based access control in the Chef server.

  • Provide the Full name  and short name, then click on Create Organization.

  • Download the Chef Repo by clicking on Download Starter Kit in your Chef workstation.

  • In Chef Workstation host, unzip the chef repo.
[root@chefserver ~]# ls
chef-starter.zip

[root@chefserver ~]# unzip chef-starter.zip
Archive:  chef-starter.zip
  inflating: chef-repo/README.md
   creating: chef-repo/cookbooks/
  inflating: chef-repo/cookbooks/chefignore
   creating: chef-repo/cookbooks/starter/
  inflating: chef-repo/cookbooks/starter/metadata.rb
   creating: chef-repo/cookbooks/starter/files/
   creating: chef-repo/cookbooks/starter/files/default/
  inflating: chef-repo/cookbooks/starter/files/default/sample.txt
   creating: chef-repo/cookbooks/starter/templates/
   creating: chef-repo/cookbooks/starter/templates/default/
  inflating: chef-repo/cookbooks/starter/templates/default/sample.erb
   creating: chef-repo/cookbooks/starter/attributes/
  inflating: chef-repo/cookbooks/starter/attributes/default.rb
   creating: chef-repo/cookbooks/starter/recipes/
  inflating: chef-repo/cookbooks/starter/recipes/default.rb
  inflating: chef-repo/.gitignore
   creating: chef-repo/.chef/
   creating: chef-repo/roles/
  inflating: chef-repo/.chef/knife.rb
  inflating: chef-repo/roles/starter.rb
  inflating: chef-repo/.chef/oraclehelp.pem

[root@chefserver ~]# ls
chef-repo  chef-starter.zip
  • Now install to ChefDK. The ChefDK contains all the tools you need to develop and test your infrastructure
[root@chefserver ~]# wget https://packages.chef.io/files/stable/chefdk/4.7.73/el/7/chefdk-4.7.73-1.el7.x86_64.rpm                                                                            

Resolving packages.chef.io (packages.chef.io)... 199.232.66.110
Connecting to packages.chef.io (packages.chef.io)|199.232.66.110|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 85946453 (82M) [application/x-rpm]
Saving to: ‘chefdk-4.7.73-1.el7.x86_64.rpm’

100%[===================================================================================================================================================>] 85,946,453   128MB/s   in 0.6s

2020-03-05 11:06:09 (128 MB/s) - ‘chefdk-4.7.73-1.el7.x86_64.rpm’ saved [85946453/85946453]

[root@chefserver ~]# ls
chefdk-4.7.73-1.el7.x86_64.rpm  chef-repo  chef-starter.zip


[root@chefserver ~]# rpm -ivh chefdk-4.7.73-1.el7.x86_64.rpm
warning: chefdk-4.7.73-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:chefdk-4.7.73-1.el7              ################################# [100%]
Thank you for installing ChefDK!
You can find some tips on getting started at https://learn.chef.io

[root@chefserver ~]# chef -v
ChefDK version: 4.7.73
Chef Infra Client version: 15.7.32
Chef InSpec version: 4.18.51
Test Kitchen version: 2.3.4
Foodcritic version: 16.2.0
Cookstyle version: 5.20.0

[root@chefserver ~]#
  • Install Knife plugin to use with OCI.
[root@chefserver ~]# chef gem install knife-oci
+---------------------------------------------+
            Chef License Acceptance

Before you can continue, 3 product licenses
must be accepted. View the license at
https://www.chef.io/end-user-license-agreement/

Licenses that need accepting:
  * Chef Development Kit
  * Chef Infra Client
  * Chef InSpec

Do you accept the 3 product licenses (yes/no)?

> yes

Persisting 3 product licenses...
? 3 product licenses persisted.

+---------------------------------------------+

Fetching oci-2.7.0.gem
Fetching knife-oci-2.0.2.gem
WARNING:  You don't have /root/.chefdk/gem/ruby/2.6.0/bin in your PATH,
          gem executables will not run.
Successfully installed oci-2.7.0
Successfully installed knife-oci-2.0.2
2 gems installed
[root@chefserver ~]#

 

Following are the knife-oci plugin commands available.

  1. knife oci ad list
  2. knife oci compartment list
  3. knife oci image list
  4. knife oci server create
  5. knife oci server delete
  6. knife oci server list
  7. knife oci server show
  8. knife oci shape list
  9. knife oci subnet list
  10. knife oci vcn list
  • Collect your OCI account details for connection and save it into file.
  1.  User OCID
  2.  API KEY in PEM format
  3.  Fingerprint
  4.  Tenancy OCID
  5.  Region
  6.  Compartment OCID (Optional)
[root@chefserver ~]# cat /root/oci.txt
[DEFAULT]

user=ocid1.user.oc1..aaaaaaaag4xxjns4f5edfewlrjz7y74cgtbggdhnc6zzpmbkicgrxki6ftya

fingerprint=a3:a1:70:58:fc:e1:0e:7a:2a:13:b6:12:e1:26:19:9a

key_file=/root/.oci/oci_api_key.pem

tenancy=ocid1.tenancy.oc1..aaaaaaaasf5piu7vbf72x2ortivvc5wdisajtpwoupt66qkcdn5v74lgcrvq

region=us-ashburn-1
[root@chefserver ~]#
  • Configure knife-oci plugin configuration file (kinfe.rb).
[root@chefserver ~]# cd /root/chef-repo/.chef
[root@chefserver .chef]# cat knife.rb
# See http://docs.chef.io/config_rb_knife.html for more information on knife configuration options

current_dir = File.dirname(__FILE__)
log_level                :info
log_location             STDOUT
node_name                "oraclehelp"
client_key               "#{current_dir}/oraclehelp.pem"
chef_server_url          "https://api.chef.io/organizations/oraclehelp"
cookbook_path            ["#{current_dir}/../cookbooks"]

knife[:oci_config_file] = '/root/oci.txt'
knife[:compartment_id] = 'ocid1.compartment.oc1..aaaaaaaahezm67s5hcf2pqbxtw6omyukbdevqycn5vxzylisuojd6hj5jx6q'
[root@chefserver .chef]#
  • Now test the OCI connection with Knife command to verify it.
  •  
[root@chefserver .chef]# knife oci ad list
/root/.chefdk/gem/ruby/2.6.0/gems/oci-2.7.0/lib/oci/identity/models/base_tag_definition_validator.rb:20: warning: already initialized constant OCI::Identity::Models::BaseTagDefinitionValidator::VALIDATOR_TYPE_ENUM
/root/.chefdk/gem/ruby/2.6.0/gems/oci-2.7.0/lib/oci/identity/models/base_tag_definition_validator.rb:21: warning: previous definition of VALIDATOR_TYPE_ENUM was here
yQUJ:US-ASHBURN-AD-1
yQUJ:US-ASHBURN-AD-2
yQUJ:US-ASHBURN-AD-3
[root@chefserver .chef]#

 

The post Configure Chef Knife Plugin in OCI appeared first on ORACLE-HELP.

Provision and Manage Resources In Oracle Cloud Infrastructure (OCI) with Chef Knife Plugin

$
0
0

In the previous post, we configure the Chef Knife Plugin in Oracle Cloud Infrastructure (OCI).

Configure Chef Knife Plugin in OCI

Now, we can provision & manage resources in in Oracle Cloud Infrastructure (OCI) with Chef Knife Plugin.

  • Create a VM compute instance with Knife command.
[root@chefserver ~]# knife oci server create --availability-domain 'yQUJ:US-ASHBURN-AD-3' --compartment-id 'ocid1.compartment.oc1..aaaaaaaahezm67s5hcf2pqbxtw6omyukbdevqycn5vxzylisuojd6hj5jx6q' --image-id 'ocid1.image.oc1.iad.aaaaaaaavzjw65d6pngbghgrujb76r7zgh2s64bdl4afombrdocn4wdfrwdq' --shape 'VM.Standard2.1' --subnet-id 'ocid1.subnet.oc1.iad.aaaaaaaauxtyvarfkwdmo763gg75gcqiyvqgnlibxrzstfhdcpsbkh35er2a' --display-name ChefKnifeServer --ssh-authorized-keys-file ~/.ssh/id_rsa.pub --identity-file ~/.ssh/id_rsa --region 'us-ashburn-1' -c /root/chef-repo/.chef/knife.rb -N ChefKnifeServer -r 'sudo -i'

/root/.chefdk/gem/ruby/2.6.0/gems/oci-2.7.0/lib/oci/identity/models/base_tag_definition_validator.rb:20: warning: already initialized constant OCI::Identity::Models::BaseTagDefinitionValidator::VALIDATOR_TYPE_ENUM
/root/.chefdk/gem/ruby/2.6.0/gems/oci-2.7.0/lib/oci/identity/models/base_tag_definition_validator.rb:21: warning: previous definition of VALIDATOR_TYPE_ENUM was here
Launched instance 'ChefKnifeServer' [ocid1.instance.oc1.iad.anuwcljtjcisnjiclykwz2nrpz2j2og4ljwa77xrghqh4nvcu63igqkb23ga]
Waiting for instance to reach running state........................................done
Instance 'ChefKnifeServer' is now running.
Waiting for ssh access...done
Bootstrapping with node name 'ChefKnifeServer'.
Connecting to 150.136.164.64
WARNING: Failed to authenticate opc to 150.136.164.64 - trying password auth
Enter password for opc@150.136.164.64.

Connecting to 150.136.164.64
The authenticity of host '150.136.164.64 ()' can't be established.
fingerprint is SHA256:FVmHbHx/10A1n6MwTGTVGoyZI49EW2LiPsfLK9rzrvA.

Are you sure you want to continue connecting
? (Y/N) N
You said no, so I'm done here.
[root@chefserver ~]#
  • Now go to OCI console and verify it. It must be in Provisioning State.

  • After couple of minutes, Instance will be running.

  • Now, let’s add the bootstrapper in new instance as client of Chef Server. Bootstrapping is done through SSH only, and uses the public IP address.  You can create your in reciepe cookbook pass it as run-list. A run-list defines all of the information necessary for Chef to configure a node into the desired state.
[root@chefserver ~]# knife bootstrap 150.136.164.64 -U opc -i '~/.ssh/id_rsa' -N 'ChefKnifeServer' --sudo 'sudo -i'
Connecting to 150.136.164.64
The authenticity of host '150.136.164.64 ()' can't be established.
fingerprint is SHA256:FVmHbHx/10A1n6MwTGTVGoyZI49EW2LiPsfLK9rzrvA.

Are you sure you want to continue connecting
? (Y/N) Y
Connecting to 150.136.164.64
Creating new client for ChefKnifeServer
Creating new node for ChefKnifeServer
Bootstrapping 150.136.164.64
 [150.136.164.64] -----> Installing Chef Omnibus (stable/15)
 [150.136.164.64] downloading https://omnitruck.chef.io/chef/install.sh
  to file /tmp/install.sh.11807/install.sh
 [150.136.164.64] trying wget...
 [150.136.164.64] el 7 x86_64
 [150.136.164.64] Getting information for chef stable 15 for el...
 [150.136.164.64] downloading https://omnitruck.chef.io/stable/chef/metadata?v=15&p=el&pv=7&m=x86_64
 [150.136.164.64]   to file /tmp/install.sh.11812/metadata.txt
 [150.136.164.64] trying wget...
 [150.136.164.64] sha1  15ee4fd0df70b3e3f320d4ebcefd250583086006
sha256  57cdf26636ffd876277dcc865d70df34a178ad2ef99f36121dc576bf07f98894
url     https://packages.chef.io/files/stable/chef/15.8.23/el/7/chef-15.8.23-1.el7.x86_64.rpm
version 15.8.23
 [150.136.164.64]
 [150.136.164.64] downloaded metadata file looks valid...
 [150.136.164.64] downloading https://packages.chef.io/files/stable/chef/15.8.23/el/7/chef-15.8.23-1.el7.x86_64.rpm
  to file /tmp/install.sh.11812/chef-15.8.23-1.el7.x86_64.rpm
 [150.136.164.64] trying wget...
 [150.136.164.64] Comparing checksum with sha256sum...
 [150.136.164.64] Installing chef 15
 [150.136.164.64] installing with rpm...
 [150.136.164.64] warning: /tmp/install.sh.11812/chef-15.8.23-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
 [150.136.164.64] Preparing...
 [150.136.164.64] ########################################
 [150.136.164.64] Updating / installing...
chef-15.8.23-1.el7
 [150.136.164.64] #
 [150.136.164.64] #
 [150.136.164.64] #
 [150.136.164.64] #
 [150.136.164.64] #
 [150.136.164.64] #
 [150.136.164.64] #
 [150.136.164.64] #
 [150.136.164.64] #
 [150.136.164.64] #
 [150.136.164.64] #
 [150.136.164.64] #
 [150.136.164.64] Thank you for installing Chef Infra Client! For help getting started visit https://learn.chef.io
 [150.136.164.64] Starting the first Chef Infra Client Client run...
 [150.136.164.64] +---------------------------------------------+
? 2 product licenses accepted.
+---------------------------------------------+
 [150.136.164.64] Starting Chef Infra Client, version 15.8.23
 [150.136.164.64] resolving cookbooks for run list: []
 [150.136.164.64] Synchronizing Cookbooks:
 [150.136.164.64] Installing Cookbook Gems:
 [150.136.164.64] Compiling Cookbooks...
 [150.136.164.64] [2020-03-05T12:44:06+00:00] WARN: Node ChefKnifeServer has an empty run list.
 [150.136.164.64] Converging 0 resources
 [150.136.164.64]
Running handlers:
 [150.136.164.64] Running handlers complete

 [150.136.164.64] Chef Infra Client finished, 0/0 resources updated in 02 seconds

[root@chefserver ~]#
  • Now, run and verify the couple of command to manage resources.
[root@chefserver ~]# knife client list
ChefKnifeServer
oraclehelp-validator

[root@chefserver ~]# knife node list
ChefKnifeServer

[root@chefserver .chef]# knife node show ChefKnifeServer
Node Name:   ChefKnifeServer
Environment: _default
FQDN:        ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com
IP:          10.0.1.3
Run List:
Roles:
Recipes:
Platform:    oracle 7.7
Tags:

[root@chefserver ~]#  knife oci server list
/root/.chefdk/gem/ruby/2.6.0/gems/oci-2.7.0/lib/oci/identity/models/base_tag_definition_validator.rb:20: warning: already initialized constant OCI::Identity::Models::BaseTagDefinitionValidator::VALIDATOR_TYPE_ENUM
/root/.chefdk/gem/ruby/2.6.0/gems/oci-2.7.0/lib/oci/identity/models/base_tag_definition_validator.rb:21: warning: previous definition of VALIDATOR_TYPE_ENUM was here
Display		Name     State    ID
ChefKnifeServer Server  RUNNING  ocid1.instance.oc1.iad.anuwcljtjcisnjicouvsfmum6qupwvxonhx4k2i46l7apeflpvu3nykhj3zq

[root@chefserver ~]#  knife oci server show --instance-id ocid1.instance.oc1.iad.anuwcljtjcisnjicouvsfmum6qupwvxonhx4k2i46l7apeflpvu3nykhj3zq
/root/.chefdk/gem/ruby/2.6.0/gems/oci-2.7.0/lib/oci/identity/models/base_tag_definition_validator.rb:20: warning: already initialized constant OCI::Identity::Models::BaseTagDefinitionValidator::VALIDATOR_TYPE_ENUM
/root/.chefdk/gem/ruby/2.6.0/gems/oci-2.7.0/lib/oci/identity/models/base_tag_definition_validator.rb:21: warning: previous definition of VALIDATOR_TYPE_ENUM was here
Display Name: ChefKnifeServer
Instance ID: ocid1.instance.oc1.iad.anuwcljtjcisnjicouvsfmum6qupwvxonhx4k2i46l7apeflpvu3nykhj3zq
Lifecycle State: RUNNING
Availability Domain: yQUJ:US-ASHBURN-AD-3
Compartment Name: C07
Compartment ID: ocid1.compartment.oc1..aaaaaaaahezm67s5hcf2pqbxtw6omyukbdevqycn5vxzylisuojd6hj5jx6q
Region: iad
Image Name: Oracle-Linux-7.7-2020.02.21-0
Image ID: ocid1.image.oc1.iad.aaaaaaaavzjw65d6pngbghgrujb76r7zgh2s64bdl4afombrdocn4wdfrwdq
Shape: VM.Standard2.1
VCN Name: K8SVCN
VCN ID: ocid1.vcn.oc1.iad.amaaaaaajcisnjiat2g4gkzkzrak6knrqk4243jsndmbs6c6ywgudv7c2y6a
Launched: Thu,  5 Mar 2020 11:34:37 +00:00
Primary Public IP Address: 150.136.168.25
Primary Private IP Address: 10.0.1.3
Primary Hostname: ChefKnifeServerserver
Primary FQDN: ChefKnifeServerserver.sub03051059070.k8svcn.oraclevcn.com
Primary Subnet Name: Public Subnet-K8SVCN

[root@chefserver ~]#
  • Test the connection via SSH with pubic IP and Also, test with Knife SSH command.
[root@chefserver ~]# ssh -i ~/.ssh/id_rsa opc@150.136.168.25
The authenticity of host '150.136.168.25 (150.136.168.25)' can't be established.
ECDSA key fingerprint is SHA256:tVPpDkR+YsIoX+5oW7jT3oPUrErhY6ZGKQsAStLI2FU.
ECDSA key fingerprint is MD5:8b:aa:a3:90:34:01:e5:89:aa:94:97:44:61:49:5e:42.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '150.136.168.25' (ECDSA) to the list of known hosts.
[opc@ChefKnifeServer ~]$ exit
logout
Connection to 150.136.168.25 closed.

[root@chefserver ~]# knife ssh 'name:ChefKnifeServer' 'cat /etc/hosts' -x opc
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com 127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com 10.0.1.3    ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com ChefKnifeServer
[root@chefserver ~]#
  • Now, we can deploying the application on client from Chef Workstation with Knife plugin. 
[root@chefserver ~]# knife ssh 'name:ChefKnifeServer' 'sudo yum install -y httpd && sudo systemctl start httpd && sudo systemctl status httpd' -x opc
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Loaded plugins: langpacks, ulninfo
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Resolving Dependencies
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com --> Running transaction check
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com ---> Package httpd.x86_64 0:2.4.6-90.0.1.el7 will be installed
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com --> Finished Dependency Resolution
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Dependencies Resolved
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com ================================================================================
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com  Package       Arch           Version                  Repository          Size
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com ================================================================================
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Installing:
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com  httpd         x86_64         2.4.6-90.0.1.el7         ol7_latest         1.2 M
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Transaction Summary
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com ================================================================================
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Install  1 Package
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Total download size: 1.2 M
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Installed size: 3.7 M
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Downloading packages:
httpd-2.4.6-90.0.1.el7.x86_64.rpm                          | 1.2 MB   00:00
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Running transaction check
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Running transaction test
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Transaction test succeeded
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Running transaction
  Installing : httpd-2.4.6-90.0.1.el7.x86_64                                1/1
  Verifying  : httpd-2.4.6-90.0.1.el7.x86_64                                1/1
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Installed:
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com   httpd.x86_64 0:2.4.6-90.0.1.el7
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Complete!
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com ? httpd.service - The Apache HTTP Server
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com    Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com    Active: active (running) since Thu 2020-03-05 18:58:03 GMT; 38ms ago
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com      Docs: man:httpd(8)
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com            man:apachectl(8)
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com  Main PID: 17130 (httpd)
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com    Status: "Processing requests..."
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com    CGroup: /system.slice/httpd.service
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com            +-17130 /usr/sbin/httpd -DFOREGROUND
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com            +-17131 /usr/sbin/httpd -DFOREGROUND
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com            +-17132 /usr/sbin/httpd -DFOREGROUND
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com            +-17133 /usr/sbin/httpd -DFOREGROUND
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com            +-17134 /usr/sbin/httpd -DFOREGROUND
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com            +-17135 /usr/sbin/httpd -DFOREGROUND
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Mar 05 18:58:03 ChefKnifeServer systemd[1]: Starting The Apache HTTP Server...
ChefKnifeServer.sub03051059070.k8svcn.oraclevcn.com Mar 05 18:58:03 ChefKnifeServer systemd[1]: Started The Apache HTTP Server.
[root@chefserver ~]#
  • Delete the Instance with Knife Plugin.
[root@chefserver ~]#  knife oci server delete --instance-id ocid1.instance.oc1.iad.anuwcljtjcisnjicouvsfmum6qupwvxonhx4k2i46l7apeflpvu3nykhj3zq
/root/.chefdk/gem/ruby/2.6.0/gems/oci-2.7.0/lib/oci/identity/models/base_tag_definition_validator.rb:20: warning: already initialized constant OCI::Identity::Models::BaseTagDefinitionValidator::VALIDATOR_TYPE_ENUM
/root/.chefdk/gem/ruby/2.6.0/gems/oci-2.7.0/lib/oci/identity/models/base_tag_definition_validator.rb:21: warning: previous definition of VALIDATOR_TYPE_ENUM was here
Instance name: ChefKnifeServer
Delete server? (y/n)
y
Initiated delete of instance ocid1.instance.oc1.iad.anuwcljtjcisnjicouvsfmum6qupwvxonhx4k2i46l7apeflpvu3nykhj3zq
[root@chefserver ~]#
  • Move back to OCI console and verify it.

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

The post Provision and Manage Resources In Oracle Cloud Infrastructure (OCI) with Chef Knife Plugin appeared first on ORACLE-HELP.

List of Cloud Certification (OCI, AWS, GCP, Alibaba, Azure)

$
0
0

In this post, I covered detail of cloud certificaton from different cloud service providers. So, you can choose the certification as per your role and interest.

  • List of certification in Oracle Infrastruture Cloud (OCI).
Level Certification Exam
Associate Oracle Cloud Infrastructure Classic 2018 Associate Architect (Retired) 1Z0-337
Associate Oracle Cloud Infrastructure 2018 Architect Associate 1Z0-932
Associate Oracle Cloud Infrastructure 2019 Architect Associate 1Z0-1072
Associate Oracle Cloud Infrastructure 2019 Cloud Operations Associate 1Z0-1067
Professional Oracle Cloud Infrastructure 2019 Architect Professional 1Z0-997
Foundation Oracle Cloud Infrastructure Foundations 2020 1Z0-1085-20
Associate Oracle Cloud Infrastructure Developer 2020 Associate 1Z0-1084-20
Associate Oracle Database Cloud Service Operations Certified Associate 1Z0-160
Associate Oracle Database Cloud Service 2019 1Z0-998
Associate Oracle Cloud Platform Data Management 2019 Associate  1Z0-1044
Associate Oracle Autonomous Database Cloud 2019 Specialist  1Z0-931
Associate MySQL Cloud Service 2018 Implementation Essentials  1Z0-320
Associate Oracle Cloud Platform Application Integration 2019 Associate  1Z0-1042
Associate Oracle Cloud Platform Systems Management 2019 Associate  1Z0-1076
Associate Oracle Cloud Platform Identity and Security Management 2019 Associate  1Z0-1070
Associate Oracle Cloud Platform Application Development 2019 Associate  1Z0-1043
Associate Oracle Cloud Platform Digital Assistant 2019 Associate  1Z0-1071
Associate Oracle Cloud Platform Enterprise Analytics 2019 Associate  1Z0-1041
Associate Oracle Cloud Platform Content and Experience 2019 Associate  1Z0-1040
  • List of certification in Microsoft Azure.
Level Certification Exam
Azure Fundamentals AZ-900: Microsoft Azure Fundamentals
★★ Azure Administrator Associate AZ-103: Microsoft Azure Administrator 
AZ-104, WILL BE AVAILABLE ON OR AROUND MARCH 31, 2020
★★ Azure Developer Associate AZ-203: Developing Solutions for Microsoft Azure
AZ-204, BECAME AVAILABLE ON FEBRUARY 24.
★★ Azure Data Scientist Associate DP-100: Designing and Implementing a Data Science Solution on Azure
★★ Azure AI Engineer Associate AI-100: Designing and Implementing an Azure AI Solution
★★ Azure Data Engineer Associate DP-200: Implementing an Azure Data Solution
DP-201: Designing an Azure Data Solution
★★ Azure Database Administrator Associate DP-300: Administering Relational Databases on Microsoft Azure
★★ Azure Security Engineer Associate AZ-500: Microsoft Azure Security Technologies
★★ Azure Solutions Architect Expert AZ-300: Microsoft Azure Architect Technologies
AZ-301: Microsoft Azure Architect Design
★★★ Azure DevOps Engineer AZ-400: Microsoft Azure DevOps Solutions
Specialty Azure for SAP Workloads Specialty AZ-120: Planning and Administering Microsoft Azure for SAP Workloads
Specialty Azure IoT Developer Specialty AZ-220: Microsoft Azure IoT Developer (beta)
  • List of certification in Google Public Cloud (GCP).
Level Certification Exam
Associate Associate Cloud Engineer Associate Cloud Engineer
Professional Professional Cloud Architect Professional Cloud Architect
Professional Professional Data Engineer Professional Data Engineer
Professional Professional Cloud Developer Professional Cloud Developer
Professional Professional Cloud DevOps Engineer Professional Cloud DevOps Engineer
Professional Professional Cloud Network Engineer Professional Cloud Network Engineer
Professional Professional Cloud Security Engineer Professional Cloud Security Engineer
Professional Professional Collaboration Engineer Professional Collaboration Engineer
  • List of certification in Amazon Web Services (AWS).
Level Certification Exam
Foundational Cloud Practitoner Cloud Practitioner
Associate Solutions Architect – Associate Solutions Architect – Associate
Associate Developer – Associate Developer – Associate
Associate SysOps Administrator – Associate SysOps Administrator – Associate
Professional Solutions Architect – Professional Solutions Architect – Professional
Professional DevOps Engineer – Professional DevOps Engineer – Professional
Specialty Security – Specialty Security – Specialty
Specialty Data Analytics – Specialty Data Analytics – Specialty
Specialty Advanced Networking – Specialty Advanced Networking – Specialty
Specialty Machine Learning Machine Learning
Specialty Alexa Skill Builder Alexa Skill Builder
Specialty Database – Specialty Database – Specialty
  • List of certification in Alibaba Cloud.
Level Certification Exam
Associate ACA Alibaba Cloud Certified Associate ACA Alibaba Cloud Certified Associate
Associate ACA Big Data Associate ACA Big Data Associate
Associate ACA Cloud Security Associate ACA Cloud Security Associate
Professional ACP Alibaba Cloud Certified Professional ACP Alibaba Cloud Certified Professional
Professional ACP Big Data Professional ACP Big Data Professional
Professional ACP Cloud Security Professional ACP Cloud Security Professional
Expert ACE Alibaba Cloud Certified Expert ACE Alibaba Cloud Certified Expert
Expert ACE Big Data Expert ACE Big Data Expert
Expert ACE Cloud Security Expert ACE Cloud Security Expert

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

The post List of Cloud Certification (OCI, AWS, GCP, Alibaba, Azure) appeared first on ORACLE-HELP.

Oracle Database Cloud Service 2019 (1Z0-998)

$
0
0

Hi Readers

Finally, I’ve successfully passed 1Z0-998, Oracle Database Cloud Service 2019. It was almost more than 1-2 months that I’ve been preparing for this.

The Exam contains 74 questions related to Database service on OCI which includes cloud concept, backup, recovery, patching etc.. To earn this certification you need to get 67% marks.

This was the result of the journey: Oracle Database Cloud Service 2019 Operations Certified Associate

If you are Oracle Certified Professional in 11g/12c/12cR2/18c then you will get Oracle Database Cloud Administrator Certified Professional.

In this post you will find:

  • A path to achieve it
  • Study Materials
  • Exam Detail & Score

How to Achieve this Certification?

Before appearing to this exam you must have the vast knowledge of database service in Oracle Cloud Infrastructure (OCI).

List of exam topics

  • Oracle Cloud Platform for Database in the Cloud
  • Oracle Cloud Infrastructure Essentials
  • Bare Metal and Virtual Machine DB Systems
  • Connecting to a DB System on OCI
  • Patching a DB System on OCI
  • Backing Up and Recovering a Database on OCI
  • Migrating Oracle Databases to OCI
  • Getting Started with Oracle Cloud Infrastructure
  • Oracle Cloud Infrastructure: Database Service
  • Creating and Managing Bare Metal and Virtual Machine DB Systems
  • Updating and Configuring a DB System on OCI
  • Configuring & Monitoring a Database on OCI
  • Oracle Cloud Infrastructure Security

For more detail, you can follow the below link.

https://education.oracle.com/oracle-database-cloud-service-2019/pexam_1Z0-998

How to prepare for the exam?

There is only one way to study for this exam for enrolling cloud learning.

  1. Oracle Data Management Cloud Services Learning Subscription

How to register for the exam?

If you want to enrol exam, please click on the below link.

Go to Pearson Site: http://www.pearsonvue.com/oracle

Exam Number: 1Z0-998

Exam Title: Oracle Database Cloud Service 2019 Operations Certified Associate

Below are the Exam Details related to scoring.

There is a nice post from my fellow DBA – Alex Zaballa

You Should Avoid Brain Dumps When Preparing for Certifications

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

The post Oracle Database Cloud Service 2019 (1Z0-998) appeared first on ORACLE-HELP.

Oracle Cloud Infrastructure 2019 Operations Associate (1Z0-1067)

$
0
0

Hi Readers

Finally, I’ve successfully passed 1Z0-1067, Oracle Cloud Infrastructure 2019 Cloud Operations Associate. It was almost more than 2-3 months that I’ve been preparing for this.

The Exam contains 60 questions related to OCI which includes OCI CLI, Ansible, Terraform, Cost, Security etc.. To earn this certification you need to get 70% marks.

This was the result of the journey: Oracle Cloud Infrastructure 2019 Operations Associate

In this post you will find:

  • A path to achieve it
  • Study Materials
  • Exam Detail & Score

How to Achieve this Certification?

Before appearing to this exam you must have the vast knowledge of OCI, Automation and Troubleshooting techniques. 

List of exam topics

  • Automating Cloud Tasks
  • Performance Tuning and Troubleshooting
  • Managing Cost
  • Security and Compliance
  • Monitoring and Alerting
  • Data Retention and Archival
  • Designing for Cloud-Scale Agility

For more detail, you can follow the below link.

https://education.oracle.com/oracle-cloud-infrastructure-2019-architect-associate/pexam_1Z0-1067

How to prepare for the exam?

There is only one way to study for this exam for enrolling cloud learning.

  1. Oracle Cloud Infrastructure Learning Subscription

How to register for the exam?

If you want to enrol exam, please click on the below link.

Go to Pearson Site: http://www.pearsonvue.com/oracle

Exam Number: 1Z0-1067

Exam Title: Oracle Cloud Infrastructure 2019 Cloud Operations Associate

Below are the Exam Details related to scoring.

There is a nice post from my fellow DBA – Alex Zaballa

You Should Avoid Brain Dumps When Preparing for Certifications

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

The post Oracle Cloud Infrastructure 2019 Operations Associate (1Z0-1067) appeared first on ORACLE-HELP.

Oracle Cloud Infrastructure Developer 2020 (1Z0-1084-20)

$
0
0

Hi Readers

Finally, I’ve successfully passed 1Z0-1084-20, Oracle Cloud Infrastructure Developer 2020 Associate. It was almost more than 4-6 months that I’ve been preparing for this.

The Exam contains 60 questions related to OCI which includes OCI Functions, OCI Kubernetes, OCI API Gateways etc.. To earn this certification you need to get 70% marks.

This was the result of the journey: Oracle Cloud Infrastructure Developer 2020 Associate

In this post you will find:

  • A path to achieve it
  • Study Materials
  • Exam Detail & Score

How to Achieve this Certification?

Before appearing to this exam you must have the vast knowledge of OCI functions, API gateways, Kubernetes.

List of exam topics

  • Developing a high available, highly scalable & secure cloud-native application
  • Deploying a cloud-native application
  • Security
  • Logging, Monitoring and Alerting
  • Application Modernization on OCI

For more detail, you can follow the below link.

https://education.oracle.com/oracle-cloud-infrastructure-2019-architect-associate/pexam_1Z0-1084-20

How to prepare for the exam?

There is only one way to study for this exam for enrolling cloud learning.

  1. Oracle Cloud Infrastructure Learning Subscription

How to register for the exam?

If you want to enrol exam, please click on the below link.

Go to Pearson Site: http://www.pearsonvue.com/oracle

Exam Number: 1Z0-1085-20

Exam Title: Oracle Cloud Infrastructure Developer 2020 Associate

Below are the Exam Details related to scoring.

There is a nice post from my fellow DBA – Alex Zaballa

You Should Avoid Brain Dumps When Preparing for Certifications

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

The post Oracle Cloud Infrastructure Developer 2020 (1Z0-1084-20) appeared first on ORACLE-HELP.


Oracle Cloud Infrastructure 2019 Architect Professional (1Z0-997)

$
0
0

Hi Readers

Finally, I’ve successfully passed 1Z0-997, Oracle Cloud Infrastructure 2019 Architect Professional. It was almost more than 3 years that I’ve been working in OCI starting from OCI classic, Gen1, & Gen2. To clear this exam you must have good hands-on on OCI.

OCI Classic – 1Z0-337

Oracle Infrastructure as a Service Cloud 2017 Implementation Essentials

OCI 2018 – 1Z0-932

Oracle Cloud Infrastructure (1Z0-932)

OCI 2019 – 1Z0-1072

Oracle Cloud Infrastructure 2019 (1Z0-1072)

 

The Exam contains 50 questions related to OCI which includes almost all topics and services of OCI. To earn this certification you need to get 70% marks.

This was the result of the journey: Oracle Cloud Infrastructure 2019 Architect Professional

In this post you will find:

  • A path to achieve it
  • Study Materials
  • Exam Detail & Score

How to Achieve this Certification?

Before appearing to this exam you must have the extensive knowledge of OCI and it’s services.

List of exam topics

  • Plan and design solutions; implement and operate solutions
  • Design, implement and operate databases
  • Design for hybrid cloud architecture
  • Migrate on-premises workloads to OCI
  • Design for Security and Compliance

For more detail, you can follow the below link.

https://education.oracle.com/oracle-cloud-infrastructure-2019-architect-associate/pexam_1Z0-997

How to prepare for the exam?

There is only one way to study for this exam for enrolling cloud learning.

  1. Oracle Cloud Infrastructure Learning Subscription

How to register for the exam?

If you want to enrol exam, please click on the below link.

Go to Pearson Site: http://www.pearsonvue.com/oracle

Exam Number: 1Z0-997

Exam Title: Oracle Cloud Infrastructure 2019 Architect Professional

Below are the Exam Details related to scoring.

There is a nice post from my fellow DBA – Alex Zaballa

You Should Avoid Brain Dumps When Preparing for Certifications

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

The post Oracle Cloud Infrastructure 2019 Architect Professional (1Z0-997) appeared first on ORACLE-HELP.

Oracle 19c Preupgrade Log Warns Oracle Streams

$
0
0

To upgrade from Oracle 11gR2 to Oracle 18c/19c, we need to remove Streams setup. For detailed steps, refer to the section “Removing an Oracle Streams Configuration” in the Oracle Streams Concepts and Administration Guide specific for the Oracle release from which you are removing.

It is observed that even though there are no Streams Processes or Rules.

sqlplus /nolog
connect / as sysdba

delete from sys.apply$_source_obj ;

delete from sys.apply$_source_schema;

commit;

Then run again the preupgrade script.

Stay tuned for more articles on Oracle 19c 

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

 

The post Oracle 19c Preupgrade Log Warns Oracle Streams appeared first on ORACLE-HELP.

Test

$
0
0

Let’s have look on the commands are used for “RMAN Parallel Backup”.

Run the backup

RMAN> run { allocate channel c1 type disk; allocate channel c2 type disk; backup (datafile 1,2,3 channel c1) (archivelog all channel c2); }

Create more allocate channel

RMAN> run
{
allocate channel c1 type disk;
allocate channel c2 type disk;
backup
(database channel c1)
(archivelog all channel c2);
}

Set the parallelism parameter and run the backup again

RMAN> configure device type disk parallelism 3;

RMAN> backup
(datafile 1,2)
(datafile 3,4)
(archivelog all);

Thought of the day..

“You will get all you want in life if you help enough other people get what they want.” — Zig Ziglar

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

Joel Perez’s LinkedIn: Joel Perez’s Profile

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

The post Test appeared first on ORACLE-HELP.

Viewing all 171 articles
Browse latest View live