Manual:getSlaveServer.php
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.35</tvar>.</translate> |
<translate> ≤</translate> 1.34
<translate> MediaWiki version:</translate> |
MediaWiki file: getSlaveServer.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Classes: | GetSlaveServer |
Details
getSlaveServer.php file is a maintenance script to report the hostname of a slave (replica) server.
This script has been removed in Gerrit change 604544 (MediaWiki 1.35). Use getReplicaServer.php instead.
Options
Option | Description | Required? |
---|---|---|
--group | Query group to check specifically | <translate> Optional</translate> |
--cluster | Use an external cluster by name | <translate> Optional</translate> |
Usage
php maintenance/getSlaveServer.php [ --group| --cluster ]
Terminal
$ php maintenance/getSlaveServer.php slave1.serv.er