Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7862703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:14:45+00:00 2026-06-02T23:14:45+00:00

I want to do auto scaling using knife command line tool. My main goal

  • 0

I want to do auto scaling using knife command line tool. My main goal is to set up master servers and then scale out the instances as per to load generation on the master servers. I have gone through this example.

Here, i can successfully create the entire stack on single server and also can create on multiple servers(by following that example).

Now my scenario is, I have one web app at one instance and db at another instance, and I am scale out the database instance due to heavy load on database instance but how do my web app will know that another database is created and use that database instance?

I am using opscode chef which gives the flexibility to manage instances. I want to know how and where to write configuration like the above scenario? and if any good reference anyone know will be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T23:14:47+00:00Added an answer on June 2, 2026 at 11:14 pm

    Take a look at the application and database cookbooks, they have recipes that will set up a database config file for you (the java recipe for instance)

    Once chef has configured this file you would need to reload that config file in your app or reboot it. Doing that would be up to you, depending on if you wanted to write a chef cookbook do do it or just watch for changes in your app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using aws sdk for auto scaling command line tool . I want
I want to enable auto update script in flex3. i am using below code
i am new to smartGWT . i want to create auto login using j_security_check
I want to set the height of asp:panel to auto and I also want
I think of using Wasabi block for auto-scaling my Azure application. Looks like the
I am using JPanel I want to auto expand all the panels on page
I want to auto publish the sites using teamcity. I am using teamcity's Visual
Users want Auto-Lock turned off while using my navigation utility. Is it possible to
1) I want to auto wrap a text by words so that each line
I'm using asp.net dynamic data. There is a field I want to auto fill

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.