You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes and improvements following initial review. (#22)
* TimesTen: Initial population
* Work in progress
* Finalising workshop instructions etc.
* QA fixes#1
* QA fixes#2
* Typo and grammar corrections
* URL fixup, additional minor tweaks.
* Minor updates and fixes.
* Improve connection instructions.
* cleanup migration
cleanup migration
* clean up after migration
clean up after migration
* Update to README file
* Various improvements based on feedback.
* URL corrections
* Correcting e-mail address for 'help'
Co-authored-by: Kevin Lazarz <kevin.lazarz@oracle.com>
Oracle TimesTen In-Memory Database (TimesTen) delivers realtime application performance (low response time and high throughput) by changing the assumptions around where data resides at runtime. By managing data in memory, and optimizing data structures and access algorithms accordingly, database operations execute with maximum efficiency achieving dramatic gains in responsiveness and throughput.
13
+
Oracle TimesTen In-Memory Database (TimesTen) delivers real-time application performance (low response time and high throughput) by changing the assumptions around where data resides at runtime. By managing data in memory, and optimizing data structures and access algorithms accordingly, database operations execute with maximum efficiency achieving dramatic gains in responsiveness and throughput.
14
14
15
-
TimesTen is a relational database, with SQL as its access language and PL/SQL as its procedural language, so you can leverage your existing Oracle Database skills. It supports a wide range of database APIs such as JDBC, ODBC, ODP.NET and Oracle Call Interface (OCI) and several Open Source languages, such as Python and Node.js, are supported via Open Source APIs. TimesTen provides full persistence and has builtin high-availability.
15
+
TimesTen is a relational database, with SQL as its access language and PL/SQL as its procedural language so that you can leverage your existing Oracle Database skills. It supports many database APIs such as JDBC, ODBC, ODP.NET and Oracle Call Interface (OCI) and several Open Source languages, such as Python and Node.js, are supported via Open Source APIs. TimesTen provides full persistence and has built-in highavailability.
16
16
17
-
TimesTen can be deployed both as a database of record or as a highperformance relational cache in front of an Oracle database to acceleratae Oracle database applications. This lab focuses on the cache deployment mode.
17
+
TimesTen can be deployed both as a database of record or as a high-performance relational cache in front of an Oracle database to accelerate Oracle database applications. This lab focuses on the cache deployment mode.
Copy file name to clipboardExpand all lines: timesten/cache-introduction/02-prepare-setup/prepare-setup.md
+17-9Lines changed: 17 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Introduction
4
4
5
-
In this lab, you will download the Oracle Resource Manager (ORM) stack zip file needed to setup the resource needed to run this workshop. This workshop requires a compute instance and a Virtual Cloud Network (VCN) and subnet.
5
+
In this lab, you will download the Oracle Resource Manager (ORM) stack zip file needed to set up the resources needed to run this workshop. This workshop requires a compute instance and a Virtual Cloud Network (VCN) and subnet.
6
6
7
7
Estimated Time: **15 minutes**
8
8
@@ -29,38 +29,46 @@ We strongly recommend using this stack to create a self-contained/dedicated VCN
29
29
30
30
## Task 2: Adding security rules to an existing VCN
31
31
32
-
This workshop requires a certain number of ports to be available, a requirement that can be met by using the default ORM stack execution that creates a dedicated VCN. In order to use an existing VCN/subnet the following ports should be added to the Ingress rules.
32
+
This workshop requires a certain number of ports to be available, a requirement that can be met by using the default ORM stack execution that creates a dedicated VCN. In order to use an existing VCN/subnet, the following ports should be added to the Ingress rules.
4. Click on *Default Security Lists*under the Create Security List button
46
+
4. Click on *Default Security Lists*under the Create Security List button
47
47
48
-
5. Click *Add Ingress Rule* button
48
+
5. Click the *Add Ingress Rule* button
49
49
50
50
6. Enter the following:
51
51
- Source CIDR: 0.0.0.0/0
52
-
- Destination Port Range: *Refer to above table*
52
+
- Destination Port Range: *Refer to the above table*
53
53
54
54
7. Click the Add Ingress Rules button
55
55
56
56
## Task 3: Setup your OCI compute instance
57
57
58
-
Using the details from the two steps above, proceed to the lab *Environment Setup* to setup your workshop environment using Oracle Resource Manager (ORM) using one of the following options:
58
+
Using the details from the two steps above, proceed to the lab *Environment Setup* to set up your workshop environment using Oracle Resource Manager (ORM) using one of the following options:
59
59
60
60
- Create Stack: *Compute + Networking*
61
61
- Create Stack: *Compute only* using an existing VCN where security lists have been updated as per *Task 2* above
62
62
63
-
**IMPORTANT:** When deploying the workshop compute instance via the ORM stack, it is strongly recommended that you enable the optional SSH access using either your own SSH public key or a generated SSH key pair. SSH connectivity offers a better user experience, especially for copy/paste, than noVNC connectivity.
63
+
**IMPORTANT**
64
+
65
+
When deploying the workshop compute instance via the ORM stack, as described in the next lab:
66
+
67
+
1. By default SSH access using a system generated SSH private key is enabled. SSH access is recommended for this workshop as it offers a better user experience, especially for copy/paste, than noVNC connectivity.
68
+
69
+
2. If you wish to provide your own SSH public key, uncheck the option *Auto Generate SSH Key Pair* and follow the on-screen instructions to either upload or copy/paste your SSH public key.
70
+
71
+
3. Unless you wish to customize SSH connectivity as desccribed in (2), you can accept all the defaults provided by the ORM stack.
64
72
65
73
You may now *proceed to the next lab (Environment setup)*.
Copy file name to clipboardExpand all lines: timesten/cache-introduction/03-connect-to-instance/connect-to-instance.md
+44-16Lines changed: 44 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
3
3
## Introduction
4
4
5
-
In this lab you will learn the different ways to connect to the OCI compute instance that hosts the workshop.
5
+
In this lab, you will learn the different ways to connect to the OCI compute instance that hosts the workshop.
6
6
7
7
The workshop requires you to use a terminal session to run various commands and observe their output. Often you may need to copy and paste commands or text from the workshop instructions into the terminal session.
8
8
9
-
If you chose to run the workshop in the LiveLabs sandbox then the only connection method available to you by default is a GUI session using the browserbased VNC mechanism. It is possible to setup SSH connectivity by adding your own SSH key into the instance (follow the instructions provided in the noVNC lab).
9
+
If you chose to run the workshop in the LiveLabs sandbox then the only connection method available to you by default is a GUI session using the browser-based VNC mechanism. It is possible to set up SSH connectivity by adding your own SSH key into the instance (follow the instructions provided in the noVNC lab).
10
10
11
-
If you chose to run the workshop in your own tenancy, or in a free-trial Cloud account, then you can use the same browserbased GUI connection method. Also, if you selected the option during deploymemnt via the ORM stack, you also have the option to use SSH connectivity (**strongly recommended)**.
11
+
If you chose to run the workshop in your own tenancy, or in a free-trial Cloud account, then you can use the same browser-based GUI connection method. Also, if you selected the option during deployment via the ORM stack, you also have the option to use SSH connectivity (**strongly recommended)**.
12
12
13
13
Estimated Time: **5 minutes**
14
14
@@ -23,46 +23,74 @@ This lab assumes that you have:
23
23
24
24
- Completed all the previous labs in this workshop, in sequence.
25
25
26
-
## Task 1: Connect using noVNC
26
+
## Task 1: Connect using noVNC remote desktop
27
+
28
+
All environments support browser based noVNC connections. The lab *Using noVNC Remote Desktop* provides information on using the noVNC remote desktop.
27
29
28
30
_LiveLabs sandbox_
29
31
30
-
In the LiveLabs reservation page for your active reservation you will see the URL to use for a noVNC connection to the workshop instance.
32
+
In the LiveLabs reservation page for your active reservation, you will see the URL to use for a noVNC connection to the workshop instance.
31
33
32
34
_Own tenancy or free-trial Cloud account_
33
35
34
-
At the end of the ORM stack apply job execution report you will see the noVNC connection URL.
36
+
At the end of the ORM stack 'apply' job execution log you will see the noVNC connection URL.
You can use the *Activities* menu, or doubleclick the *Terminal* icon on the desktop to open a terminal session.
51
+
You can use the **Terminal** option under the *Activities* menu, or double-click the *Terminal* icon on the desktop, to open a terminal session.
41
52
42
53
## Task 2: Connect using SSH (optional but recommended)
43
54
44
55
You can connect to the instance as the oracle user using an SSH private key.
45
56
46
57
_LiveLabs sandbox_
47
58
48
-
You can follow the instructions in the noVNC lab to add an SSH poublic key to the oracle user's SSH **authorized_keys** file. You then connect using the corresponding SSH private key.
59
+
Follow the instructions in the lab *Using noVNC Remote Desktop*to add your SSH public key to the **oracle** user's SSH **authorized_keys** file. You can then connect to the workshop compute instance using the corresponding SSH private key.
49
60
50
-
_Own tenancy or free-trial Cloud account - userprovided public key_
61
+
_Own tenancy or free-trial Cloud account - user-provided public key_
51
62
52
-
If you provided your own SSH public key as part of the ORM stack deployment process then you can connect using the corresponding SSH private key.
63
+
If you enabled SSH connectivity by providing your own SSH public key as part of the ORM stack deployment process then you can connect using the corresponding SSH private key.
53
64
54
-
_Own tenancy or free-trial Cloud account - systemgenerated key pair_
65
+
_Own tenancy or free-trial Cloud account - system-generated key pair_
55
66
56
-
The SSH private key needed to connect is displayed at the end of the ORM stack apply job log. Copy/paste the key into a file on your client computer, or import into into your SSH client, and use that file to connect.
67
+
If you enabled SSH connectivity using a system generated key as part of the ORM stack deployment process, the SSH private key needed to connect is displayed at the end of the ORM stack 'apply' job execution log.
Copy/paste the key into a file on your client computer, or import into your SSH client, and use it to connect via SSH.
57
82
58
83
**NOTE:** On Linux and macOS systems, SSH private keys should be stored in your user's .ssh directory (**~/.ssh**) and must have permissions of **600 (rw-------)**.
59
84
60
-
Assuming that the SSH private key is **~/.ssh/id_livelabs** and the oublic IP address of the workshop compiute instance is **123.123.123.123** then you can connect using:
85
+
Assuming that the SSH private key is **~/.ssh/id_livelabs** and the public IP address of the workshop compute instance is **123.123.123.123** then you can connect using:
Copy file name to clipboardExpand all lines: timesten/cache-introduction/04-initialize-environment/initialize-environment.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Introduction
4
4
5
-
In this lab you will start up all the components required to run the labs making up this workshop.
5
+
In this lab, you will start up all the components required to run the labs making up this workshop.
6
6
7
7
The workshop uses an Oracle database which runs in its own container (**dbhost**). A second container (**tthost1**) provides the TimesTen environment. These containers, and the host system (**ttlivelabvm**), are all connected using a custom Docker network. This setup provides a realistic multi-host environment with the convenience of just a single compute instance.
8
8
@@ -20,7 +20,7 @@ This lab assumes that you have:
20
20
21
21
### Starting over from the beginning
22
22
23
-
Once you have successfully completed this lab, if at any point you want to start the whole workshop again from the beginning, just go the the **~/lab** directory and run the script **labReset.sh**. That script will take 5-8 minutes to run and it will reset everything back to the way it was after this lab completed.
23
+
Once you have successfully completed this lab, if at any point you want to start the whole workshop again from the beginning, just go to the **~/lab** directory and run the script **labReset.sh**. That script will take 5-8 minutes to run and it will reset everything back to the way it will be after this lab is completed.
24
24
25
25
## Task 1: Connect to the environment
26
26
@@ -30,16 +30,21 @@ Connect to the OCI compute instance and open a terminal session, as the user **o
30
30
31
31
Change to the **lab** directory:
32
32
33
-
**cd ~/lab**
34
-
35
-
`[oracle@ttlivelabvm ~] cd ~/lab`
33
+
```
34
+
<copy>
35
+
cd ~/lab
36
+
</copy>
37
+
```
36
38
37
39
Initialize the workshop:
38
40
39
-
**labSetup.sh cache-intro**
41
+
```
42
+
<copy>
43
+
labSetup.sh cache-intro
44
+
</copy>
45
+
```
40
46
41
47
```
42
-
[oracle@ttlivelabvm ~] labSetup.sh cache-intro
43
48
info: setting up workshop 'cache-intro', this will take several minutes...
44
49
info: starting hosts: OK
45
50
info: host initialization: OK
@@ -48,7 +53,7 @@ info: Oracle Database state successfully reset
48
53
info: starting Oracle Database: OK
49
54
```
50
55
51
-
This command will take between 5 and 8 minutes to complete. Once the setup has completed successfully, *proceed to the next lab*. You can keep your terminal session open ready for the next lab.
56
+
This command will take between 5 and 8 minutes to complete. Once the setup script has completed successfully, *proceed to the next lab*. You can keep your terminal session open ready for the next lab.
0 commit comments