Eduardo has posted comments on this change.
Change subject: Adding [start|stop]MonitoringDomain().
......................................................................
Patch Set 1: Verified+1
More verification (with engine) is required!
[root@localhost ~]# vdsClient -s 0 getStorageDomainsList
9615bd0c-ed20-4d47-b8d9-61a06e634830
577c3957-ee57-4496-ac84-c35067e1913a
2a7fbb64-f64c-4139-ba79-aaf21547845f
eff02bb9-cea8-4f89-a077-47f36be46197
[root@localhost ~]# vdsClient -s 0 getStorageDomainInfo
9615bd0c-ed20-4d47-b8d9-61a06e634830
uuid = 9615bd0c-ed20-4d47-b8d9-61a06e634830
vguuid = FScea1-AGv1-hwlM-dYHv-BZFb-Wit8-1ogEdM
lver = -1
state = OK
version = 3
role = Regular
pool = ['5849b030-626e-47cb-ad90-3ce782d831b3']
spm_id = -1
type = ISCSI
class = Data
master_ver = 0
name = iscsi1
[root@localhost ~]# vdsClient -s 0 getStorageDomainInfo
2a7fbb64-f64c-4139-ba79-aaf21547845f
uuid = 2a7fbb64-f64c-4139-ba79-aaf21547845f
vguuid = fzjUA0-bfG5-UJIL-nya2-T6NI-yAOh-8w3FsC
lver = -1
state = OK
version = 3
role = Master
pool = ['0d1ef687-3b3f-4e27-89f2-69d38dc4dc22']
spm_id = -1
type = ISCSI
class = Data
master_ver = 0
name = edu1
[root@localhost ~]# vdsClient -s 0 getConnectedStoragePoolsList
[root@localhost ~]# vdsClient -s 0 repoStats
[root@localhost ~]# vdsClient -s 0 startMonitoringDomain
9615bd0c-ed20-4d47-b8d9-61a06e634830 9
[root@localhost ~]# vdsClient -s 0 repoStats
Domain 9615bd0c-ed20-4d47-b8d9-61a06e634830 {'delay': '0.000697625',
'lastCheck': '9.3', 'code': 0, 'valid': True,
'version': 3}
[root@localhost ~]# vdsClient -s 0 connectStoragePool 0d1ef687-3b3f-4e27-89f2-69d38dc4dc22
4 0 2a7fbb64-f64c-4139-ba79-aaf21547845f 1
[root@localhost ~]# vdsClient -s 0 repoStats
Domain 9615bd0c-ed20-4d47-b8d9-61a06e634830 {'delay': '0.000580883',
'lastCheck': '9.0', 'code': 0, 'valid': True,
'version': 3}
Domain 2a7fbb64-f64c-4139-ba79-aaf21547845f {'delay': '0.000485516',
'lastCheck': '9.6', 'code': 0, 'valid': True,
'version': 3}
[root@localhost ~]# vdsClient -s 0 stopMonitoringDomain
9615bd0c-ed20-4d47-b8d9-61a06e634830
[root@localhost ~]# vdsClient -s 0 repoStats
--
To view, visit
http://gerrit.ovirt.org/19762
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I983d49b0a42cc06428ec75b7795d23abaa6ab84c
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Eduardo <ewarszaw(a)redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Eduardo <ewarszaw(a)redhat.com>
Gerrit-Reviewer: Gadi Ickowicz <gickowic(a)redhat.com>
Gerrit-Reviewer: Yeela Kaplan <ykaplan(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No