To start the vcgeo service:
Step |
Task |
---|---|
1 |
Change directories to [Product directory]/vcgeo. |
2 |
Run the vcgeoadmin.pl script, and pass in start as the argument. For example: ./vcgeoadmin.pl start |
3 |
The active status validation may be bypassed by passing in -f as an additional argument. This causes the script to start, even if another server is currently marked as Active in the vcgeo.group file. Example: ./vcgeoadmin.pl start -f |
To stop the vcgeo service:
Step |
Task |
---|---|
1 |
Change directories to [Product directory]/vcgeo. |
2 |
Run the vcgeoadmin.pl script, and pass in stop as the argument. For example: ./vcgeoadmin.pl stop |
3 |
The server in group validation may be bypassed by passing in -f as an additional argument. This causes the script to stop, even if the server exists in the vcgeo.group file or if the vcgeo.group file does not exist. For example: ./vcgeoadmin.pl stop -f |
To get the status of the vcgeo service:
Step |
Task |
---|---|
1 |
Change directories to [Product directory]/vcgeo. |
2 |
Run the vcgeoadmin.pl script, and pass in status as the argument. For example: ./vcgeoadmin.pl status This displays a list of the servers in the vcgeo group along with each status. This information is pulled from the vcgeo.group file on the server from which the status command is run; therefore, this information may be stale if replication is either lagging or turned off. |
To add a server to the vcgeo group:
Step |
Task |
---|---|
1 |
Change directories to [Product directory]/vcgeo. |
2 |
Run the vcgeoadmin.pl script, and pass in add as the argument. For example: ./vcgeoadmin.pl add |
3 |
The script prompts you for the IP address of the server you want to add, and a label for that server. |
4 |
Alternatively, you can pass in the IP address and label by appending the following arguments: –ip=IP ADDRESS –label=LABEL |
To remove a server from the vcgeo group:
Step |
Task |
---|---|
1 |
Change directories to [Product directory]/vcgeo. |
2 |
Run the vcgeoadmin.pl script, and pass in remove as the argument. For example: ./vcgeoadmin.pl remove |
3 |
The script prompts you for the IP address of the server you want to remove. |
4 |
Alternatively, you can pass in the IP address by appending the following argument: –ip=IP ADDRESS |