geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinmei Liao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-401) gfsh backup disk-store does not print offline members
Date Tue, 05 Jan 2016 21:21:39 GMT

    [ https://issues.apache.org/jira/browse/GEODE-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15083821#comment-15083821
] 

Jinmei Liao commented on GEODE-401:
-----------------------------------

For a REPLICATE_PERSISTENT region, after a clean shut down of the server, it is expected that
output won't show any offline members, since it has no idea that server was there.

If you have created a PARTITION_PERSISTENT region, and shut down the 3rd server, the output
would show it:
gfsh>stop server --name=server3
Stopping Cache Server running in /Users/jiliao/G401/server3 on 10.118.33.244[40404] as server3...
Process ID: 41586
Log File: /Users/jiliao/G401/server3/server3.log
.....
gfsh>backup disk-store --dir=/Users/jiliao/G401/backup
The following disk stores were backed up successfully

 Member  |                 UUID                 |                     Directory          
           | Host
-------- | ------------------------------------ | --------------------------------------------------
| -------------
server2  | eaabfeed-17bb-4be1-b4de-9fb119e9f0b5 | /Users/jiliao/G401/server2/.           
           | 10.118.33.244
locator1 | 35746496-e09e-4394-acfd-19b12df6e46e | /Users/jiliao/G401/locator1/ConfigDiskDir_locator1
| 10.118.33.244
server1  | 0991b0d4-c43d-427b-a211-8c54c2abe9b2 | /Users/jiliao/G401/server1/.           
           | 10.118.33.244

The backup may be incomplete. The following disk stores are not online

                UUID                 |     Host      | Directory
------------------------------------ | ------------- | ----------------------------
14e8b2f8-b1e6-4580-9e8d-19adec0c28ea | 10.118.33.244 | /Users/jiliao/G401/server3/.

> gfsh backup disk-store does not print offline members
> -----------------------------------------------------
>
>                 Key: GEODE-401
>                 URL: https://issues.apache.org/jira/browse/GEODE-401
>             Project: Geode
>          Issue Type: Bug
>          Components: persistence
>    Affects Versions: 1.0.0-incubating
>            Reporter: Karen Smoler Miller
>            Priority: Minor
>              Labels: gfsh
>
> Test environment has 3 servers running with 1 REPLICATE_PERSISTENT region.  Make a backup
with all 3 servers online:
> {noformat}
> gfsh>backup disk-store --dir=/Users/kmiller/tryit/trybackup/mybackupdir
> The following disk stores were backed up successfully
>  Member  |                 UUID                 |                              Directory
                             | Host
> -------- | ------------------------------------ | -------------------------------------------------------------------
| ---------------------------------
> server2  | 49ec8158-fa55-4340-a20c-bc20d9d90bbb | /Users/kmiller/tryit/trybackup/try2/server2/.
                      | pdx2-office-dhcp10.eng.vmware.com
> server1  | 4b6ef006-c585-48de-83a2-74f79199e2fa | /Users/kmiller/tryit/trybackup/try1/server1/.
                      | pdx2-office-dhcp10.eng.vmware.com
> server3  | b9e6771e-ab84-4808-a081-6c0134144fd9 | /Users/kmiller/tryit/trybackup/try3/server3/.
                      | pdx2-office-dhcp10.eng.vmware.com
> locator1 | 5bce95be-5bb6-4be6-adc2-aa18dde1c2b6 | /Users/kmiller/tryit/trybackup/try1/locator1/ConfigDiskDir_locator1
| pdx2-office-dhcp10.eng.vmware.com
> {noformat}
> Here's the output once server 3 is stopped.  Notice that there is no indication that
a backup was not taken for server 3's disk store, since server 3 is offline.
> {noformat}
> gfsh>stop server --name=server3
> gfsh>backup disk-store --dir=/Users/kmiller/tryit/trybackup/mybackupdir
> The following disk stores were backed up successfully
>  Member  |                 UUID                 |                              Directory
                             | Host
> -------- | ------------------------------------ | -------------------------------------------------------------------
| ---------------------------------
> server2  | 49ec8158-fa55-4340-a20c-bc20d9d90bbb | /Users/kmiller/tryit/trybackup/try2/server2/.
                      | pdx2-office-dhcp10.eng.vmware.com
> server1  | 4b6ef006-c585-48de-83a2-74f79199e2fa | /Users/kmiller/tryit/trybackup/try1/server1/.
                      | pdx2-office-dhcp10.eng.vmware.com
> locator1 | 5bce95be-5bb6-4be6-adc2-aa18dde1c2b6 | /Users/kmiller/tryit/trybackup/try1/locator1/ConfigDiskDir_locator1
| pdx2-office-dhcp10.eng.vmware.com
> {noformat}
> There ought to be an additional line in this output that states that no backup was made
for server 3.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message