Skip to content

Commit a5c3dc6

Browse files
Merge branch 'main' into NicolaCimitile-patch-8
2 parents 3773dee + 9efe994 commit a5c3dc6

File tree

21 files changed

+338
-125
lines changed

21 files changed

+338
-125
lines changed

cloud-infrastructure/ai-infra-gpu/ai-infrastructure/rag-langchain-vllm-mistral/files/requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
aiohttp==3.9.5
1+
aiohttp==3.10.2
22
aiosignal==1.3.1
33
annotated-types==0.6.0
44
anyio==4.3.0
@@ -48,7 +48,7 @@ jsonpointer==2.4
4848
jsonschema==4.21.1
4949
jsonschema-specifications==2023.12.1
5050
langchain==0.1.16
51-
langchain-community==0.2.5
51+
langchain-community==0.2.9
5252
langchain-core==0.1.46
5353
langchain-text-splitters==0.0.1
5454
langsmith==0.1.51
@@ -57,7 +57,7 @@ llama-hub==0.0.79.post1
5757
llama-index==0.10.32
5858
llama-index-agent-openai==0.2.3
5959
llama-index-cli==0.1.12
60-
llama-index-core==0.10.32
60+
llama-index-core==0.10.38
6161
llama-index-embeddings-langchain==0.1.2
6262
llama-index-embeddings-openai==0.1.9
6363
llama-index-indices-managed-llama-cloud==0.1.5
@@ -87,7 +87,7 @@ nest-asyncio==1.6.0
8787
networkx==3.3
8888
newspaper3k==0.2.8
8989
ninja==1.11.1.1
90-
nltk==3.8.1
90+
nltk==3.9
9191
numba==0.59.1
9292
numpy==1.26.4
9393
nvidia-cublas-cu12==12.1.3.1

