Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@node-1-1 ~]# svcmgr -s servdrbd print status --format json
- {
- "app": "default",
- "avail": "up",
- "cluster": {
- "avail": "up",
- "compat": true,
- "overall": "warn",
- "placement": "optimal"
- },
- "csum": "aa1b170bb9490f46f30223bf69dc9bf1",
- "env": "TST",
- "monitor": {
- "global_expect": null,
- "global_expect_updated": 1541433079.624664,
- "local_expect": "started",
- "placement": "leader",
- "status": "idle",
- "status_updated": 1541433079.605888
- },
- "mtime": 1541435407.92148,
- "optional": "n/a",
- "orchestrate": "ha",
- "overall": "warn",
- "placement": "nodes order",
- "provisioned": true,
- "resources": {
- "app#1": {
- "disable": true,
- "label": "forking: redis_init_script",
- "status": "n/a",
- "type": "app.forking"
- },
- "disk#0": {
- "label": "loop /root/loopback.file",
- "provisioned": {
- "mtime": 1535017367.6809719,
- "state": true
- },
- "standby": true,
- "status": "stdby up",
- "type": "disk.loop"
- },
- "disk#1": {
- "label": "vg drdbvg",
- "provisioned": {
- "mtime": 1535017367.755972,
- "state": true
- },
- "standby": true,
- "status": "stdby up",
- "type": "disk.vg"
- },
- "disk#2": {
- "label": "drbd servdrbd",
- "log": [
- "info: Primary",
- "warn: unexpected drbd resource servdrbd state: UpToDate/DUnknown"
- ],
- "standby": true,
- "status": "stdby up",
- "type": "disk.drbd"
- },
- "fs#0": {
- "label": "ext4 /dev/drbd11@/srv/servdrbd",
- "monitor": true,
- "provisioned": {
- "mtime": 1535017791.372143,
- "state": true
- },
- "status": "up",
- "type": "fs"
- },
- "ip#vip": {
- "info": {
- "ipaddr": "192.168.100.13",
- "ipdev": "br-prd"
- },
- "label": "192.168.100.13@br-prd",
- "provisioned": {
- "mtime": 1541432997.9581158,
- "state": true
- },
- "status": "up",
- "type": "ip"
- },
- "sync#i0": {
- "label": "rsync svc config to nodes",
- "optional": true,
- "status": "up",
- "type": "sync.rsync"
- }
- },
- "running": [],
- "status_group": {
- "app": "n/a",
- "container": "n/a",
- "disk": "stdby up",
- "fs": "up",
- "ip": "up",
- "share": "n/a",
- "sync": "n/a",
- "task": "n/a"
- },
- "topology": "failover",
- "updated": "2018-11-05T16:30:07.921480Z"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement