Beruflich Dokumente
Kultur Dokumente
Deep Dive
Oracle PTS Workshop
Defined by image (VM hard disk with OS) and shape (available CPU and RAM)
Can communicate only with instances of the same security list. Exceptions can
be defined through security rules.
Machine Image
Template of a virtual hard disk of a specific size with an installed operating system
Shape
Resource profile that specifies the number of CPUs and the amount of memory to
be allocated to an instance
Caution: If a non-persistent boot disk is being used, any changes made to the boot disk
after the instance was created are lost
When HA policy is active, if an instance goes down, the instance is restarted automatically
Automates the provisioning and lifecycle operations of an entire virtual compute topology.
storage/volume Creates a storage volume . Use relationship to attach a storage to an launchplan object
secrule Creates a security rule. Can be associated with security applications, security lists or security
IP lists through relationships.
Specifies two object plan labels and a relationship type, which is depends.
"relationships": [ { "oplan": "boot-from-storagevolume1",
"to_oplan": "storagevolume1",
"type": "depends } ]
"to_oplan": "seclist1",
"type": "depends"},
{"oplan": "secrule1",
"to_oplan": "secapplication1",
"type": "depends" } ]
Ensures that both the security application (secapplication1) and the security list
(seclist1) are created before the security rule (secrule1).
"type": "different_node" } ]
Means that both Instances (instanceA, instanceB) will be created on separate nodes.
When you start the master orchestration (master-orchestration), all of the nested
orchestrations (instances_orch, networking_orch, storage_orch) are started.
Cautions: up to 3 nested orchestration levels, nested orchestrations are not added automatically
Network and storage resources are created before the instances orchestration
Copyright 2014 Oracle and/or its affiliates. All rights reserved.
High-Availability Policies in an Orchestration
ha_policy attribute specifies the behavior when object stops unexpectedly:
Note: Using Oracle Compute Cloud Service Guide, topic Attributes in Orchestrations has detailed list of all
objects and attributes
Machine Image
Template of a virtual hard disk of a specific size with an installed operating system
used to create virtual Compute Cloud machine instances.
You can use either your own machine images or images provided by Oracle
25 Supported Languages
Arabic, Brazilian Portuguese, Chinese - Simplified/Traditional, Czech, Danish, Dutch,
Finnish, French, German, Greek, Hebrew, Hungarian, Italian, Japanese, Korean,
Norwegian, Polish, Romanian, Russian, Slovak, Spanish, Swedish, Thai, Turkish
For the first machine being uploaded, Compute_Operations role is needed. Next machines can be
uploaded by any user with Storage_ReadWriteGroup role.
Planned: CLI tool can also be used to upload one or multiple files on a single command.
Virtual disk that provides persistent block storage space to store data and applications
for instances in Oracle Compute Cloud Service.
7. Mount the storage volume on the mount point that you created on your instance.
For example, to mount the device /dev/xvdd at the /mnt/store directory, run the
following command: sudo mount /dev/xvdd /mnt/store
Note: Device UIID, obtained through blkid command, can be used instead of device name
8. To make the mount persistent across instance restarts, edit the /etc/fstab file and
add the mount as an entry in that file.
6.If mount point was defined in /etc/fstab (for persistent mount) remove the
mount.
Note: If no longer needed, unmounted volume can be deatached and deleted.
Topics
Overview
Security Rules
Security Applications
Security Lists
IP Reservations
Temporary or Permanent
6. Create .ssh directory in the new users home directory: mkdir /home/new_user/.ssh
7. Copy the SSH public key that you noted earlier to the authorized_keys file:
echo public_key" > /home/new_user/.ssh/authorized_keys
10. Restart the SSH daemon on your instance: /sbin/service sshd restart
11. Enable sudo privileges for new user, running visudo for /etc/sudoers file:
Add %new_user ALL=(ALL) NOPASSWD: ALL after %opc ALL=(ALL) NOPASSWD: ALL
You can now log in as the new user: ssh new_user@ip_address -i private_key
Selecting Shapes
Consider deployed applications, number of users, load spikes and future load scale
Also factor in CPU and memory for the operating system
When in doubt , start small, experiment a representative workload, settle on a shape.
For an optimal resource allocation.
Separate storage volumes for your applications, data, and the operating system. Use
Chef or Puppet for managing the configuration of operating system and applications.
If you are sure that storage volume is no longer required, back up the data elsewhere
and delete the storage volume.
Note: If an instance is added to multiple security lists that have different policies, then the most restrictive policy is
applicable to the instance.
Note: Instances within a security list can inter-communicate freely over any protocol.
Copyright 2014 Oracle and/or its affiliates. All rights reserved. 101