Search This Blog

Monday, January 18, 2021

Gradual Database Password Rollover for Applications

Gradual Database Password Rollover for Applications

You are not getting downtime for your business-critical or customer-facing application and you still need to change the password for the SoX compliance? so here is the solution, change database passwords without downtime!   

Starting from Oracle Database 21c, we can change the database password without any application downtime.

To explain this new feature, let's consider a simple application running on 3 nodes and load balanced using software of hardware load balancer. 


Typically, in a normal scenario, if you have to change the database schema password, you need to bringdown application services from all 3 app nodes, change the password in the database, change the config password in app nodes (or vault) and start the application services in all 3 app nodes.

Now, you don't need downtime of the application - here is how you can do it.

1) DBA need to associate a profile having a non-zero limit for the PASSWORD_ROLLOVER_TIME password profile parameter, with an application schema. That means, when you are changing the password, your old and new password will be active for the specified time in PASSWORD_ROLLOVER_TIME.

2) Change the config file in all 3 App nodes or vault. Till now, the application will use the old password. 

3) Restart the App nodes one by one (There will not be any downtime to colleagues as, at any point of time during the restart of app services, the remaining least 2 nodes will be serving the requests), once the application is restarted, it will pick up the new password.

Please note that when the rollover time is expired, the old password can not be used. That means, we have to complete all the above 3 steps within the time mentioned in PASSWORD_ROLLOVER_TIME.

So, to conclude, you can adhere to SoX compliance requirements and also keep your business-critical or customer-facing application up and running!

Monday, August 3, 2020

Work-Life-Study balance during and after COVID-19!

COVID-19 has changed the way we work and operate! We are no longer going to the office, which is saving the commute time, however, on the other hand, the number of meetings has increased. Earlier, we used to finish face-to-face discussions in 5 minutes, and now we are spending more time on online calls. This can be a little challenging if your spouse is also working and you have school-going kids as well. Your spouse also has to work, and kids have online classes and submissions. Last but not least, you are spending time in your home, and your home office setup may not be ergonomic as well. In this situation, you may face work-life-study balance challenges.

too busy
Work-Life-Study Balance

There are a few things that you can try out. 

Carve out dedicated time for the family, for example, Breakfast time (8:00 AM to 9:00AM), lunchtime (1:00 PM to 2:00 PM), Study time (6:00 to 7:00 PM), and Dinner time (7:00 PM to 8:00 PM). Avoid taking any meetings during these times/breaks. Block this time in your calendar, so that no one can book your calendar during this time.

cookingbbqlet's eat

Segregate meetings into must-have, good to have, and nice to have. Take your judgment on good-to-have and nice-to-have meetings. Try to either reduce the frequency instead of weekly, make it fortnightly, or cancel the meeting series for a few months, etc. You have to attend and participate in "must-have" meetings. 

Clientmoji

Segregate your to-do list into 2X2 urgent and important matrix (The Eisenhower Matrix )and try to complete them within the time. 

Bitmoji Image


While dealing with emails, remember 4D's [Do (take action), Delegate, Differ, Delete]. The same thing applies to your calendar as well. 

Clientmoji

Take regular time off.

Clientmoji

Do meditation and exercise 

deep breathstree pose

Seek help from your friends/manager/mentor.
help!

Eat healthy food, and get proper rest/sleep.

Bitmoji ImageSleeping


Stay home, and keep in touch with your friends, and family members using video calls/chat

stay homevideo chat

Last but not least, invest in good ergonomic furniture so that you don't get into long-term health issues like backache etc. 

working from home