cloud-infrastructure/compute-including-hpc/compute-software/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ This page contains information and useful links regarding Compute services that
2727
- [Script to install and mount OCI bucket as Filesystem using Fuse S3FS](https://github.com/Olygo/OCI_S3FS)
2828
- [Mount a boot volume from one compute instance (or VM) onto another compute instance in order to replace lost ssh keys](https://gitlab.com/ms76152/system-administration)
2929
- [Transfer data to and from Oracle Cloud Infrastructure using OS tools such as sftp, scp, oci cli, curl](https://github.com/mariusscholtz/Oracle-Cloud-Infrastructure-resources/blob/main/VM-shapes/data%20transfer%20to%20OCI%20v1.0.pdf)
30+
- [Quering Compute Capacity using CloudShell](https://github.com/Olygo/OCI_ComputeCapacityReport)
3031

3132
# Useful Links
3233

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
# C3 Hosting Service Provider - IAM Policies for Isolation
2+
3+
The Hosting Service Provider (HSP) model on Compute Cloud@Customer (C3) allows
4+
hosting for multiple end customers, each isolated in a dedicated compartment
5+
with separate VCN(s) per customer. To ensure the end customer can only
6+
create resources in just their own compartment, a set of IAM policies are
7+
required.
8+
9+
The HSP documentation suggests the following policies per end customer
10+
based on an example with two hosting customers, A & B. They assume that
11+
each end customer will have two roles for their
12+
staff: Customer Administrator and Customer End User. 
13+
14+
## Example Policies for Customer Administrator
15+
```
16+
Allows the group specified to use all C3 services in the compartment
17+
listed:
18+
19+
Allow group CustA-Admin-grp to manage all-resources in compartment
20+
path:to:CustA
21+
22+
Allow group CustB-Admin-grp to manage all-resources in compartment
23+
path:to:CustB
24+
```
25+
Note that the above policy grants permissions in the CustA and CustB
26+
compartments of the C3 but **also in the same compartment in the OCI
27+
tenancy**! To prevent permissions being granted in the OCI tenancy
28+
append a condition such as:
29+
30+
```Allow group CustA-Admin-grp to manage all-resources in compartment
31+
path:to:CustA where all {request.region != 'LHR',request.region !=
32+
'FRA'}
33+
34+
Allow group CustB-Admin-grp to manage all-resources in compartment
35+
path:to:CustB where all {request.region != 'LHR',request.region !=
36+
'FRA'}
37+
```
38+
In the example above the condition prevents resource creation in London
39+
and Frankfurt regions. Adjust the list to include all regions the
40+
tenancy is subscribed to.
41+
42+
The path to the end user compartment must be explicitly stated, using
43+
the comma format, relative to the compartment where the policy is
44+
created. 
45+
46+
## Example Policies for Customer End User
47+
```
48+
Allow group CustA-Users-grp to manage instance-family in compartment
49+
path:to:CustA
50+
Allow group CustA-Users-grp to use volume-family in compartment
51+
path:to:CustA
52+
Allow group CustA-Users-grp to use virtual-network-family in compartment
53+
path:to:CustA
54+
Allow group CustB-Users-grp to manage instance-family in compartment
55+
path:to:CustB
56+
Allow group CustB-Users-grp to use volume-family in compartment
57+
path:to:CustB
58+
Allow group CustB-Users-grp to use virtual-network-family in compartment
59+
path:to:CustB
60+
```
61+
As above append a condition to limit permissions to the C3 and prevent
62+
resource creation in OCI regions:
63+
```
64+
Allow group CustA-Users-grp to manage instance-family in compartment
65+
path:to:CustA where all {request.region != 'LHR',request.region !=
66+
'FRA'}
67+
Allow group CustA-Users-grp to use volume-family in compartment
68+
path:to:CustA where all {request.region != 'LHR',request.region !=
69+
'FRA'}
70+
Allow group CustA-Users-grp to use virtual-network-family in compartment
71+
path:to:CustA where all {request.region != 'LHR',request.region !=
72+
'FRA'}
73+
Allow group CustB-Users-grp to manage instance-family in compartment
74+
path:to:CustB where all {request.region != 'LHR',request.region !=
75+
'FRA'}
76+
Allow group CustB-Users-grp to use volume-family in compartment
77+
path:to:CustB where all {request.region != 'LHR',request.region !=
78+
'FRA'}
79+
Allow group CustB-Users-grp to use virtual-network-family in compartment
80+
path:to:CustB where all {request.region != 'LHR',request.region !=
81+
'FRA'}
82+
```
83+
## Common Policy
84+
85+
Currently any user of a C3 needs access to certain resources located at
86+
the tenancy level to use IaaS resources in the web UI.
87+
Backup policies, tag namespaces, platform images, all reside at the
88+
tenancy level and need a further policy to allow normal use of C3 IaaS
89+
services. Note that this is a subtle difference to the behaviour on OCI. 
90+
91+
An extra policy as below is required (where CommonGroup contains **all**
92+
HSP users on the C3):
93+
```
94+
allow group CommonGroup to read all-resources in tenancy where
95+
target.compartment.name='root-compartment-name'
96+
```
97+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Lock-Free Reservation
2+
3+
A Lock-Free Reservation allows multiple concurrent updates on a numeric column value to proceed without being blocked by uncommitted updates when adding or subtracting from the column value.
4+
5+
By avoiding the traditional locking mechanism during updates, this feature allows you to greatly improve on the user experience with reduced blocking in the presence of frequent concurrent updates to reservable columns. In previous releases, when a column value of a row is updated by adding or subtracting from it, all other updates to that row are blocked until the transaction is committed. With the introduction of the Lock-Free Reservation feature in Oracle Database 23ai, you can allow transactions
6+
to concurrently add or subtract from the same row’s reservable column without blocking each other by specifying the conditions for which the updates may proceed.
7+
Especially online applications updating intensively and with huge concurrency, low cardinality tables can take advantage of this new feature.
8+
9+
Reviewed: 03.09.2024
10+
11+
# Useful Links
12+
13+
## Documentation
14+
15+
- [Database Concepts](https://docs.oracle.com/en/database/oracle/oracle-database/23/cncpt/tables-and-table-clusters.html#GUID-7C6A8E8A-F634-4D0D-877A-F948D6101066)
16+
- [Database Developer Guide](https://docs.oracle.com/en/database/oracle/oracle-database/23/adfns/using-lock-free-reservation.html#GUID-60D87F8F-AD9B-40A6-BB3C-193FFF0E60BB)
17+
- [SQL Language Reference](https://docs.oracle.com/en/database/oracle/oracle-database/23/sqlrf/CREATE-TABLE.html#GUID-F9CE0CC3-13AE-4744-A43C-EAC7A71AAAB6)
18+
19+
20+
# Team Publications
21+
22+
## Blogs
23+
- [Lock-free reservation: how to start with](https://blogs.oracle.com/coretec/post/lock-free-reservation-in-23c)
24+
- [Lock-free reservation: scale your apps](https://blogs.oracle.com/coretec/post/lockfree-reservation-in-23c-scale-your-apps)
25+
26+
## Videos
27+
- [23ai Playlist](https://www.youtube.com/playlist?list=PLHA__TOeNI7MNBND0JWQUqTYOQ1up-VHX)
28+
29+
# License
30+
31+
Copyright (c) 2024 Oracle and/or its affiliates.
32+
33+
Licensed under the Universal Permissive License (UPL), Version 1.0.

data-platform/core-converged-db/database-23ai/transactions/automatic-rollback/LICENSE

Lines changed: 0 additions & 35 deletions
This file was deleted.

data-platform/core-converged-db/database-23ai/transactions/automatic-rollback/README.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

data-platform/core-converged-db/database-23ai/transactions/automatic-rollback/files/automatic-transaction-rollback-v$parameter.sql

Lines changed: 0 additions & 7 deletions
This file was deleted.

data-platform/core-converged-db/database-23ai/transactions/automatic-rollback/files/automatic-transaction-rollback-v$session.sql

Lines changed: 0 additions & 6 deletions
This file was deleted.

data-platform/core-converged-db/database-23ai/transactions/automatic-rollback/files/automatic-transaction-rollback-v$transaction.sql

Lines changed: 0 additions & 4 deletions
This file was deleted.

data-platform/core-converged-db/database-23ai/transactions/lock-free-reservation/README.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)