@ -3133,7 +3133,6 @@ SELECT
scan_drbd_total_sync_speed
scan_drbd_total_sync_speed
FROM
FROM
scan_drbd
scan_drbd
WHERE
; " ;
; " ;
$ anvil - > Log - > variables ( { source = > $ THIS_FILE , line = > __LINE__ , level = > $ debug , list = > { query = > $ query } } ) ;
$ anvil - > Log - > variables ( { source = > $ THIS_FILE , line = > __LINE__ , level = > $ debug , list = > { query = > $ query } } ) ;
@ -3178,7 +3177,6 @@ SELECT
scan_drbd_resource_xml
scan_drbd_resource_xml
FROM
FROM
scan_drbd_resources
scan_drbd_resources
WHERE
; " ;
; " ;
$ anvil - > Log - > variables ( { source = > $ THIS_FILE , line = > __LINE__ , level = > $ debug , list = > { query = > $ query } } ) ;
$ anvil - > Log - > variables ( { source = > $ THIS_FILE , line = > __LINE__ , level = > $ debug , list = > { query = > $ query } } ) ;
@ -3195,7 +3193,7 @@ WHERE
my $ resource_uuid = $ row - > [ 0 ] ;
my $ resource_uuid = $ row - > [ 0 ] ;
my $ scan_drbd_resource_host_uuid = $ row - > [ 1 ] ;
my $ scan_drbd_resource_host_uuid = $ row - > [ 1 ] ;
my $ scan_drbd_resource_name = $ row - > [ 2 ] ;
my $ scan_drbd_resource_name = $ row - > [ 2 ] ;
my $ short_host_name = $ anvil - > data - > { hosts } { host_uuid } { $ scan_drbd_resource_name } { short_host_name } ;
my $ short_host_name = $ anvil - > data - > { hosts } { host_uuid } { $ scan_drbd_resource_host_uuid } { short_host_name } ;
$ anvil - > Log - > variables ( { source = > $ THIS_FILE , line = > __LINE__ , level = > $ debug , list = > {
$ anvil - > Log - > variables ( { source = > $ THIS_FILE , line = > __LINE__ , level = > $ debug , list = > {
resource_uuid = > $ resource_uuid ,
resource_uuid = > $ resource_uuid ,
scan_drbd_resource_host_uuid = > $ scan_drbd_resource_host_uuid ,
scan_drbd_resource_host_uuid = > $ scan_drbd_resource_host_uuid ,
@ -3230,7 +3228,6 @@ SELECT
scan_drbd_volume_size
scan_drbd_volume_size
FROM
FROM
scan_drbd_volumes
scan_drbd_volumes
WHERE
; " ;
; " ;
$ anvil - > Log - > variables ( { source = > $ THIS_FILE , line = > __LINE__ , level = > $ debug , list = > { query = > $ query } } ) ;
$ anvil - > Log - > variables ( { source = > $ THIS_FILE , line = > __LINE__ , level = > $ debug , list = > { query = > $ query } } ) ;
@ -3300,7 +3297,6 @@ SELECT
scan_drbd_peer_fencing
scan_drbd_peer_fencing
FROM
FROM
scan_drbd_peers
scan_drbd_peers
WHERE
; " ;
; " ;
$ anvil - > Log - > variables ( { source = > $ THIS_FILE , line = > __LINE__ , level = > $ debug , list = > { query = > $ query } } ) ;
$ anvil - > Log - > variables ( { source = > $ THIS_FILE , line = > __LINE__ , level = > $ debug , list = > { query = > $ query } } ) ;
@ -5100,6 +5096,7 @@ FROM
$ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_size } = $ scan_lvm_lv_size ;
$ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_size } = $ scan_lvm_lv_size ;
$ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_path } = $ scan_lvm_lv_path ;
$ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_path } = $ scan_lvm_lv_path ;
$ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_on_pvs } = $ scan_lvm_lv_on_pvs ;
$ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_on_pvs } = $ scan_lvm_lv_on_pvs ;
$ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv_path } { $ scan_lvm_lv_path } { scan_lvm_lv_name } = $ scan_lvm_lv_name ;
$ anvil - > Log - > variables ( { source = > $ THIS_FILE , line = > __LINE__ , level = > $ debug , list = > {
$ anvil - > Log - > variables ( { source = > $ THIS_FILE , line = > __LINE__ , level = > $ debug , list = > {
"lvm::host_name::${short_host_name}::lv::${scan_lvm_lv_name}::scan_lvm_lv_uuid" = > $ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_uuid } ,
"lvm::host_name::${short_host_name}::lv::${scan_lvm_lv_name}::scan_lvm_lv_uuid" = > $ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_uuid } ,
"lvm::host_name::${short_host_name}::lv::${scan_lvm_lv_name}::scan_lvm_lv_internal_uuid" = > $ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_internal_uuid } ,
"lvm::host_name::${short_host_name}::lv::${scan_lvm_lv_name}::scan_lvm_lv_internal_uuid" = > $ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_internal_uuid } ,
@ -5108,6 +5105,7 @@ FROM
"lvm::host_name::${short_host_name}::lv::${scan_lvm_lv_name}::scan_lvm_lv_size" = > $ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_size } . " (" . $ anvil - > Convert - > bytes_to_human_readable ( { 'bytes' = > $ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_size } } ) . ")" ,
"lvm::host_name::${short_host_name}::lv::${scan_lvm_lv_name}::scan_lvm_lv_size" = > $ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_size } . " (" . $ anvil - > Convert - > bytes_to_human_readable ( { 'bytes' = > $ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_size } } ) . ")" ,
"lvm::host_name::${short_host_name}::lv::${scan_lvm_lv_name}::scan_lvm_lv_path" = > $ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_path } ,
"lvm::host_name::${short_host_name}::lv::${scan_lvm_lv_name}::scan_lvm_lv_path" = > $ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_path } ,
"lvm::host_name::${short_host_name}::lv::${scan_lvm_lv_name}::scan_lvm_lv_on_pvs" = > $ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_on_pvs } ,
"lvm::host_name::${short_host_name}::lv::${scan_lvm_lv_name}::scan_lvm_lv_on_pvs" = > $ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv } { $ scan_lvm_lv_name } { scan_lvm_lv_on_pvs } ,
"lvm::host_name::${short_host_name}::lv_path::${scan_lvm_lv_path}::scan_lvm_lv_name" = > $ anvil - > data - > { lvm } { host_name } { $ short_host_name } { lv_path } { $ scan_lvm_lv_path } { scan_lvm_lv_name } ,
} } ) ;
} } ) ;
}
}