How to setup read replica for Aurora Serverless [closed] - amazon-aurora

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
The community reviewed whether to reopen this question 7 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I have global user base spread globally. If I use AWS Aurora MySQL Serveless DB, and select Multi-AZ support, how to use read replica closer to the user for RO queries.
To be more specific, Primary DB will in London.
London User -> London App Server --> London DB (for read)
Tokyo user -> Tokyo App Server --> Tokyo DB (for read)
London/Tokyo user -> London/Tokyo App Server --> London DB (for write)
All I want to understand is how to force App SErver to connect to the nearest read replica.

I don't think there is an option to create a read replica for Aurora MySQL Serverless DB. Please refer to the official setup documentation here.
I think your only option is to use Aurora Global Database that spans multiple AWS regions. Read more here.

Related

How to add and improve security for Oracle 11g Database which is open open publicly? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I just inherited a legacy ERP system on my new job which has Oracle 11g database. ERP is based on Java and Oracle forms. It is so old that it needs IE to run and a specific JRE 8.121 requirement.
So with the current system, users can access the ERP outside the internal network by using the server's public IP. Oracle 11g DB's listener port is open and is forwarded from the router. This is my concern with this setup. It is very easy to connect to the database.
What are possible ways to improve this setup?
Soooo many things that could be done here...
Deploy Oracle Connection manager to reverse proxy your database connections: https://pmdba.wordpress.com/2013/12/01/deploying-an-oracle-11gr2-connection-manager/
Use a hardening checklist like the DISA Security Technical Implementation Guide for Oracle 11g: https://www.stigviewer.com/stig/oracle_database_11g_instance/, https://pmdba.wordpress.com/2020/03/03/how-to-complete-a-stig-review/
Apply all patch set updates for Oracle 11g, and if at all possible upgrade to Oracle 19c as soon as possible. Security patches for 11g will end later this year, and 19c will soon be the only long-term supported version. https://pmdba.wordpress.com/2020/04/28/top-stig-part-3-software-support/
Enable auditing and have some sort of monitoring or log file analysis in place so that you can be alerted to any abnormal behavior. https://pmdba.wordpress.com/2013/12/01/real-time-oracle-11g-log-file-analysis/
The keys are to make sure that your database is not directly accessible from a public network, to harden your infrastructure as much as you can, and to have some idea what users are doing at any given time. Don't forget to make sure that your backups are secure, too, and regularly tested/validated to make sure you can recover from them.

problem when creating a new connection in SQL developer [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
when I created a new connection I find that it contains same content as the previous one, even I have not written anything to this new connection.
A SQL Developer connection is just a session. If you use the same username as an existing connection's user you will see the objects belonging to that schema.
If you want to create a new user you actually have to create a new user. Connect as SYS (using SYSDBA connection) and
create user new_user identified by some_password
default tablespace users;
grant create session, create table, create procedure to new_user;
grant quota 100M on users to new_user;
Obviously give the user an appropriate name for your needs. Grant it all the privileges it needs. Find out more.
Once you have created the user you can create a SQL Developer connection for it.

Oracle: Creating new database remove existing user [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I used Database Configuration Assistant to create new database but afterwards notice all exsiting database user disappeared. Please help!
how you are checking the users?
run > cmd
set ORACLE_sid=<database_name_here>
sqlplus / as sysdba
select username from dba_users;
I bet you've created the new database and are logged into it instead of the existing instance (maybe?)
Check which database you are in 1 of two ways:
echo $ORACLE_SID or select name from v$database;
If you find you are logged into the new instance find your old one and switch to it:
Find all SID's installed in your environment: cat /etc/oratab
Switch to it: . oraenv then enter in the appropriate SID you found in the oratab.

Laravel 4:Can the migration file be reused? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Can the migration file be reused?
In my project,I use the migration to make the database table.
And then I sent to my friend.
But he can't use the migration command to get these tables;
Always 'Nothing to migrate',So,May I ask how you do that?
Nothing to migrate appears only if Laravel detected that migration done already. Now question is, how Laravel detect migration already done?
if you go to your database (using PhpMyadmin or Sequel pro), you will see there is a table called migrations. Laravel store all migration information to the migrations table. Do not share this table with your friend. . If you share the table already, ask your friend to empty the table.
Than run the migration again.

Connecting WMB to database [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am new to WMB and I want to connect WMB to database. Please letme know which database will be good and please let me know the initial steps for connecting WMB to DB.
Thanks
Amit Khandelwal
WMB connects to a database via DSN. So, first thing you have to do is, creating a DSN.
Steps to create DSN will vary from OS to OS. For windows follow these steps in this link.
After creating DSN you have to attach it to your broker. Use
mqsisetdbparms for this purpose.
After giving mqsisetdbparms, you need to restart your broker.
In your message flow you have to give the same DSN name in the
"Database Source name property.
You can check if the broker is able to connect to the database using mqsicvp command.
Regarding, "which database will be good".
WMB works fine with all well known DB providers, like oracle, DB2 etc(As it uses DSN).
But since both WMB and DB2 are IBM products, I would guess they will mingle better with each other. We are using both Oracle and DB2 and we have got no complains for any of them.
Complete video Tutorial on connecting WMB to Database
All these documentation from IBM is very confusing and it takes lots of efforts in make all these things together. I found this video tutorial on youtube which explains connecting wmb to database step by step.
Configure Database on WebSphere Message Broker or Integration Bus
Connecting WMB to Database

Resources