This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"capacity": { | |
"initial": 3, | |
"max": 6, | |
"min": 3 | |
}, | |
"display-name": "autoscaling-policy-cpu80percent", | |
"policy-type": "threshold", | |
"rules": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"availabilityDomain": "sbnF:UK-LONDON-1-AD-1", | |
"primarySubnetId": "<subnetId>" | |
}, | |
{ | |
"availabilityDomain": "sbnF:UK-LONDON-1-AD-2", | |
"primarySubnetId": "<subnetId>" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"instanceType": "compute", | |
"launchDetails": { | |
"agentConfig": { | |
"isManagementDisabled": false, | |
"isMonitoringDisabled": false, | |
"pluginsConfig": [ | |
{ | |
"desired-state": "DISABLED", | |
"name": "Vulnerability Scanning" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oci compute image create --compartment-id <compartment-id> --instance-id <instance-id> --display-name ords_template_4=ML3DOZ8P2WLCQEKW |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oci bastion bastion create --bastion-type standard --compartment-id <compartment-id> --target-subnet-id <subnet-id> --client-cidr-list '["0.0.0.0/0"]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
systemctl enable ords.service | |
systemctl restart ords.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
NewerOlder