Namaste There are two types of scaling a) Vertical Scaling : This involves adding cores/memory etc. to the same VM (Called Scale Up) or removing cores/memory etc.( Called Scale In) It requires downtime b) Horizontal scaling : Auto scaling is applicable here and we can either add additional VM's (Scale Out) or reduce VM's (Scale In) There is no downtime involved.
There is no compatible shape for Oracle Autonomous Linux! I need this script, because I run ghost blog on one of my instances, but everyday when I wake up and try to open the blog ghost service is down and instance is unaccesible from ssh and I need to reboot it to work again. Because Im not sure what cause this issue, I want to make automation to stop the instance from 1 hour during night and then start it again.
Hi! I would like to apply this solution for my database instance and I have a doubt about that. Does the tags can be applied to the database system or to the database node? My database is in a virtual machine.
After watching this video 5 times I observed that instance is created in compartment (Autoscale) but the policy created on root compartment. Why so? Any reason for that?
because of CreatingNamespace script its done that way, I have tried to create policy for specific compartment but when I executed CreatingNamespace schedule py file it doesn't work properly. So one needs python knowledge to tackle that issue.
Hi this is amazing..! Can you please make a video of connecting OCI with python ? to run shell scripts stored in an instance. I want to call example.sh file stored in an OCI with python. I know we can use os and sys library. but don't know how to connect python to OCI and reaching to the location where the example.sh files is stored.
I am screwed. I installed something from OCI on scaling CPUs on my Exadata on both nodes from Doc ID 2719916.1.. This looks similar to it. Don't understand this setup at all. The tool prompts of things like my userid, fingerprint?, etc. 5 minutes seems like 5 months.
@@dbsql6238Not sure if you can use Instance Principle (Dynamic groups) with the Exa Nodes. So you need to configure the OCI CLI to use API keys for authentication.
Yes, if you just want to do scaling for compute, then that policy will be fine. But the auto scaling script also supports other resources like instance pools, database, autonomous database, integration cloud, analytics cloud and digital assistant.
You could run the script from the oci console, but you would not be able to schedule it there, as that instance is powered off when not being used. You can better just a free-tier instance.
I am getting the error: oci.exceptions.ServiceError: {'opc-request-id': '922345.....A2A135', 'code': 'NotAuthorizedOrNotFound', 'message': 'Authorization failed or requested resource not found', 'status': 404} when I run the command python3 CreateNameSpaces.py. Please advise.