In dbWatch you can organize instances in servicegroups

Instances placed in the same servicegroup should provide a common service of some sort. For example this can be instances belonging to the same cluster. Servicegroups may also be placed inside other servicegroups.

The graphical interface for manipulating service groups is limited in version 12.1, so this is best done using the commandline interface. Read more

To add an instance (called “Test A”) to a servicegroup (called “DGRAC Service”):

dbw.exe map -url localhost:7099 -login myuser -password mypassword -i "Test A" -sg "DGRAC Service"

Remove an instance (called “Test A”) from a servicegroup (called “DGRAC Service”):

dbw.exe unmap -url localhost:7099 -login myuser -password mypassword -i "Test A" -sg "DGRAC Service"

Add a servicegroup (called “Service A”) to another servicegroup (called “Service B”):

dbw.exe map -url localhost:7099 -login myuser -password mypassword -sg "Service A" -tosg "Service B"

Remove a servicegroup (called “Service A”) from a servicegroup (called “Service B”):

dbw.exe unmap -url localhost:7099 -login myuser -password mypassword -sg "Service A" -tosg "Service B"

Add a new servicegroup:

dbw register -url localhost:7099 -login myuser -password mypassword -configfile myconfig.xml

Where the file myconfig.xml has the following format (Exchange “Servicegroup name” with the name you want)

<service-group>
                <group-name>Development</group-name>
                <sub-group-name></sub-group-name>
                <id>servicegrouping:Servicegroup name@server:((this))</id>
</service-group>

← Importing Resources / Edit Management →

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment