The latest expert opinions, articles, and guides for the Java professional.
In the last Featurecast, we showed you how you can download LiveRebel and install it. We also showed you the lay of the land – the key directories, starting the LiveRebel console, and using the command line interface. Watch it if you missed it!
Now that you’re all set up let’s add servers to our LiveRebel installation!
Why Add Servers?
When automating application releases, we need to deploy our apps onto target environments. LiveRebel needs to know about these servers so that it can manage, monitor, and deploy, update or rollback apps on them.
What Kinds of Servers Can You Add?
LiveRebel can deploy applications from multiple platforms. To that end, it supports a range of servers:
- Application servers: These are your Java application servers. You can deploy applications on them using rolling updates so that end users are not impacting by downtime or faulty deployments.
- Web servers: These can be servers that host your PHP, Ruby, .NET or any other type of application. LiveRebel sets up a mini-proxy that you can configure, to intercept requests intended for the web server. This way, LiveRebel is able to perform rolling updates and ensure that each phase of the update is properly tested.
- Database servers: Any database server that has a JDBC driver. You can always set up a standalone database server to execute database migrations. Or add a database server that is associated with an app or a web server. Now LiveRebel will use the connections from the app or web servers to run the migrations.
- File Servers: Any server that is intended to be used to store files. As you deploy files here, you can also run scripts or update databases.
Adding Servers to LiveRebel
- On the LiveRebel Command Center, click the “Add Servers” button or navigate to the Servers tab and do so.
- Select your server type and operating system.
- Download and run the installer on your app/web/database/file server, and restart it if instructed.
Each server agent is assigned a unique token that authorizes it to connect to the LiveRebel Command Center. This security measure ensures that no malicious server connects to your LiveRebel Command Center.
Grouping Servers into Environments
As you add servers, group them into server groups or environments. This grouping makes it easy to deploy applications. You will simply need to select the environment when you do so.
Check out the video up-top to see a screen-by-screen process of how you can add servers to your LiveRebel installation.
Next: Adding Applications and Their Versions
No comments yet.
Leave a comment