|
Manage multiple servers
You can perform batch operations on multiple ColdFusion
Server instances from Server Manager.
When you drag and drop any setting, if that setting exists on
the server where the settings are being dropped, the settings get
overridden with the new settings. For example, if data source named
XXX is being dropped on a server and if that data source already
exists on the other server, then the data source gets overridden
with the new setting, without any warning.
In a batch operation, you can perform the following tasks:
Apply configuration settings on multiple serversThe left-pane of Server Manager lists the settings that
you can configure for one or more ColdFusion servers. To apply configuration
settings on multiple ColdFusion servers:
Configure the settings for one ColdFusion server using
the settings available in the left-pane of the Server Manager.
Select the other ColdFusion servers to which the settings
have to be applied.
Right-click a setting and select the Apply to Selected Servers
option. Alternatively, you can drag-and-drop the setting to the
selected servers in the right-pane of the Server Manager.
At
the bottom of the Server Manager window, a progress bar displays
the status of the setting being applied. Once the task is completed,
a message is displayed to confirm if the task was successful.
On the right-side of the progress bar, there are two icons,
Remove and Save Snapshot. To save a batch operation log, click the
Save Snapshot icon and save the log file.
Apart from applying settings to multiple ColdFusion servers,
you can use the Server Manager to perform the following actions:
Settings
|
Actions
|
Datasources
|
Add a datasource by right-clicking
the Datasources setting in the left pane.
Edit an existing datasource by right-clicking the datasource
in the left pane.
Remove an existing datasource by right-clicking the datasource
in the left pane.
Verify an existing datasource by right-clicking the datasource
in the left pane. If the verification is successful, a green icon
appears beside the data source node. Otherwise, an error message
is displayed along with a red icon beside the data source.
Verify all data sources by right-clicking the Data Sources
node in the left pane.
|
Mappings
|
Add a mapping by right-clicking
the Mappings setting.
Edit an existing mapping by right-clicking the mapping in
the left pane.
Remove an existing datasource by right-clicking the mapping
in the left pane.
|
Scheduling Tasks
|
On Scheduling Tasks setting:
On
a task:
Run a task by right-clicking the task item
and clicking Run.
Pause a task by right-clicking the task item and clicking
Pause.
Resume a task by right-clicking the task item and clicking
Resume.
|
JVM
|
Edit and refresh the JVM settings by right-clicking
the setting in the left pane.
|
Mail
|
Edit and refresh the mail settings by right-clicking
the setting in the left pane.
|
Chart
|
Edit and refresh the chart settings by right-clicking
the setting in the left pane.
|
Memory
|
Edit and refresh the memory settings by
right-clicking the setting in the left pane.
|
Server
|
Edit and refresh the server settings by
right-clicking the setting in the left pane.
|
Request Tuning
|
Edit and refresh the request tuning configuration
by right-clicking the setting in the left pane.
|
Logging
|
Edit and refresh the log settings by right-clicking
the setting in the left pane.
|
Note: To edit any settings, first refresh them to fetch the latest
setting and then edit them. The options for editing the configuration
settings are the same as in ColdFusion Administrator.
Clear template cacheUsing Server Manager you can clear the template cache for
multiple servers simultaneously. To clear the template cache:
Select the servers by selecting the Apply server task
and settings check box.
Click the Server Tasks option from the upper-right corner.
Click Clear Template Cache.
A progress bar at the
bottom displays the cache clearing status.
After the task
is completed, you can save the cache log by clicking the Save Snapshot
icon or remove it by clicking Remove.
Apply hot fixYou can update multiple ColdFusion Server instances, once
they are registered with Server Manager.
Note: After applying a hotfix, restart the server for the hotfix
to take effect.
To apply a hot fix to multiple servers:
Select the servers instances that need to be updated
by selecting the Apply server task and settings check box.
From the upper-right menu bar, click Server Tasks > Apply
Hot Fix.
Click Yes to confirm.
Navigate to the location of the JAR file to be used as a
hot fix.
Click Open to apply the hot fix to the server instances.
Once you apply a hot fix (.jar) to a server instance, that JAR
file appears in the <ColdFusion_home>/lib/updates directory.
Note: This is useful only if the hotfix is a JAR file. Place this
JAR file under <CF_Home/lib/updates> directory. If you place
a hotfix file to any other location, then you have to implement
it manually.
Set Server Manager preferencesTo set the Server Manager preferences, click Settings >
Preferences. You can set the following preferences in Server Manager:
Polling Interval: Use this option to set the interval
(in seconds) for Server Manager to check for any alerts and warnings
on ColdFusion server. In addition, if the status of your server
instance on Server Manager is “Unreachable”, then Server Manager
tries to reconnect to the server after the specified polling interval.
Stop batch operations on error: This check box is selected
by default. If you deselect this check box, Server Manager continues
to perform the batch operations even if an error occurs. Batch operations
include tasks such as applying hot fix, clearing template cache,
fetching settings from server, or applying settings from one server
to multiple servers.
Alert window position: Use this drop-down list to select
the position where the notifications and alerts would be displayed
in Server Manager.
Close the dialog box after receiving a server acknowledgment:
Select this option to close any edited server configuration dialog
box only after receiving the acknowledgment.
Show batch progress: This option is selected by default.
If you do not want to see the progress of the batch operations at
the bottom of the Server Manager window, then deselect this option.
Use inbuilt browser: By selecting this check box, you can
open any server URL in the internal browser or the default browser
in system.
|