Skip to content

Instantly share code, notes, and snippets.

[
{
"capacity": {
"initial": 3,
"max": 6,
"min": 3
},
"display-name": "autoscaling-policy-cpu80percent",
"policy-type": "threshold",
"rules": [
[
{
"availabilityDomain": "sbnF:UK-LONDON-1-AD-1",
"primarySubnetId": "<subnetId>"
},
{
"availabilityDomain": "sbnF:UK-LONDON-1-AD-2",
"primarySubnetId": "<subnetId>"
},
{
{
"instanceType": "compute",
"launchDetails": {
"agentConfig": {
"isManagementDisabled": false,
"isMonitoringDisabled": false,
"pluginsConfig": [
{
"desired-state": "DISABLED",
"name": "Vulnerability Scanning"
oci compute image create --compartment-id <compartment-id> --instance-id <instance-id> --display-name ords_template_4=ML3DOZ8P2WLCQEKW
ubuntu@FAKELES-7310:~$ sqlplus SYS@//localhost:10521/DB0701_lhr1fj.sub07010909421.demovcn.oraclevcn.com AS SYSDBA
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Apr 25 14:59:00 2023
Version 19.16.0.0.0
Copyright (c) 1982, 2022, Oracle. All rights reserved.
Enter password:
Connected to:
oci bastion session create-port-forwarding --bastion-id <bastion-id> --target-private-ip 10.0.1.152 --target-port 1521 --ssh-public-key-file /home/ubuntu/.ssh/fkeles-nopass.pub
oci bastion bastion create --bastion-type standard --compartment-id <compartment-id> --target-subnet-id <subnet-id> --client-cidr-list '["0.0.0.0/0"]'
systemctl enable ords.service
systemctl restart ords.service
[root@ords-2 ~]# ords install adb --interactive --prompt-password --log-folder /u01/ords/log
2023-04-13T09:14:50Z INFO ORDS has not detected the option '--config' and this will be set up to the default directory.
ORDS: Release 23.1 Production on Thu Apr 13 09:14:52 2023
Copyright (c) 2010, 2023, Oracle.
Configuration:
/etc/ords/config/
scp -i ~/.ssh/fkeles-nopass
-o ProxyCommand="ssh -i ~/.ssh/fkeles-nopass -W %h:%p -p 22 <redacted-bastion-session-id>@host.bastion.uk-london-1.oci.oraclecloud.com"
-P 22
/your/local/folder/Wallet_ML3DOZ8P2WLCQEKW.zip
opc@10.0.1.217:/your/remote/folder