Can`t connect to VPN using nm-l2tp-service - centos

I using Centos 7 machine and want to connect to l2tp VPN using nm-l2tp-service:
Output of service:
[gefalko#localhost ~]$ sudo /usr/libexec/nm-l2tp-service --debug
nm-l2tp[20335] nm-l2tp-service (version 1.2.10-1.el7) starting...
nm-l2tp[20335] uses default --bus-name "org.freedesktop.NetworkManager.l2tp"
nm-l2tp[20335] ipsec enable flag: yes
** Message: Check port 1701
connection
id : "L2TP IPSec (PSK) - otravo" (s)
uuid : "49a95a8c-275b-464b-8f62-a7639b48e966" (s)
interface-name : NULL (sd)
type : "vpn" (s)
permissions : ["user:gefalko:"] (s)
autoconnect : FALSE (s)
autoconnect-priority : 0 (sd)
autoconnect-retries : -1 (sd)
timestamp : 0 (sd)
read-only : FALSE (sd)
zone : NULL (sd)
master : NULL (sd)
slave-type : NULL (sd)
autoconnect-slaves : ((NMSettingConnectionAutoconnectSlaves) NM_SETTING_CONNECTION_AUTOCONNECT_SLAVES_DEFAULT) (sd)
secondaries : NULL (sd)
gateway-ping-timeout : 0 (sd)
metered : ((NMMetered) NM_METERED_UNKNOWN) (sd)
lldp : -1 (sd)
stable-id : NULL (sd)
auth-retries : -1 (sd)
ipv6
method : "auto" (s)
dns : [] (s)
dns-search : [] (s)
dns-options : NULL (sd)
dns-priority : 0 (sd)
addresses : ((GPtrArray*) 0x1e8f780) (s)
gateway : NULL (sd)
routes : ((GPtrArray*) 0x1e8f6e0) (s)
route-metric : -1 (sd)
route-table : 0 (sd)
ignore-auto-routes : FALSE (sd)
ignore-auto-dns : FALSE (sd)
dhcp-hostname : NULL (sd)
dhcp-send-hostname : TRUE (sd)
never-default : FALSE (sd)
may-fail : TRUE (sd)
dad-timeout : -1 (sd)
dhcp-timeout : 0 (sd)
ip6-privacy : ((NMSettingIP6ConfigPrivacy) NM_SETTING_IP6_CONFIG_PRIVACY_UNKNOWN) (sd)
addr-gen-mode : 1 (sd)
token : NULL (sd)
proxy
method : 0 (sd)
browser-only : FALSE (sd)
pac-url : NULL (sd)
pac-script : NULL (sd)
vpn
service-type : "org.freedesktop.NetworkManager.l2tp" (s)
user-name : "gefalko" (s)
persistent : FALSE (sd)
data : ((GHashTable*) 0x1e764c0) (s)
secrets : ((GHashTable*) 0x1e76400) (s)
timeout : 0 (sd)
ipv4
method : "auto" (s)
dns : [] (s)
dns-search : [] (s)
dns-options : NULL (sd)
dns-priority : 0 (sd)
addresses : ((GPtrArray*) 0x1e8f560) (s)
gateway : NULL (sd)
routes : ((GPtrArray*) 0x1e8f600) (s)
route-metric : -1 (sd)
route-table : 0 (sd)
ignore-auto-routes : FALSE (sd)
ignore-auto-dns : FALSE (sd)
dhcp-hostname : NULL (sd)
dhcp-send-hostname : TRUE (sd)
never-default : FALSE (sd)
may-fail : TRUE (sd)
dad-timeout : -1 (sd)
dhcp-timeout : 0 (sd)
dhcp-client-id : NULL (sd)
dhcp-fqdn : NULL (sd)
nm-l2tp[20335] starting ipsec
Redirecting to: systemctl stop ipsec.service
warning: could not open include filename: '/etc/ipsec.d/.conf'
warning: could not open include filename: '/etc/ipsec.d/.conf'
warning: could not open include filename: '/etc/ipsec.d/.conf'
warning: could not open include filename: '/etc/ipsec.d/.conf'
Redirecting to: systemctl start ipsec.service
002 listening for IKE messages
002 adding interface virbr0/virbr0 192.168.122.1:500
002 adding interface virbr0/virbr0 192.168.122.1:4500
002 adding interface wlp2s0/wlp2s0 192.168.1.176:500
002 adding interface wlp2s0/wlp2s0 192.168.1.176:4500
002 adding interface lo/lo 127.0.0.1:500
002 adding interface lo/lo 127.0.0.1:4500
002 adding interface lo/lo ::1:500
002 loading secrets from "/etc/ipsec.secrets"
002 loading secrets from "/etc/ipsec.d/nm-l2tp-ipsec-49a95a8c-275b-464b-8f62-a7639b48e966.secrets"
opening file: /var/run/nm-l2tp-ipsec-49a95a8c-275b-464b-8f62-a7639b48e966.conf
debugging mode enabled
end of file /var/run/nm-l2tp-ipsec-49a95a8c-275b-464b-8f62-a7639b48e966.conf
Loading conn 49a95a8c-275b-464b-8f62-a7639b48e966
starter: left is KH_DEFAULTROUTE
loading named conns: 49a95a8c-275b-464b-8f62-a7639b48e966
seeking_src = 1, seeking_gateway = 1, has_peer = 1
seeking_src = 0, seeking_gateway = 1, has_dst = 1
dst via 192.168.1.254 dev wlp2s0 src table 254
set nexthop: 192.168.1.254
dst 192.168.1.0 via dev wlp2s0 src 192.168.1.176 table 254
dst 192.168.122.0 via dev virbr0 src 192.168.122.1 table 254
dst 127.0.0.0 via dev lo src 127.0.0.1 table 255 (ignored)
dst 127.0.0.0 via dev lo src 127.0.0.1 table 255 (ignored)
dst 127.0.0.1 via dev lo src 127.0.0.1 table 255 (ignored)
dst 127.255.255.255 via dev lo src 127.0.0.1 table 255 (ignored)
dst 192.168.1.0 via dev wlp2s0 src 192.168.1.176 table 255 (ignored)
dst 192.168.1.176 via dev wlp2s0 src 192.168.1.176 table 255 (ignored)
dst 192.168.1.255 via dev wlp2s0 src 192.168.1.176 table 255 (ignored)
dst 192.168.122.0 via dev virbr0 src 192.168.122.1 table 255 (ignored)
dst 192.168.122.1 via dev virbr0 src 192.168.122.1 table 255 (ignored)
dst 192.168.122.255 via dev virbr0 src 192.168.122.1 table 255 (ignored)
seeking_src = 1, seeking_gateway = 0, has_peer = 1
seeking_src = 1, seeking_gateway = 0, has_dst = 1
dst 192.168.1.254 via dev wlp2s0 src 192.168.1.176 table 254
set addr: 192.168.1.176
seeking_src = 0, seeking_gateway = 0, has_peer = 1
conn: "49a95a8c-275b-464b-8f62-a7639b48e966" labeled_ipsec=0
conn: "49a95a8c-275b-464b-8f62-a7639b48e966" modecfgdns=(null)
conn: "49a95a8c-275b-464b-8f62-a7639b48e966" modecfgdomains=(null)
conn: "49a95a8c-275b-464b-8f62-a7639b48e966" modecfgbanner=(null)
conn: "49a95a8c-275b-464b-8f62-a7639b48e966" mark=(null)
conn: "49a95a8c-275b-464b-8f62-a7639b48e966" mark-in=(null)
conn: "49a95a8c-275b-464b-8f62-a7639b48e966" mark-out=(null)
conn: "49a95a8c-275b-464b-8f62-a7639b48e966" vti_iface=(null)
002 added connection description "49a95a8c-275b-464b-8f62-a7639b48e966"
nm-l2tp[20335] Spawned ipsec auto --up script with PID 21334.
002 "49a95a8c-275b-464b-8f62-a7639b48e966" #1: initiating Main Mode
104 "49a95a8c-275b-464b-8f62-a7639b48e966" #1: STATE_MAIN_I1: initiate
010 "49a95a8c-275b-464b-8f62-a7639b48e966" #1: STATE_MAIN_I1: retransmission; will wait 0.5 seconds for response
010 "49a95a8c-275b-464b-8f62-a7639b48e966" #1: STATE_MAIN_I1: retransmission; will wait 1 seconds for response
010 "49a95a8c-275b-464b-8f62-a7639b48e966" #1: STATE_MAIN_I1: retransmission; will wait 2 seconds for response
010 "49a95a8c-275b-464b-8f62-a7639b48e966" #1: STATE_MAIN_I1: retransmission; will wait 4 seconds for response
010 "49a95a8c-275b-464b-8f62-a7639b48e966" #1: STATE_MAIN_I1: retransmission; will wait 8 seconds for response
nm-l2tp[20335] Timeout trying to establish IPsec connection
nm-l2tp[20335] Terminating ipsec script with PID 21334.
nm-l2tp[20335] Could not establish IPsec tunnel.
(nm-l2tp-service:20335): GLib-GIO-CRITICAL **: g_dbus_method_invocation_take_error: assertion 'error != NULL' failed
010 "49a95a8c-275b-464b-8f62-a7639b48e966" #1: STATE_MAIN_I1: retransmission; will wait 16 seconds for response

I believe you need to set the IPsec phase 1 and 2 algorithms to the same as what the VPN server is using, or reconfigure the VPN server to offer stronger proposals.

Related

DB2 online backup not working and can't force the application

I've started full online backup of DB2 database (primary on HADR) on NFS. The db is about 3 TB.
From the beginnig it's 0% of work completed.
And I can't find the application responsible for backup:
db2 list applications show detail | grep -i backup
I hit Ctrl+C, but it's still listed in the db2 list utilities (even after 13hrs it's 0%).
Because of the backup the tablespaces are in the 0x0800 State.
What is the resolution of this riddle? How can I cancel this backup without stopping the instance and make the tablepaces back to 0x0000 state?
I've tried to takeover HADR with Standby server to Primary, but it didn't responded, possibly because of 0x0800 states of tablespaces.
Regards
db2pd -uti
Database Member 0 -- Active -- Up 59 days 21:12:12 -- Date 2023-02-04-13.11.23.647422
Utilities:
Address ID Type State Invoker Priority StartTime DBName NumPhases CurPhase Description
0x078000000800EB40 18236 BACKUP 0 0 0 Fri Feb 3 20:05:13 DB_NAME 1 1 online db
Progress:
Address ID PhaseNum CompletedWork TotalWork StartTime Description
0x078000000800F008 18236 1 0 bytes 3203172077568 bytes Fri Feb 3 20:05:13 n/a
And the output of the db2diag.log after executing the backup:
2023-02-03-20.05.13.038004+060 E1202639A533 LEVEL: Info
PID : 31982054 TID : 14137 PROC : db2sysc 0
INSTANCE: inst_name NODE : 000 DB : DBNAME
APPHDL : 0-39477 APPID: *LOCAL.inst_name.230203190514
AUTHID : inst_name HOSTNAME: primary
EDUID : 14137 EDUNAME: db2agent (DBNAME) 0
FUNCTION: DB2 UDB, database utilities, sqluxGetDegreeParallelism, probe:558
DATA #1 : <preformatted>
Autonomic backup/restore - using parallelism = 10.
2023-02-03-20.05.13.824937+060 E1203173A560 LEVEL: Info
PID : 31982054 TID : 14137 PROC : db2sysc 0
INSTANCE: inst_name NODE : 000 DB : DBNAME
APPHDL : 0-39477 APPID: *LOCAL.inst_name.230203190514
AUTHID : inst_name HOSTNAME: primary
EDUID : 14137 EDUNAME: db2agent (DBNAME) 0
FUNCTION: DB2 UDB, database utilities, sqluxGetAvailableHeapPages, probe:634
DATA #1 : <preformatted>
Autonomic BAR - heap consumption.
Targetting (50%) - 262144 of 524288 pages.
PID : 31982054 TID : 14137 PROC : db2sysc 0
INSTANCE: inst_name NODE : 000 DB : DBNAME
APPHDL : 0-39477 APPID: *LOCAL.inst_name.230203190514
AUTHID : inst_name HOSTNAME: primary
EDUID : 14137 EDUNAME: db2agent (DBNAME) 0
FUNCTION: DB2 UDB, database utilities, sqluxGetDegreeParallelism, probe:558
DATA #1 : <preformatted>
Autonomic backup/restore - using parallelism = 10.
2023-02-03-20.05.13.824937+060 E1203173A560 LEVEL: Info
PID : 31982054 TID : 14137 PROC : db2sysc 0
INSTANCE: inst_name NODE : 000 DB : DBNAME
APPHDL : 0-39477 APPID: *LOCAL.inst_name.230203190514
AUTHID : inst_name HOSTNAME: primary
EDUID : 14137 EDUNAME: db2agent (DBNAME) 0
FUNCTION: DB2 UDB, database utilities, sqluxGetAvailableHeapPages, probe:634
DATA #1 : <preformatted>
Autonomic BAR - heap consumption.
Targetting (50%) - 262144 of 524288 pages.
2023-02-03-20.05.13.825914+060 E1203734A547 LEVEL: Info
PID : 31982054 TID : 14137 PROC : db2sysc 0
INSTANCE: inst_name NODE : 000 DB : DBNAME
APPHDL : 0-39477 APPID: *LOCAL.inst_name.230203190514
AUTHID : inst_name HOSTNAME: primary
EDUID : 14137 EDUNAME: db2agent (DBNAME) 0
FUNCTION: DB2 UDB, database utilities, sqlubTuneBuffers, probe:889
DATA #1 : <preformatted>
Autonomic backup - tuning enabled.
Using buffer size = 4097, number = 20.
INSTANCE: inst_name NODE : 000 DB : DBNAME
APPHDL : 0-39477 APPID: *LOCAL.inst_name.230203190514
AUTHID : inst_name HOSTNAME: primary
EDUID : 14137 EDUNAME: db2agent (DBNAME) 0
FUNCTION: DB2 UDB, database utilities, sqluxGetAvailableHeapPages, probe:634
DATA #1 : <preformatted>
Autonomic BAR - heap consumption.
Targetting (50%) - 262144 of 524288 pages.
2023-02-03-20.05.13.825914+060 E1203734A547 LEVEL: Info
PID : 31982054 TID : 14137 PROC : db2sysc 0
INSTANCE: inst_name NODE : 000 DB : DBNAME
APPHDL : 0-39477 APPID: *LOCAL.inst_name.230203190514
AUTHID : inst_name HOSTNAME: primary
EDUID : 14137 EDUNAME: db2agent (DBNAME) 0
FUNCTION: DB2 UDB, database utilities, sqlubTuneBuffers, probe:889
DATA #1 : <preformatted>
Autonomic backup - tuning enabled.
Using buffer size = 4097, number = 20.
2023-02-03-20.05.13.868295+060 E1204282A493 LEVEL: Info
PID : 31982054 TID : 14137 PROC : db2sysc 0
INSTANCE: inst_name NODE : 000 DB : DBNAME
APPHDL : 0-39477 APPID: *LOCAL.inst_name.230203190514
AUTHID : inst_name HOSTNAME: primary
EDUID : 14137 EDUNAME: db2agent (DBNAME) 0
FUNCTION: DB2 UDB, database utilities, sqlubSetupJobControl, probe:2066
MESSAGE : Starting an online db backup.
2023-02-03-23.13.48.244675+060 E1204776A430 LEVEL: Info
PID : 31982054 TID : 12081 PROC : db2sysc 0
INSTANCE: inst_name NODE : 000 DB : DBNAME
HOSTNAME: primary
EDUID : 12081 EDUNAME: db2logmgr (DBNAME) 0
FUNCTION: DB2 UDB, data protection services, sqlpgArchiveLogFile, probe:3108
DATA #1 : <preformatted>
Started archive for log file S0048345.LOG.
db2pd -db DBNAME -apinfo 39477
Database Member 0 -- Database DBANME -- Active -- Up 60 days 00:21:25 -- Date 2023-02-04-16.20.38.252022
snapapp Time: 2023-02-04-16.20.38.253042
Application :
Address : 0x0A0001001470ECE0
AppHandl [nod-index] : 39477 [000-39477]
TranHdl : 692
Application PID : 11600524
Application Node Name : primary
IP Address: n/a
Connection Start Time : 2023-02-03-20.05.13.035704
Client User ID : instname
System Auth ID : instname
Coordinator EDU ID : 14137
Coordinator Member : 0
Registered Agents : 1
Active Agents : 1
Locks timeout value : NotSet
Locks Escalation : No
Workload ID : 1
Workload Occurrence ID : 1951323
Trusted Context : n/a
Connection Trust Type : non trusted
Role Inherited : n/a
Application Status : RequestInterrupted
Application Name : db2bp
Application ID : *LOCAL.instname.230203190514
ClientUserID : n/a
ClientWrkstnName : n/a
ClientApplName : n/a
ClientAccntng : n/a
CollectActData: N
CollectActPartition: C
SectionActuals: N
UOW start time : 2023-02-03-20.05.13.037338
UOW stop time :
--------------------------------------------------------------------------------
db2pd -db DBNAME -barstats 14137
Printing out Backup Runtime Statistics at 2023-02-04-16.23.20.523322:
Backup Related EDUs:
---------------------------------------------------------------------
Backup agent ID: 14137
MC 0 (EDU ID): db2med.14137.0 (70333)
Table Spaces to be Backed Up (appTblSpace):
---------------------------------------------------------------------
numEntry: 14
Table Spaces:
tblSpaceName: SYSCATSPACE
tblSpaceID: 0
tblSpaceType: 2
tblSpaceDataType: 0
tblSpaceSize: 28420 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 28668
pageSize: 32768
extSize: 4
actualSize: 931266560
scanPages: T
backupLSN: 0000000000000000
tblSpaceName: USERSPACE1
tblSpaceID: 2
tblSpaceType: 2
tblSpaceDataType: 32
tblSpaceSize: 29457664 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 29458016
pageSize: 32768
extSize: 32
actualSize: 965268733952
scanPages: T
backupLSN: 0000000000000000
tblSpaceName: SYSTOOLSPACE
tblSpaceID: 3
tblSpaceType: 2
tblSpaceDataType: 32
tblSpaceSize: 1652 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 2044
pageSize: 32768
extSize: 4
actualSize: 54132736
scanPages: T
backupLSN: 0000000000000000
tblSpaceName: SL
tblSpaceID: 4
tblSpaceType: 2
tblSpaceDataType: 32
tblSpaceSize: 4512 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 4832
pageSize: 32768
extSize: 32
actualSize: 147849216
scanPages: T
backupLSN: 0000000000000000
tblSpaceName: MONITOR
tblSpaceID: 5
tblSpaceType: 2
tblSpaceDataType: 32
tblSpaceSize: 3712 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 4128
pageSize: 32768
extSize: 32
actualSize: 121634816
scanPages: T
backupLSN: 0000000000000000
tblSpaceName: XMLSPACE1
tblSpaceID: 6
tblSpaceType: 2
tblSpaceDataType: 32
tblSpaceSize: 57837504 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 57837600
pageSize: 32768
extSize: 32
actualSize: 1895219331072
scanPages: T
backupLSN: 0000000000000000
tblSpaceName: INDSPACE1
tblSpaceID: 7
tblSpaceType: 2
tblSpaceDataType: 32
tblSpaceSize: 32384 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 32512
pageSize: 32768
extSize: 32
actualSize: 1061158912
scanPages: T
backupLSN: 0000000000000000
tblSpaceName: ARCHSPACE1
tblSpaceID: 8
tblSpaceType: 2
tblSpaceDataType: 32
tblSpaceSize: 9817120 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 9817760
pageSize: 32768
extSize: 32
actualSize: 321687388160
scanPages: T
backupLSN: 0000000000000000
tblSpaceName: DSMSPACE
tblSpaceID: 9
tblSpaceType: 2
tblSpaceDataType: 32
tblSpaceSize: 160 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 160
pageSize: 32768
extSize: 32
actualSize: 5242880
scanPages: T
backupLSN: 0000000000000000
tblSpaceName: DLSPACE
tblSpaceID: 11
tblSpaceType: 2
tblSpaceDataType: 32
tblSpaceSize: 301504 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 302048
pageSize: 32768
extSize: 32
actualSize: 9879683072
scanPages: T
backupLSN: 0000000000000000
tblSpaceName: DLSPACECOPY
tblSpaceID: 12
tblSpaceType: 2
tblSpaceDataType: 32
tblSpaceSize: 96 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 992
pageSize: 32768
extSize: 32
actualSize: 3145728
scanPages: T
backupLSN: 0000000000000000
tblSpaceName: REPORTS
tblSpaceID: 13
tblSpaceType: 2
tblSpaceDataType: 32
tblSpaceSize: 64352 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 64352
pageSize: 32768
extSize: 32
actualSize: 2108686336
scanPages: T
backupLSN: 0000000000000000
tblSpaceName: HISTORY
tblSpaceID: 14
tblSpaceType: 2
tblSpaceDataType: 32
tblSpaceSize: 3680 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 4064
pageSize: 32768
extSize: 32
actualSize: 120586240
scanPages: T
backupLSN: 0000000000000000
tblSpaceName: DLSPACECOPY2
tblSpaceID: 15
tblSpaceType: 2
tblSpaceDataType: 32
tblSpaceSize: 161600 (in 4K pages)
nContainers: 1
backupInProgressTurnedOn: T
backupActiveIsSet: T
autoResizeLockAcquired: T
extentMovementLockAcquired: T
olbLockAcquired: F
userSpecified: T
tblSpaceTotalPages: 161760
pageSize: 32768
extSize: 32
actualSize: 5291114496
scanPages: T
backupLSN: 0000000000000000
Table Space Queue:
[0]
tblSpaceName: XMLSPACE1
tblSpaceID: 6
backupStatus: pending
[1]
tblSpaceName: USERSPACE1
tblSpaceID: 2
backupStatus: pending
[2]
tblSpaceName: ARCHSPACE1
tblSpaceID: 8
backupStatus: pending
[3]
tblSpaceName: DLSPACE
tblSpaceID: 11
backupStatus: pending
[4]
tblSpaceName: DLSPACECOPY2
tblSpaceID: 15
backupStatus: pending
[5]
tblSpaceName: REPORTS
tblSpaceID: 13
backupStatus: pending
[6]
tblSpaceName: INDSPACE1
tblSpaceID: 7
backupStatus: pending
[7]
tblSpaceName: SYSCATSPACE
tblSpaceID: 0
backupStatus: pending
[8]
tblSpaceName: SL
tblSpaceID: 4
backupStatus: pending
[9]
tblSpaceName: MONITOR
tblSpaceID: 5
backupStatus: pending
[10]
tblSpaceName: HISTORY
tblSpaceID: 14
backupStatus: pending
[11]
tblSpaceName: SYSTOOLSPACE
tblSpaceID: 3
backupStatus: pending
[12]
tblSpaceName: DSMSPACE
tblSpaceID: 9
backupStatus: pending
[13]
tblSpaceName: DLSPACECOPY
tblSpaceID: 12
backupStatus: pending
The next table space to be backed up:
[0]
tblSpaceName: XMLSPACE1
tblSpaceID: 6
backupStatus: pending
Performance statistics:
---------------------------------------------------------------------
Parallelism = 10
Number of buffers = 20
Buffer size = 16781312 (4097 4kB pages)
BM# Total I/O MsgQ WaitQ Buffers Bytes
--- -------- -------- -------- -------- -------- --------
000 40811.03 0.00 0.00 40811.00 0 0
001 40811.03 0.00 0.00 40810.96 0 0
002 40811.03 0.00 0.00 40811.00 0 0
003 40811.03 0.00 0.00 40811.00 0 0
004 40811.03 0.00 0.00 40811.00 0 0
005 40811.03 0.00 0.00 40811.00 0 0
006 40811.03 0.00 0.00 40810.98 0 0
007 40811.03 0.00 0.00 40811.00 0 0
008 40811.03 0.00 0.00 40811.00 0 0
009 40811.04 0.00 0.00 40811.00 0 0
--- -------- -------- -------- -------- -------- --------
TOT - - - - 0 0
MC# Total I/O MsgQ WaitQ Buffers Bytes
--- -------- -------- -------- -------- -------- --------
000 73085.95 0.00 0.00 0.00 0 0
--- -------- -------- -------- -------- -------- --------
TOT - - - - 0 0
Size estimates:
---------------------------------------------------------------------
Total size estimate (bytes): 3203172077568
Pre-adjusted total size estimate (bytes): 3203172077568
Init data estimate (bytes): 4645780
User data estimate (bytes): 3201899954176
End data estimate (bytes): 1073735192
Size estimate for MC1 (bytes): 3203172077568
Size estimate for remaining MCs (bytes): 3203155300352
Progress Monitor:
---------------------------------------------------------------------
Phase #: 1 of 1
Total work units (bytes): 3203172077568
Completed work units (bytes): 0
Other Backup Statistics:
---------------------------------------------------------------------
Database bufferpool flushing time: 0.00 seconds
Table space bufferpool flushing time 1: 0.00 seconds
Table space bufferpool flushing time 2: Not Recorded
Table space bufferpool flushing time 3: Not Recorded
Database recovery history file (db2rhist.asc) elapsed processing time: Not Recorded
Table space change history file (db2tschg.his) elapsed processing time: Not Recorded
No logs are included in this image.

Zuul not routing to service

Zuul not routing to student-service which is registered in Eureka Server.
using Greenwich.SR1
bootstrap.yml
server:
port: 17005
# Eureka server details and its refresh time
eureka:
instance:
leaseRenewalIntervalInSeconds: 1
leaseExpirationDurationInSeconds: 2
client:
registry-fetch-interval-seconds: 30
serviceUrl:
defaultZone: http://localhost:8761/eureka/
healthcheck:
enabled: true
lease:
duration: 5
instance:
lease-expiration-duration-in-seconds: 5
lease-renewal-interval-in-seconds: 30
# Current service name to be used by the eureka server
spring:
application:
name: app-gateway
# Microservices routing configuration
zuul:
routes:
students:
path: /students/**
serviceId: student-service
host:
socket-timeout-millis: 30000
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 30000
I've added PreFilter to log the request from UI. Whenever the request from UI hits the Zuul - I observe the below in logs but no proceeding after - Not getting routed to the student-service.
Request Method : GET Request URL : http://localhost:17005/students/School2
2019-04-26 21:45:54.314 INFO 18196 --- [o-17005-exec-10] c.netflix.config.ChainedDynamicProperty : Flipping property: student-service.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647
2019-04-26 21:45:54.387 INFO 18196 --- [o-17005-exec-10] c.n.u.concurrent.ShutdownEnabledTimer : Shutdown hook installed for: NFLoadBalancer-PingTimer-student-service
2019-04-26 21:45:54.387 INFO 18196 --- [o-17005-exec-10] c.netflix.loadbalancer.BaseLoadBalancer : Client: student-service instantiated a LoadBalancer: DynamicServerListLoadBalancer:{NFLoadBalancer:name=student-service,current list of Servers=[],Load balancer stats=Zone stats: {},Server stats: []}ServerList:null
2019-04-26 21:45:54.682 INFO 18196 --- [o-17005-exec-10] c.n.l.DynamicServerListLoadBalancer : Using serverListUpdater PollingServerListUpdater
2019-04-26 21:45:54.720 INFO 18196 --- [o-17005-exec-10] c.netflix.config.ChainedDynamicProperty : Flipping property: student-service.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647
2019-04-26 21:45:54.723 INFO 18196 --- [o-17005-exec-10] c.n.l.DynamicServerListLoadBalancer : DynamicServerListLoadBalancer for client student-service initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=student-service,current list of Servers=[192.168.56.1:56567],Load balancer stats=Zone stats: {defaultzone=[Zone:defaultzone; Instance count:1; Active connections count: 0; Circuit breaker tripped count: 0; Active connections per server: 0.0;]
},Server stats: [[Server:192.168.56.1:56567; Zone:defaultZone; Total Requests:0; Successive connection failure:0; Total blackout seconds:0; Last connection made:Thu Jan 01 05:30:00 IST 1970; First connection made: Thu Jan 01 05:30:00 IST 1970; Active Connections:0; total failure count in last (1000) msecs:0; average resp time:0.0; 90 percentile resp time:0.0; 95 percentile resp time:0.0; min resp time:0.0; max resp time:0.0; stddev resp time:0.0]
]}ServerList:org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList#42abe3b4
2019-04-26 21:45:55.742 INFO 18196 --- [erListUpdater-0] c.netflix.config.ChainedDynamicProperty : Flipping property: student-service.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647
There is no exception trace in the Microservices.
The response to UI:
type=Not Found, status=404
Please help on establishing this routing.

Select a set of values from Array based on value

I am using following PowerShlell to get the list of available physical disk.
$disks=((Get-PhysicalDisk -CanPool $true)|Select-Object PhysicalLocation)
The output of above code is as shown below
Integrated : Adapter 3 : Port 0 : Target 0 : LUN 7
Integrated : Adapter 3 : Port 0 : Target 0 : LUN 0
Integrated : Adapter 3 : Port 0 : Target 0 : LUN 5
Integrated : Adapter 3 : Port 0 : Target 0 : LUN 2
Integrated : Adapter 3 : Port 0 : Target 0 : LUN 6
Integrated : Adapter 3 : Port 0 : Target 0 : LUN 4
Integrated : Adapter 3 : Port 0 : Target 0 : LUN 1
Integrated : Adapter 3 : Port 0 : Target 0 : LUN 3
Integrated : Adapter 3 : Port 0 : Target 0 : LUN 8
However, form the collection I want to select a set of LUN e.g LUN from 5 to 8 to create a storage pool using
New-StoragePool
Thanks
You don't need to put the expressions in parenthesis. You can try something like below. This regex will help you to get the desired result.
Get-PhysicalDisk -CanPool $true | Foreach-Object -Process {
$_.PhysicalLocation | Select-String -Pattern 'LUN.[5-8]'
}

Xdebug not working in centos7, port 9000 not working

I want to work with xdebug and PhpStorm, but xdebug port not listen in 9000.
How can I connect xdebug and PhpStorm?
Here is my phpinfo().
PHP Version 5.5.24
System Linux localhost.localdomain 3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar
xdebug support enabled
Version 2.3.2
IDE Key phpStorm
Directive Local Value Master Value
xdebug.auto_trace Off Off
xdebug.cli_color 0 0
xdebug.collect_assignments Off Off
xdebug.collect_includes On On
xdebug.collect_params 0 0
xdebug.collect_return Off Off
xdebug.collect_vars Off Off
xdebug.coverage_enable On On
xdebug.default_enable On On
xdebug.dump.COOKIE no value no value
xdebug.dump.ENV no value no value
xdebug.dump.FILES no value no value
xdebug.dump.GET no value no value
xdebug.dump.POST no value no value
xdebug.dump.REQUEST no value no value
xdebug.dump.SERVER no value no value
xdebug.dump.SESSION no value no value
xdebug.dump_globals On On
xdebug.dump_once On On
xdebug.dump_undefined Off Off
xdebug.extended_info On On
xdebug.file_link_format no value no value
xdebug.force_display_errors Off Off
xdebug.force_error_reporting 0 0
xdebug.halt_level 0 0
xdebug.idekey phpStorm phpStorm
xdebug.max_nesting_level 256 256
xdebug.max_stack_frames -1 -1
xdebug.overload_var_dump On On
xdebug.profiler_aggregate Off Off
xdebug.profiler_append Off Off
xdebug.profiler_enable Off Off
xdebug.profiler_enable_trigger Off Off
xdebug.profiler_enable_trigger_value no value no value
xdebug.profiler_output_dir /tmp /tmp
xdebug.profiler_output_name cachegrind.out.%p cachegrind.out.%p
xdebug.remote_autostart On On
xdebug.remote_connect_back Off Off
xdebug.remote_cookie_expire_time 3600 3600
xdebug.remote_enable On On
xdebug.remote_handler dbgp dbgp
xdebug.remote_host localhost localhost
xdebug.remote_log no value no value
xdebug.remote_mode req req
xdebug.remote_port 9000 9000
xdebug.scream Off Off
xdebug.show_exception_trace Off Off
xdebug.show_local_vars Off Off
xdebug.show_mem_delta Off Off
xdebug.trace_enable_trigger Off Off
xdebug.trace_enable_trigger_value no value no value
xdebug.trace_format 0 0
xdebug.trace_options 0 0
xdebug.trace_output_dir /tmp /tmp
xdebug.trace_output_name trace.%c trace.%c
xdebug.var_display_max_children 128 128
xdebug.var_display_max_data 512 512
xdebug.var_display_max_depth 3 3
In CentOS I run these commands:
[root#localhost xdebug-2.3.2]# netstat -nan | grep 9000
[root#localhost xdebug-2.3.2]#
but 9000 port not listen anything.
Why port not working? How can I fix this?

Radius test only success in the local machine, but can't through remote machine

I install the freeradius in Ubuntu 10 through apt-get.
after make the server running. the local test is valid:
yozloy#SNDA-192-168-21-78:/usr/bin$ echo "User-Name=testuser,Password=123456" | radclient 127.0.0.1:1812 auth testing123 -x
Sending Access-Request of id 245 to 127.0.0.1 port 1812
User-Name = "testuser"
Password = "0054444944"
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=245, length=20
But in the remote machine, it seems that there's no response from the radius server machine:
root#SNDA-192-168-14-131:/home/yozloy# echo "User-Name=testuser,Password=123456" | radclient 58.215.164.98:1812 auth testing123 -x
Sending Access-Request of id 36 to 58.215.164.98 port 1812
User-Name = "testuser"
Password = "0054444944"
Sending Access-Request of id 36 to 58.215.164.98 port 1812
User-Name = "testuser"
Password = "0054444944"
Sending Access-Request of id 36 to 58.215.164.98 port 1812
User-Name = "testuser"
Password = "0054444944"
radclient: no response from server for ID 36 socket 3
Here's my configure file:
clients.conf
client 58.215.164.98 {
ipaddr = 58.215.164.98
secret = testing123
require_message_authenticator = no
}
users
testuser CLeartext-Password := "0054444944"
update the configure file(I'm not actually change anything)
radiusd.conf
proxy_requests = yes
$INCLUDE proxy.conf
$INCLUDE clients.conf
thread pool {
start_servers = 5
max_servers = 32
min_spare_servers = 3
max_spare_servers = 10
max_requests_per_server = 0
}
modules {
$INCLUDE ${confdir}/modules/
$INCLUDE eap.conf
}
instantiate {
exec
expr
expiration
logintime
}
$INCLUDE policy.conf
$INCLUDE sites-enabled/
yozloy#SNDA-192-168-18-234:/etc/freeradius$ netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 192.168.18.234:22 123.5.13.20:3274 ESTABLISHED
tcp6 0 0 :::22 :::* LISTEN
udp 0 0 0.0.0.0:1812 0.0.0.0:*
udp 0 0 0.0.0.0:1813 0.0.0.0:*
udp 0 0 0.0.0.0:1814 0.0.0.0:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 4 [ ] DGRAM 2838 /dev/log
unix 2 [ ACC ] STREAM LISTENING 2166 #/com/ubuntu/upstart
unix 2 [ ] DGRAM 2272 #/org/kernel/udev/udevd
unix 3 [ ] STREAM CONNECTED 3351
unix 3 [ ] STREAM CONNECTED 3350
unix 2 [ ] DGRAM 3173
unix 2 [ ] DGRAM 2893
unix 3 [ ] DGRAM 2304
unix 3 [ ] DGRAM 2303
unix 3 [ ] STREAM CONNECTED 2256 #/com/ubuntu/upstart
unix 3 [ ] STREAM CONNECTED 2255
Correct me if I am wrong but, IP address of SNDA-192-168-14-131 against your RADIUS server (SNDA-192-168-21-78) is not 58.215.164.98, is it ?
If it is not, that is your answer. You RADIUS server will only work against NAS configured in clients.conf with correct secrets.
Try adding 192.168.14.131 (if it is that host's IP address) to clients.conf and try then.