-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO.TXT
58 lines (36 loc) · 2.91 KB
/
TODO.TXT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Ueberarbeitung der Statusabfrage: (admin_get_status_list.sh und nss_manage_remote_nsc.sh)
Die Statusabfrage sollte zur Beschleunigung jeweils den warscheinlichsten Zustand annehmen
Zustand: 1. Erster Status Run
- keine target_config_list.previous
- keine status_list
-> suche in resource domain (direkt):
-> gefunden -> : status list entry: resource_fqdn resource_fqdn available (local)
-> nicht gefunden -> full search in remote domains (nss_manage_remote_nsc.sh):
-> gefunden in remote domain : status list entry: resource_fqdn remote_fqdn occupied (remote)
-> nicht gefunden : status list entry: resource_fqdn unknown unreachable
Zustand: 2.
- keine taregt_config_list.previous
- status_list vorh. -> direct search gemaess status_list
-> gefunden in resource domain : status list entry: resource_fqdn resource_fqdn available (local)
-> gefunden in remote domain : status list entry: resource_fqdn remote_fqdn occupied (remote)
-> nicht gefunden
2. full search in remote domains (ohne die domain gem status_list)
-> gefunden in remote domain : status list entry: resource_fqdn remote_fqdn occupied (remote)
-> nicht gefunden : status list entry: resource_fqdn unknown unreachable
Zustand: 3. (alle weiteren)
- target_config_list.previous: letzter soll-zustand
-> 1. direct search gemaess target_config_list.previous
-> gefunden in resource domain : status list entry: resource_fqdn resource_fqdn available (local)
-> gefunden in remote domain : status list entry: resource_fqdn remote_fqdn occupied (remote)
-> nicht gefunden
2. full search in remote domains (ohne die domain gem target_config_list.previous)
-> gefunden in remote domain : status list entry: resource_fqdn remote_fqdn occupied (remote)
-> nicht gefunden : status list entry: resource_fqdn unknown unreachable
Search-types:
direct: wenn resource_fqdn==remote_fqdn -> ping lokal -> ssh test lokal
wenn resource_fqdn!=remote_fqdn -> ssh nss ping psp -> ssh nss ssh psp
full remote search: run nss_script (? oder admin script ?) welche alle rnsc's aus der DNS domain abfragt (ping + ssh)
Obiges: DONE
TODO NEW: check neue statusabfrage (mit Option --enabled-only:)
bei Aufruf nach reconfigure, also ohne die Option.
ggfs echos fuer uebrige resource_fqdns rausnehmen !!