forked from redhat-sap/rhel-for-sap-configurator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
rhel-for-sap-configurator.js
2243 lines (2241 loc) · 145 KB
/
rhel-for-sap-configurator.js
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// rhel-for-sap-configurator.js: Show resources, subscriptions,
// repositories, and commands for running SAP on RHEL
// Author: Bernd Finger (bfinger@redhat.com)
//
// v1.0: initial version
// Sun 10 May 2020
// v1.1: performed some corrections to the Resources section
// Sun 10 May 2020
// v1.2: added RHEL kernel versions and end of support dates
// Mon 11 May 2020
// v1.3: typo corrections; display POWER hardware platform types for SAP HANA
// Tue 12 May 2020
// v1.4: added HANA 1.0; minor corrections
// Thu 14 May 2020
// v1.5: added gcc versions for HANA 2.0 and HANA 1.0
// Thu 14 May 2020
// v1.5.1: added RHEL HA document to the "Resources:" section
// Sat 13 Jun 2020
// v1.5.2: added required minimum RHEL kernel versions for SAP HANA to the "RHEL x.y:" line
// Sat 13 Jun 2020
// v1.5.3: added cloud repo names
// Tue 25 Jun 2020
// v1.5.4: SAP note 2235581 v.59; auto-select "no Cloud" in case "Cloud" is not available
// Mon 29 Jun 2020
// v1.5.5: SAP note 2235581 v.59: HANA 2 SPS05
// Tue 07 Jul 2020
// v1.5.6: no need to use eus for SAP NW on RHEL 7
// Tue 08 Jul 2020
// v1.5.7: added RHEL 7.7
// Mon 28 Jul 2020
// v1.5.8: added gcc for RHEL; changed min required due to SAP note 2812427
// Mon 28 Jul 2020
// v1.5.9: implemented the recent changes to SAP note 2378962
// Fri 21 Aug 2020
// v1.5.10: implemented the recent changes to SAP note 2378962
// Wed 16 Sep 2020
// v1.5.11: implemented the recent changes to SAP note 2378962
// Wed 07 Oct 2020
// v1.5.12: SAP HANA on RHEL 8.2 support, plus some other updates
// Thu 28 Jan 2021
// v1.5.13: SAP note 2378962: last SPS05 is now rev 054
// Mon 08 Feb 2021
// v1.5.14: SAP HANA on RHEL 7.9 support
// Thu 12 Feb 2021
// v1.5.15: Added more text to 6.10 and 7.9 eus and e4s repos; fixed incorrect HANA 2 SPS04 string and remove e4s from repo names for RHEL 7.9
// Mon 15 Feb 2021
// v1.5.16: Modified the last released HANA 2 revisions; also display compat-sap-c++-* install requirements; prepared for RHEL 8.4
// Tue 18 May 2021
// v1.5.17: Minor fix for the correct RHEL 8.4 GA kernel
// Tue 18 May 2021
// v1.5.18: SAP note 2378962: last SPS05 is now rev 056. Enabled the button "7.8".
// Tue 06 Jul 2021
// v1.5.19: Improved the usage text
// Tue 06 Jul 2021
// v1.5.20: SAP note 2235581: Support for SAP HANA on RHEL 8.4 on x86_64
// Fri Jul 30 2021
// v1.5.21: SAP note 2378962: last SPS05 rev is now 057. Last SPS04 rev is 048.06.
// Wed Sep 1 2021
// v1.5.22: SAP note 2235581: Support for SAP HANA on RHEL 8.4 on ppc64le; modified EOSL dates
// Wed Sep 29 2021
// v1.5.23: SAP note 2378962: last SPS05 rev is now 058.
// Thu Oct 14 2021
// v1.5.24: added RHEL 8.5
// Wed Nov 10 2021
// v1.5.25: SAP note 2378962: last SPS05 rev is now 059.
// Fri Nov 19 2021
// v1.5.26: SAP note 2378962: SPS06 rev 060 is available.
// Mon Dec 6 2021
// v1.5.27: SAP note 2378962: last SPS05 rev is now 059.01.
// Thu Jan 20 2022
// v1.5.28: SAP note 2378962 (new version 90): last SPS06 rev is now 061.
// Thu Feb 16 2022
// v1.5.29: Fixed wrong HA repo names and removed some nonexistent HA repos in RHEL 6 and RHEL 7.
// Mon Mar 21 2022
// v1.5.30: SAP note 2378962: last SPS05 rev is now 059.02.
// Thu Mar 31 2022
// v1.5.31: SAP note 2378962: last SPS06 rev is now 062.
// Thu May 05 2022
// v1.5.32: SAP note 2378962: last SPS05 rev is now 059.03.
// Wed May 11 2022
// v1.5.33: Added RHEL 8.6.
// Wed May 11 2022
// v1.5.34: Modified the kernel version for RHEL 8.6.
// Mon May 16 2022
// v1.5.35: SAP note 2378962: last SPS06 rev is now 063, and last SPS05 rev is now 059.04.
// Thu Jul 07 2022
// v1.5.36: Added comments about code sections; support for RHEL 8.6 x86_64
// Mon Aug 15 2022
// v1.5.37: SAP note 2378962: last SPS06 rev is now 064.
// Wed Aug 17 2022
// v1.5.38: Removed subscription-manager commands for last RHEL minor releases
// Thu Sep 01 2022
// v1.5.39: SAP note 2378962: last SPS05 rev is now 059.05.
// Fri Sep 16 2022
// v1.5.40: SAP note 2378962: last SPS06 rev is now 065.
// Fri Oct 28 2022
// v1.5.41: SAP note 2378962: last SPS05 rev is now 059.06.
// Thu Nov 10 2022
// v1.5.42: Added RHEL 8.7, 9.0, 9.1; support for RHEL 8.6 ppc64le; add --disable="*"
// Mon Dec 12 2022
// v1.5.43: SAP note 2378962: last SPS06 rev is now 066.
// Thu Dec 22 2022
// v1.5.44: SAP notes 2235581 and 3108302: SAP HANA support for RHEL 9
// Fri Jan 27 2023
// v1.5.45: Fix compat-sap-c++ statements for HANA on RHEL 9
// Fri Feb 17 2023
// v1.5.46: Replace "gcc" by "GCC"; some changes to variable assignments
// Fri Feb 17 2023
// v1.5.47: SAP note 2378962: last SPS06 rev is now 067. Last SPS05 rev is now 059.07.
// Tue Mar 21 2023
// v1.5.48: SAP note 2378962: support for HANA on RHEL 9 on ppc64le; SPS07 is out; some changes to the latest supported HANA SPS levels
// Fri Apr 14 2023
// v1.5.49: Added RHEL 9.2.
// Mon May 15 2023
// v1.5.50: Added RHEL 8.8.
// Mon May 16 2023
// v1.5.51: SAP note 2378962: last SPS06 rev is 067.01.
// Fri May 26 2023
// v1.5.52: SAP note 2378962: last HANA SPS05 rev is 59.09. Last SPS06 rev is 067.03. Last SPS07 rev is 072.
// Fri Sep 01 2023
// v1.5.53: SAP note 2235581: support for HANA on RHEL 8.8 on x86_64 and ppc64le; introduce some dicts
// Fri Sep 08 2023
// v1.5.54: SAP note 2378962: last HANA SPS05 rev is 59.10.
// Wed Sep 13 2023
// v1.5.55: SAP note 2378962: last HANA SPS07 rev is 073.
// Thu Nov 02 2023
// v1.5.56: SAP note 2378962: last HANA SPS07 rev is 074. Corrected a typo in the SPS string for SPS07.
// Thu Nov 16 2023
// v1.5.57: SAP note 2378962: last HANA SPS05 rev is 59.11. Added RHEL 8.9 and RHEL 9.3.
// Tue Dec 05 2023
// v1.5.58: SAP note 2235581: support for HANA on RHEL 9.2 on x86_64 and ppc64le, use me.sap.com instead of launchpad in URLs
// Mon Dec 11 2023
// v1.6: Added selector for repo types, last HANA SPS06: 067.04.
// Wed Dec 13 2023
// v1.6.1: Some fixes in the repo type switch handling
// Thu Dec 14 2023
// v1.6.2: SAP note 2378962: last HANA SPS07 rev is now 075.
// Wed Dec 20 2023
// v1.6.3: SAP note 2378962: last HANA SPS07 rev is now 076, last HANA SPS05 rev is now 059.12.
// Thu Mar 7 2024
// v1.6.4: SAP note 2378962: last HANA SPS07 rev is now 077
// Wed Apr 3 2024
// v1.6.5: SAP note 2378962: last HANA SPS07 rev is now 078, last HANA SPS05 rev is now 059.13.
// Wed Jun 5 2024
// v1.6.6: Added RHEL 9.4 and RHEL 8.10.
// Wed Jun 5 2024
// v1.6.7: SAP note 2378962: last HANA SPS07 rev is now 079, last HANA SPS05 rev is now 059.14.
// Wed Jul 31 2024
// v1.6.8: SAP note 2235581: support for HANA on RHEL 9.4 on x86_64 and ppc64le
// Mon Aug 26 2024
// v1.6.9: SAP note 2235581: support for HANA on RHEL 8.10 on x86_64 and ppc64le
// Tue Sep 10 2024
// v1.6.10: SAP note 2378962: last HANA SPS07 rev is now 079.01
// Mon Oct 21 2024
// v1.6.11: SAP note 2235581: support for HANA SPS08 on RHEL 9
// Thu Nov 28 2024
// v1.6.12: fixed E4S description for RHEL 9.4
// Thu Nov 28 2024
function displaySelections() { // used for debugging
var elem = document.getElementsByName('sapSelect');
for(i = 0; i < elem.length; i++) {
if(elem[i].checked)
document.getElementById("result1").innerHTML = "SAP: "+elem[i].value;
}
elem = document.getElementsByName('archSelect');
for(i = 0; i < elem.length; i++) {
if(elem[i].checked)
document.getElementById("result2").innerHTML = "Arch: "+elem[i].value;
}
elem = document.getElementsByName('rhelSelect');
for(i = 0; i < elem.length; i++) {
if(elem[i].checked)
document.getElementById("result3").innerHTML = "RHEL: "+elem[i].value;
}
elem = document.getElementsByName('haSelect');
for(i = 0; i < elem.length; i++) {
if(elem[i].checked)
document.getElementById("result4").innerHTML = "HA: "+elem[i].value;
}
elem = document.getElementsByName('repoTypeSelect');
for(i = 0; i < elem.length; i++) {
if(elem[i].checked)
document.getElementById("result5").innerHTML = "Repo Type: "+elem[i].value;
}
elem = document.getElementsByName('cloudSelect');
for(i = 0; i < elem.length; i++) {
if(elem[i].checked)
document.getElementById("result6").innerHTML = "Cloud: "+elem[i].value;
}
}
function displayResults() {
disable_all_repos_before_enabling = "--disable=\"*\" \\</br>";
_haRepo = "<br><br>";
_haText = "<br><br>";
_baseos="-baseos";
_appstream="-appstream";
_sap_solutions="-sap-solutions";
_sap_netweaver="-sap-netweaver";
rhel_for_sap_solutions_subscription = {
"x86_64": "Red Hat Enterprise Linux for SAP Solutions",
"ppc64le": "Red Hat Enterprise Linux for SAP Solutions for Power, LE"
};
last_hana2_sps03 = "HANA 2.0 SPS03 rev 37.07";
last_hana2_sps04 = "HANA 2.0 SPS04 rev 48.06";
last_hana2_sps05 = "HANA 2.0 SPS05 rev 59.14";
last_hana2_sps06 = "HANA 2.0 SPS06 rev 67.04";
last_hana2_sps07 = "HANA 2.0 SPS07 rev 79.01";
last_hana2_sps08 = "HANA 2.0 SPS08 rev 80.00";
e4s_80 = "E4S available";
e4s_81 = "E4S available";
e4s_82 = "E4S available";
e4s_83 = "E4S not available";
e4s_84 = "E4S available";
e4s_85 = "E4S not available";
e4s_86 = "E4S available";
e4s_87 = "E4S not available";
e4s_88 = "E4S available";
e4s_89 = "E4S not available";
e4s_810 = "E4S not available and not required";
e4s_90 = "E4S available";
e4s_91 = "E4S not available";
e4s_92 = "E4S available";
e4s_93 = "E4S not available";
e4s_94 = "E4S available";
e4s_95 = "E4S not available";
end_of_support_80 = "December 31, 2020";
end_of_support_81 = "November 30, 2023";
end_of_support_82 = "April 30, 2024";
end_of_support_83 = "April 30, 2021";
end_of_support_84 = "May 31, 2025";
end_of_support_85 = "April 30, 2022";
end_of_support_86 = "May 31, 2026";
end_of_support_87 = "April 30, 2023";
end_of_support_88 = "May 31, 2027";
end_of_support_89 = "April 30, 2024";
end_of_support_810 = "May 31, 2029";
end_of_support_90 = "May 31, 2026";
end_of_support_91 = "April 30, 2023";
end_of_support_92 = "May 31, 2027";
end_of_support_93 = "April 30, 2024";
end_of_support_94 = "April 30, 2028";
end_of_support_95 = "April 30, 2025";
rhel_kernel = {
"8.0": {
"gcc": "8",
"initial_version": "4.18.0-80",
"end_of_support": "December 31, 2020",
"support": "ended",
"e4s": "available",
"min_version_for_hana": {
"x86_64": "4.18.0-80",
"ppc64le": "4.18.0-80.15.1.el8_0"
}
},
"8.1": {
"gcc": "8",
"initial_version": "4.18.0-147",
"end_of_support": "November 30, 2023",
"support": "ends",
"e4s": "available",
"min_version_for_hana": {
"x86_64": "4.18.0-147.5.1.el8_1",
"ppc64le": "4.18.0-147.5.1.el8_1"
}
},
"8.2": {
"gcc": "8",
"initial_version": "4.18.0-193",
"end_of_support": "April 30, 2024",
"support": "ended",
"e4s": "available",
"min_version_for_hana": {
"x86_64": "4.18.0-193.40.1.el8_2",
"ppc64le": "4.18.0-193.40.1.el8_2"
}
},
"8.3": {
"gcc": "8",
"initial_version": "4.18.0-240",
"end_of_support": "April 30, 2021",
"support": "ended",
"e4s": "not available",
"min_version_for_hana": {
"x86_64": "N/A",
"ppc64le": "N/A"
}
},
"8.4": {
"gcc": "8",
"initial_version": "4.18.0-305",
"end_of_support": "May 31, 2025",
"support": "ends",
"e4s": "available",
"min_version_for_hana": {
"x86_64": "4.18.0-305.3.1.el8_4",
"ppc64le": "4.18.0-305.17.1.el8_4"
}
},
"8.5": {
"gcc": "8",
"initial_version": "4.18.0-348",
"end_of_support": "April 30, 2022",
"support": "ended",
"e4s": "not available",
"min_version_for_hana": {
"x86_64": "N/A",
"ppc64le": "N/A"
}
},
"8.6": {
"gcc": "8",
"initial_version": "4.18.0-372.9.1",
"end_of_support": "May 31, 2026",
"support": "ends",
"e4s": "available",
"min_version_for_hana": {
"x86_64": "4.18.0-372.9.1.el8",
"ppc64le": "4.18.0-372.32.1.el8_6"
}
},
"8.7": {
"gcc": "8",
"initial_version": "4.18.0-425.3.1",
"end_of_support": "April 30, 2023",
"support": "ended",
"e4s": "not available",
"min_version_for_hana": {
"x86_64": "N/A",
"ppc64le": "N/A"
}
},
"8.8": {
"gcc": "8",
"initial_version": "4.18.0-477.10.1.el8_8",
"end_of_support": "May 31, 2027",
"support": "ends",
"e4s": "available",
"min_version_for_hana": {
"x86_64": "4.18.0-477.13.1.el8_8",
"ppc64le": "4.18.0-477.13.1.el8_8"
}
},
"8.9": {
"gcc": "8",
"initial_version": "4.18.0-513.5.1.el8_9",
"end_of_support": "April 30, 2024",
"support": "ended",
"e4s": "not available",
"min_version_for_hana": {
"x86_64": "N/A",
"ppc64le": "N/A"
}
},
"8.10": {
"gcc": "8",
"initial_version": "4.18.0-553.el8_10",
"end_of_support": "May 31, 2029",
"support": "ends",
"e4s": "not available",
"min_version_for_hana": {
"x86_64": "4.18.0-553.16.1.el8_10",
"ppc64le": "4.18.0-553.16.1.el8_10"
}
},
"9.0": {
"gcc": "11",
"initial_version": "5.14.0-70.13.1.el9_0",
"end_of_support": "May 31, 2026",
"support": "ends",
"e4s": "available",
"min_version_for_hana": {
"x86_64": "5.14.0-70.22.1.el9_0",
"ppc64le": "5.14.0-70.43.1.el9_0"
}
},
"9.1": {
"gcc": "11",
"initial_version": "5.14.0-162.6.1.el9_1",
"end_of_support": "April 30, 2023",
"support": "ended",
"e4s": "not available",
"min_version_for_hana": {
"x86_64": "N/A",
"ppc64le": "N/A"
}
},
"9.2": {
"gcc": "11",
"initial_version": "5.14.0-284.11.1.el9_2",
"end_of_support": "May 31, 2027",
"support": "ends",
"e4s": "available",
"min_version_for_hana": {
"x86_64": "5.14.0-284.25.1.el9_2",
"ppc64le": "5.14.0-284.25.1.el9_2"
}
},
"9.3": {
"gcc": "11",
"initial_version": "5.14.0-362.8.1.el9_3",
"end_of_support": "April 30, 2024",
"support": "ended",
"e4s": "not available",
"min_version_for_hana": {
"x86_64": "N/A",
"ppc64le": "N/A"
}
},
"9.4": {
"gcc": "11",
"initial_version": "5.14.0-427.13.1.el9_4",
"end_of_support": "April 30, 2028",
"support": "ends",
"e4s": "available",
"min_version_for_hana": {
"x86_64": "5.14.0-427.16.1.el9_4",
"ppc64le": "5.14.0-427.16.1.el9_4"
}
},
"9.5": {
"gcc": "11",
"initial_version": "5.14.0-503.11.1.el9_5",
"end_of_support": "April 30, 2025",
"support": "ends",
"e4s": "not available",
"min_version_for_hana": {
"x86_64": "N/A",
"ppc64le": "N/A"
}
}
};
gcc5_compat_sap_req = "<a href=\"https://me.sap.com/notes/2338763\">GCC 5</a> ---> <a href=\"https://me.sap.com/notes/3057467\">Install compat-sap-c++-5</a>";
gcc6_compat_sap_req = "<a href=\"https://me.sap.com/notes/2455582\">GCC 6</a> ---> <a href=\"https://me.sap.com/notes/3057467\">Install compat-sap-c++-6</a>";
gcc7_compat_sap_req = "<a href=\"https://me.sap.com/notes/2593824\">GCC 7</a> ---> <a href=\"https://me.sap.com/notes/3057467\">Install compat-sap-c++-7</a>";
gcc7_compat_sap_not_req = "<a href=\"https://me.sap.com/notes/2593824\">GCC 7</a> ---> <a href=\"https://me.sap.com/notes/3057467\">No compat-sap-c++* required</a>";
gcc9_compat_sap_req = "<a href=\"https://me.sap.com/notes/2886607\">GCC 9</a> ---> <a href=\"https://me.sap.com/notes/3057467\">Install compat-sap-c++-9</a>";
gcc9_compat_sap_not_req = "<a href=\"https://me.sap.com/notes/2886607\">GCC 9</a> ---> <a href=\"https://me.sap.com/notes/3057467\">No compat-sap-c++-* required</a>";
gcc10_compat_sap_req = "<a href=\"https://me.sap.com/notes/3018133\">GCC 10</a> ---> <a href=\"https://me.sap.com/notes/3057467\">Install compat-sap-c++-10</a>";
gcc10_compat_sap_not_req = "<a href=\"https://me.sap.com/notes/3018133\">GCC 10</a> ---> <a href=\"https://me.sap.com/notes/3057467\">No compat-sap-c++-* required</a>";
gcc11_compat_sap_req = "<a href=\"https://me.sap.com/notes/3216146\">GCC 11</a> ---> <a href=\"https://me.sap.com/notes/3057467\">Install compat-sap-c++-11</a>";
gcc11_compat_sap_not_req = "<a href=\"https://me.sap.com/notes/3216146\">GCC 11</a> ---> <a href=\"https://me.sap.com/notes/3057467\">No compat-sap-c++-* required</a>";
gcc13_compat_sap_req = "<a href=\"https://me.sap.com/notes/3449186\">GCC 13</a> ---> <a href=\"https://me.sap.com/notes/3057467\">Install compat-sap-c++-13</a>";
gcc13_compat_sap_not_req = "<a href=\"https://me.sap.com/notes/3449186\">GCC 13</a> ---> <a href=\"https://me.sap.com/notes/3057467\">No compat-sap-c++-* required</a>";
// getArchIndex()
// getRHELIndex()
// getSAPIndex()
// getHAIndex()
// vSAP=document.getElementById("sapSelect").value;
var elem = document.getElementsByName('sapSelect');
for(i = 0; i < elem.length; i++) {
if(elem[i].checked) vSAP=elem[i].value;
}
elem = document.getElementsByName('archSelect');
for(i = 0; i < elem.length; i++) {
if(elem[i].checked) vArch=elem[i].value;
}
if (typeof vArch === 'undefined') return;
if (vArch == "x86_64") {vArch7 = "server"}
else if (vArch == "ppc64le") {vArch7 = "for-power-le"}
else if (vArch == "ppc64") {vArch7 = "for-power"}
else if (vArch == "s390x") {vArch7 = "for-system-z"}
// alert ("vArch = " + vArch + "; vArch7 = " + vArch7);
elem = document.getElementsByName('rhelSelect');
for(i = 0; i < elem.length; i++) {
if(elem[i].checked) vRHEL=elem[i].value;
}
var vRHELmajor = vRHEL.substr(0,1);
// alert ("vRHELmajor = " + vRHELmajor);
elem = document.getElementsByName('haSelect');
for(i = 0; i < elem.length; i++) {
if(elem[i].checked) vHA=elem[i].value;
}
elem = document.getElementsByName('repoTypeSelect');
for(i = 0; i < elem.length; i++) {
if(elem[i].checked) vRepoType=elem[i].value;
}
// alert ("vRepoType = " + vRepoType);
elem = document.getElementsByName('cloudSelect');
for(i = 0; i < elem.length; i++) {
if(elem[i].checked) vCloud=elem[i].value;
}
elem = document.getElementsByName('disableSelect');
for(i = 0; i < elem.length; i++) {
if(elem[i].checked) vDisable=elem[i].value;
}
// vArch=document.getElementById("archSelect").value;
// vRHEL=document.getElementById("rhelSelect").value;
// vHA=document.getElementById("haSelect").value;
document.getElementById("idRemarks").innerHTML = "<br><br>";
document.getElementById("idResources").innerHTML = "<br><br><br><br><br>";
document.getElementById("titleRHEL").innerHTML = "RHEL:";
document.getElementById("idRHEL").innerHTML = "";
document.getElementById("titleRepos").innerHTML = "Repositories:";
document.getElementById("idSubsriptionManagerReleaseSet").innerHTML = "";
document.getElementById("titleCommands").innerHTML = "Commands:";
document.getElementById("id_ppc64le").disabled = false;
document.getElementById("id_ppc64").disabled = false;
document.getElementById("id_s390x").disabled = false;
document.getElementById("id_65").disabled = false;
document.getElementById("id_66").disabled = false;
document.getElementById("id_67").disabled = false;
document.getElementById("id_610").disabled = false;
document.getElementById("id_72").disabled = false;
document.getElementById("id_78").disabled = false;
document.getElementById("id_80").disabled = false;
document.getElementById("id_81").disabled = false;
document.getElementById("id_82").disabled = false;
document.getElementById("id_83").disabled = false;
document.getElementById("id_84").disabled = false;
document.getElementById("id_85").disabled = false;
document.getElementById("id_86").disabled = false;
document.getElementById("id_87").disabled = false;
document.getElementById("id_88").disabled = false;
document.getElementById("id_89").disabled = false;
document.getElementById("id_810").disabled = false;
document.getElementById("id_90").disabled = false;
document.getElementById("id_91").disabled = false;
document.getElementById("id_92").disabled = false;
document.getElementById("id_93").disabled = false;
document.getElementById("id_94").disabled = false;
document.getElementById("id_Cloud_on").disabled = false;
if (vArch == "ppc64le") {
document.getElementById("id_72").disabled = true;
document.getElementById("id_Cloud_on").disabled = true;
document.getElementById("id_Cloud_off").checked = true;
}
if (vSAP == "SAP HANA 1.0") {
// HANA 1.0
// document.getElementById("id_Repo_type_e4s").checked = true;
// document.getElementById("id_Repo_type_eus").checked = false;
// document.getElementById("id_Repo_type_normal").checked = false;
document.getElementById("id_ppc64").disabled = true;
document.getElementById("id_ppc64le").disabled = true;
document.getElementById("id_s390x").disabled = true;
document.getElementById("id_x86_64").checked = true;
document.getElementById("id_80").disabled = true;
document.getElementById("id_81").disabled = true;
document.getElementById("id_82").disabled = true;
document.getElementById("id_83").disabled = true;
document.getElementById("id_84").disabled = true;
document.getElementById("id_85").disabled = true;
document.getElementById("id_86").disabled = true;
document.getElementById("id_87").disabled = true;
document.getElementById("id_88").disabled = true;
document.getElementById("id_89").disabled = true;
document.getElementById("id_810").disabled = true;
document.getElementById("id_90").disabled = true;
document.getElementById("id_91").disabled = true;
document.getElementById("id_92").disabled = true;
document.getElementById("id_93").disabled = true;
document.getElementById("id_94").disabled = true;
if (vRHELmajor == "6") {
// HANA 1.0 RHEL 6.x
document.getElementById("id_Cloud_on").disabled = true;
document.getElementById("id_Cloud_off").checked = true;
document.getElementById("idSubscription").innerHTML = "<a href=\"https://access.redhat.com/solutions/3082481\">" + rhel_for_sap_solutions_subscription[vArch] + "</a>";
document.getElementById("titleRHEL").innerHTML = "RHEL " + vRHEL + ": ";
document.getElementById("idSubsriptionManagerReleaseSet").innerHTML =
"subscription-manager release --set=" + vRHEL;
if (vRHEL == "6.5") {
// HANA 1.0 RHEL 6.5
document.getElementById("idResources").innerHTML =
"<a href=\"https://access.redhat.com/solutions/1544043\">Red Hat KB 1544043</a> - How to subscribe RHEL 6/7 system to RHEL for SAP Channel?" + "<br>" +
"<a href=\"https://me.sap.com/notes/1496410\">SAP note 1496410</a> - Red Hat Enterprise Linux 6.x: Installation and Upgrade" + "<br>" +
"<a href=\"https://me.sap.com/notes/2013638\">SAP note 2013638</a> - SAP HANA DB: Recommended OS settings for RHEL 6.5" + "<br>";
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 1.0 up to SPS11</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2021789\">Latest rev: HANA 1.0 SPS11 rev 112.07</a>." + "<br>" +
"HANA 1.0 <b>SPS11</b>: GCC version unknown. <a href=\"https://me.sap.com/notes/3057467\">No package compat-sap-c++-* required.</a><br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.4</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL6\">Kernel Version: 2.6.32-431</a>. <a href=\"https://access.redhat.com/support/policy/updates/errata#Life_Cycle_Dates\">E4S not available; end of Maintenance Support 2 November 30, 2020; end of Extended Life-cycle Support June 30, 2024</a>";
}
if (vRHEL == "6.6") {
// HANA 1.0 RHEL 6.6
document.getElementById("idResources").innerHTML =
"<a href=\"https://access.redhat.com/solutions/1544043\">Red Hat KB 1544043</a> - How to subscribe RHEL 6/7 system to RHEL for SAP Channel?" + "<br>" +
"<a href=\"https://me.sap.com/notes/1496410\">SAP note 1496410</a> - Red Hat Enterprise Linux 6.x: Installation and Upgrade" + "<br>" +
"<a href=\"https://me.sap.com/notes/2136965\">SAP note 2136965</a> - SAP HANA DB: Recommended OS settings for RHEL 6.6" + "<br>";
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 1.0 up to SPS11</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2021789\">Latest rev: HANA 1.0 SPS11 rev 112.07</a>." + "<br>" +
"HANA 1.0 <b>SPS11</b>: GCC version unknown. <a href=\"https://me.sap.com/notes/3057467\">No package compat-sap-c++-* required.</a><br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.4</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL6\">Kernel Version: 2.6.32-504</a>. <a href=\"https://access.redhat.com/support/policy/updates/errata#Life_Cycle_Dates\">E4S not available; end of Maintenance Support 2 November 30, 2020; end of Extended Life-cycle Support June 30, 2024</a>";
}
if (vRHEL == "6.7") {
// HANA 1.0 RHEL 6.7
document.getElementById("idResources").innerHTML =
"<a href=\"https://access.redhat.com/solutions/1544043\">Red Hat KB 1544043</a> - How to subscribe RHEL 6/7 system to RHEL for SAP Channel?" + "<br>" +
"<a href=\"https://me.sap.com/notes/1496410\">SAP note 1496410</a> - Red Hat Enterprise Linux 6.x: Installation and Upgrade" + "<br>" +
"<a href=\"https://me.sap.com/notes/2247020\">SAP note 2247020</a> - SAP HANA DB: Recommended OS settings for RHEL 6.7" + "<br>";
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 1.0 SPS11 and newer</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2021789\">Latest rev: HANA 1.0 SPS12 rev 122.35</a>." + "<br>" +
"HANA 1.0 <b>SPS12</b>: GCC 4 ---> <a href=\"https://me.sap.com/notes/3057467\">No package compat-sap-c++-* required.</a><br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.4</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL6\">Kernel Version: 2.6.32-573</a>. <a href=\"https://access.redhat.com/support/policy/updates/errata#Life_Cycle_Dates\">E4S not available; end of Maintenance Support 2 November 30, 2020; end of Extended Life-cycle Support June 30, 2024</a>";
}
if (vRHEL == "6.10") {
// HANA 1.0 RHEL 6.10
document.getElementById("idResources").innerHTML =
"<a href=\"https://access.redhat.com/solutions/1544043\">Red Hat KB 1544043</a> - How to subscribe RHEL 6/7 system to RHEL for SAP Channel?" + "<br>" +
"<a href=\"https://me.sap.com/notes/1496410\">SAP note 1496410</a> - Red Hat Enterprise Linux 6.x: Installation and Upgrade" + "<br>" +
"<a href=\"https://me.sap.com/notes/2694292\">SAP note 2694292</a> - SAP HANA DB: Recommended OS settings for RHEL 6.10" + "<br>";
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 1.0 SPS12 rev 122.23 and newer</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2021789\">Latest rev: HANA 1.0 SPS12 rev 122.35</a>." + "<br>" +
"HANA 1.0 <b>SPS12</b>: GCC 4 ---> <a href=\"https://me.sap.com/notes/3057467\">No package compat-sap-c++-* required.</a><br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.4</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL6\">Kernel Version: 2.6.32-754</a>. <a href=\"https://access.redhat.com/support/policy/updates/errata#Life_Cycle_Dates\">E4S and EUS not available and not required; end of Maintenance Support 2 November 30, 2020; end of Extended Life-cycle Support June 30, 2024</a>";
document.getElementById("idSubsriptionManagerReleaseSet").innerHTML = "";
}
if (vDisable == "yes") {
_disableRepoText = disable_all_repos_before_enabling;
}
else {
_disableRepoText = "";
}
if (vHA == "HA") {
document.getElementById("idResources").innerHTML +=
"<a href=\"https://access.redhat.com/articles/4079981\">Red Hat KB 4079981</a> - Supported HA Scenarios for SAP HANA, SAP S/4HANA, and SAP Netweaver" + "<br>" +
"<br>";
_haRepo = "<br>" + "rhel-ha-for-rhel-6-server-rpms" + "<br>";
_haText = " \\<br>" + "--enable=\"" + "rhel-ha-for-rhel-6-server-rpms" + "\"";
}
else {
document.getElementById("idResources").innerHTML +=
"<br>" +
"<br>";
}
document.getElementById("idRepos").innerHTML =
"rhel-6-server-rpms" + "<br>" +
"rhel-sap-hana-for-rhel-6-server-rpms" + "<br>" +
"rhel-scalefs-for-rhel-6-server-rpms" +
_haRepo +
"<br>";
document.getElementById("idSubsriptionManagerReposEnable").innerHTML =
"subscription-manager repos \\<br>" + _disableRepoText +
"--enable=\"" + "rhel-6-server-rpms" + "\" \\<br>" +
"--enable=\"" + "rhel-sap-hana-for-rhel-6-server-rpms" + "\"" + "<br>" +
"--enable=\"" + "rhel-scalefs-for-rhel-6-server-rpms" + "\"" +
_haText;
}
else if (vRHELmajor == "7") {
// HANA 1.0 RHEL 7.x
_exs="e4s";
document.getElementById("idResources").innerHTML =
"<a href=\"https://access.redhat.com/solutions/3075991\">Red Hat KB 3075991</a> - How to subscribe SAP HANA systems to the Update Services for SAP Solutions" + "<br>" +
"<a href=\"https://me.sap.com/notes/2002167\">SAP note 2002167</a> - Red Hat Enterprise Linux 7.x: Installation and Upgrade" + "<br>" +
"<a href=\"https://me.sap.com/notes/2292690\">SAP note 2292690</a> - SAP HANA DB: Recommended OS settings for RHEL 7" + "<br>"
document.getElementById("idSubscription").innerHTML = "<a href=\"https://access.redhat.com/solutions/3082481\">" + rhel_for_sap_solutions_subscription[vArch] + "</a>";
document.getElementById("titleRHEL").innerHTML = "RHEL " + vRHEL + ": ";
document.getElementById("idSubsriptionManagerReleaseSet").innerHTML =
"subscription-manager release --set=" + vRHEL;
if (vRHEL == "7.2") {
// HANA 1.0 RHEL 7.2
document.getElementById("id_Repo_type_e4s").disabled = false;
document.getElementById("id_Repo_type_eus").disabled = false;
document.getElementById("id_Cloud_on").disabled = true;
document.getElementById("id_Cloud_off").checked = true;
vCloud = "no Cloud";
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 1.0 SPS12</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2021789\">Latest rev: HANA 1.0 SPS12 rev 122.35</a>." + "<br>" +
"HANA 1.0 <b>SPS12</b>: GCC 4 ---> <a href=\"https://me.sap.com/notes/3057467\">No package compat-sap-c++-* required.</a><br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-327</a>. <a href=\"https://access.redhat.com/support/policy/updates/errata#Extended_Update_Support\">E4S available; support for EUS ended November 30, 2017; support for E4S ended November 30, 2019</a>";
}
else if (vRHEL == "7.3") {
// HANA 1.0 RHEL 7.3
document.getElementById("id_Repo_type_e4s").disabled = false;
document.getElementById("id_Repo_type_eus").disabled = false;
document.getElementById("id_Cloud_on").disabled = true;
document.getElementById("id_Cloud_off").checked = true;
vCloud = "no Cloud";
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 1.0 SPS12</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2021789\">Latest rev: HANA 1.0 SPS12 rev 122.35</a>." + "<br>" +
"HANA 1.0 <b>SPS12</b>: GCC 4 ---> <a href=\"https://me.sap.com/notes/3057467\">No package compat-sap-c++-* required.</a><br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-327</a>. <a href=\"https://access.redhat.com/support/policy/updates/errata#Extended_Update_Support\">E4S available; support for EUS ended November 30, 2017; support for E4S ended November 30, 2019</a>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-514</a>. <a href=\"https://access.redhat.com/support/policy/updates/errata#Update_Services_for_SAP_Solutions\">E4S available; support ended November 30, 2020</a>";
}
else if (vRHEL == "7.4") {
// HANA 1.0 RHEL 7.4
document.getElementById("id_Repo_type_e4s").disabled = false;
document.getElementById("id_Repo_type_eus").disabled = false;
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 1.0 SPS12 rev 122.14 and newer</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2021789\">Latest rev: HANA 1.0 SPS12 rev 122.35</a>." + "<br>" +
"HANA 1.0 <b>SPS12</b>: GCC 4 ---> <a href=\"https://me.sap.com/notes/3057467\">No package compat-sap-c++-* required.</a><br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-693</a>. <a href=\"https://access.redhat.com/support/policy/updates/errata#Update_Services_for_SAP_Solutions\">E4S available; support ended August 31, 2021</a>";
}
else if (vRHEL == "7.5") {
// HANA 1.0 RHEL 7.5
_exs="eus";
document.getElementById("id_Repo_type_e4s").disabled = true;
// document.getElementById("id_Repo_type_normal").checked = true;
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 1.0 SPS12 rev 122.19 and newer</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2021789\">Latest rev: HANA 1.0 SPS12 rev 122.35</a>." + "<br>" +
"HANA 1.0 <b>SPS12</b>: GCC 4 ---> <a href=\"https://me.sap.com/notes/3057467\">No package compat-sap-c++-* required.</a><br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-862</a>. <a href=\"https://access.redhat.com/support/policy/updates/errata#Extended_Update_Support\">E4S not available; support for EUS ended April 30, 2020</a>";
}
else if (vRHEL == "7.6") {
// HANA 1.0 RHEL 7.6
_exs="eus";
_exs="e4s";
document.getElementById("id_Repo_type_e4s").disabled = false;
document.getElementById("id_Repo_type_eus").disabled = false;
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 1.0 SPS12 rev 122.23 and newer</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2021789\">Latest rev: HANA 1.0 SPS12 rev 122.35</a>." + "<br>" +
"HANA 1.0 <b>SPS12</b>: GCC 4 ---> <a href=\"https://me.sap.com/notes/3057467\">No package compat-sap-c++-* required.</a><br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-957</a>. <a href=\"https://access.redhat.com/support/policy/updates/errata#Update_Services_for_SAP_Solutions\">E4S available; support ends October 31, 2022</a>";
}
else if (vRHEL == "7.7") {
// HANA 1.0 RHEL 7.7
document.getElementById("id_Repo_type_e4s").disabled = false;
document.getElementById("id_Repo_type_eus").disabled = false;
document.getElementById("id_Cloud_on").disabled = true;
document.getElementById("id_Cloud_off").checked = true;
vCloud = "no Cloud";
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 1.0 SPS12 rev 122.30 and newer</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2021789\">Latest rev: HANA 1.0 SPS12 rev 122.35</a>." + "<br>" +
"HANA 1.0 <b>SPS12</b>: GCC 4 ---> <a href=\"https://me.sap.com/notes/3057467\">No package compat-sap-c++-* required.</a><br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-1062</a>. " +
"<a href=\"https://me.sap.com/notes/2292690\">Minimum required: 3.10.0-1062.21.1</a>. " +
"<a href=\"https://access.redhat.com/support/policy/updates/errata#Update_Services_for_SAP_Solutions\">E4S available; support ends August 30, 2023</a>";
}
else if (vRHEL == "7.9") {
// HANA 1.0 RHEL 7.9
document.getElementById("id_Repo_type_e4s").disabled = true;
document.getElementById("id_Repo_type_eus").disabled = true;
document.getElementById("id_Repo_type_normal").checked = true;
document.getElementById("id_Cloud_on").disabled = true;
document.getElementById("id_Cloud_off").checked = true;
vCloud = "no Cloud";
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 1.0 SPS12 rev 122.33 and newer</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2021789\">Latest rev: HANA 1.0 SPS12 rev 122.35</a>." + "<br>" +
"HANA 1.0 <b>SPS12</b>: GCC 4 ---> <a href=\"https://me.sap.com/notes/3057467\">No package compat-sap-c++-* required.</a><br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-1160</a>. <a href=\"https://access.redhat.com/support/policy/updates/errata#Life_Cycle_Dates\">E4S and EUS not available and not required; end of Maintenance Support June 30, 2024; end of Extended Life-cycle Support TBD</a>";
document.getElementById("idSubsriptionManagerReleaseSet").innerHTML = "";
}
if (vDisable == "yes") {
_disableRepoText = disable_all_repos_before_enabling;
}
else {
_disableRepoText = "";
}
if (vCloud == "no Cloud") {
_rhui=""
}
else {
_rhui="-rhui"
}
if (vHA == "HA") {
document.getElementById("idResources").innerHTML +=
"<a href=\"https://access.redhat.com/articles/4079981\">Red Hat KB 4079981</a> - Supported HA Scenarios for SAP HANA, SAP S/4HANA, and SAP Netweaver" + "<br>" +
"<br>";
_ha = "rhel-ha-for-rhel-7-server-" + _exs + _rhui + "-rpms";
if (vRHEL == "7.9") {
_ha = "rhel-ha-for-rhel-7-server" + _rhui + "-rpms" + _rhui_ext;
}
_haRepo = "<br>" + _ha + "<br>";
_haText = " \\<br>" + "--enable=\"" + _ha + "\"";
}
else {
document.getElementById("idResources").innerHTML +=
"<br>" +
"<br>";
}
if (vCloud == "no Cloud") {
document.getElementById("idRepos").innerHTML =
"rhel-7-server-" + _exs + "-rpms" + "<br>" +
"rhel-sap-hana-for-rhel-7-server-" + _exs + "-rpms" +
_haRepo +
"<br><br>";
document.getElementById("idSubsriptionManagerReposEnable").innerHTML =
"subscription-manager repos \\<br>" + _disableRepoText +
"--enable=\"" + "rhel-7-server-" + _exs + "-rpms" + "\" \\<br>" +
"--enable=\"" + "rhel-sap-hana-for-rhel-7-server-" + _exs + "-rpms" + "\"" +
_haText;
if (vRHEL == "7.9") {
document.getElementById("idRepos").innerHTML =
"rhel-7-server-rpms" + "<br>" +
"rhel-sap-hana-for-rhel-7-server-rpms" +
_haRepo +
"<br><br>";
document.getElementById("idSubsriptionManagerReposEnable").innerHTML =
"subscription-manager repos \\<br>" + _disableRepoText +
"--enable=\"" + "rhel-7-server-rpms" + "\" \\<br>" +
"--enable=\"" + "rhel-sap-hana-for-rhel-7-server-rpms" + "\"" +
_haText;
}
}
else {
if (vRHEL == "7.5") {
// HANA 1.0 RHEL 7.5, cloud
document.getElementById("id_Repo_type_e4s").disabled = true;
// document.getElementById("id_Repo_type_normal").checked = true;
document.getElementById("idRepos").innerHTML =
"rhel-7-server" + _rhui + "-eus-rpms" + "<br>" +
"rhel-7-server" + _rhui + "-eus-optional-rpms" + "<br>" +
"rhel-7-server" + _rhui + "-eus-supplementary-rpms" + "<br>" +
"rhel-sap-for-rhel-7-server-eus" + _rhui + "-rpms" + "<br>" +
"rhel-sap-hana-for-rhel-7-server-eus" + _rhui + "-rpms" +
_haRepo;
document.getElementById("titleCommands").innerHTML = "";
document.getElementById("idSubsriptionManagerReleaseSet").innerHTML = "";
document.getElementById("idSubsriptionManagerReposEnable").innerHTML = "";
}
// HANA 1.0 RHEL 7.4 or 7.6, cloud
else { // vRHEL == "7.4" OR vRHEL == "7.6"
document.getElementById("idRepos").innerHTML =
"rhel-7-server-e4s" + _rhui + "-rpms" + "<br>" +
"rhel-7-server-e4s-optional" + _rhui + "-rpms" + "<br>" +
// "rhel-7-server-e4s-supplementary" + _rhui + "-rpms" + "<br>" +
"rhel-sap-for-rhel-7-server" + _rhui + "-e4s-rpms" + "<br>" +
"rhel-sap-hana-for-rhel-7-server" + _rhui + "-e4s-rpms" +
_haRepo;
document.getElementById("titleCommands").innerHTML = "";
document.getElementById("idSubsriptionManagerReleaseSet").innerHTML = "";
document.getElementById("idSubsriptionManagerReposEnable").innerHTML = "";
}
}
if (vRHEL == "7.8") {
// HANA 1.0 RHEL 7.8, cloud
document.getElementById("id_Repo_type_e4s").disabled = true;
document.getElementById("id_Repo_type_eus").disabled = true;
document.getElementById("id_Repo_type_normal").checked = true;
document.getElementById("id_Cloud_on").disabled = true;
document.getElementById("id_Cloud_off").checked = true;
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 1.0 is not supported for RHEL " + vRHEL + "</a>" + "<br><br>";
document.getElementById("idResources").innerHTML = "<br><br><br><br><br>";
document.getElementById("idSubscription").innerHTML = "";
document.getElementById("titleRHEL").innerHTML = "RHEL " + vRHEL + ": ";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-1127</a>. <a href=\"https://access.redhat.com/support/policy/updates/errata#Maintenance_Support_2_Phase\">E4S and EUS not available; support ended at RHEL 7.9 release date, 3QCY20</a>";
document.getElementById("titleRepos").innerHTML = vSAP + " is not supported for RHEL " + vRHEL + ".";
document.getElementById("titleCommands").innerHTML = "";
document.getElementById("idRepos").innerHTML = "";
document.getElementById("idSubsriptionManagerReleaseSet").innerHTML = "";
document.getElementById("idSubsriptionManagerReposEnable").innerHTML = "";
}
}
}
else if (vSAP == "SAP HANA 2.0") {
// HANA 2.0
// document.getElementById("id_Repo_type_e4s").checked = true;
// document.getElementById("id_Repo_type_eus").checked = false;
// document.getElementById("id_Repo_type_normal").checked = false;
document.getElementById("id_ppc64").disabled = true;
document.getElementById("id_s390x").disabled = true;
document.getElementById("id_65").disabled = true;
document.getElementById("id_66").disabled = true;
document.getElementById("id_67").disabled = true;
document.getElementById("id_610").disabled = true;
if (vArch == "ppc64" || vArch == "s390x") {
document.getElementById("titleRepos").innerHTML = vSAP + " is not supported on " + vArch + ".";
document.getElementById("titleCommands").innerHTML = "";
document.getElementById("idSubscription").innerHTML = "";
document.getElementById("idRepos").innerHTML = "";
document.getElementById("idSubsriptionManagerReleaseSet").innerHTML = "";
document.getElementById("idSubsriptionManagerReposEnable").innerHTML = "";
}
else {
if (vRepoType != "-e4s" && vRepoType != "-eus") {
document.getElementById("idSubsriptionManagerReleaseSet").innerHTML = "(check with \"subscription-manager release\" to confirm that the release lock is unset)";
}
else {
document.getElementById("idSubsriptionManagerReleaseSet").innerHTML = "subscription-manager release --set=" + vRHEL;
}
// HANA 2.0 RHEL 6.5, 6.6, 6.7, 6.10:
if (vRHEL == "6.5" ||
vRHEL == "6.6" ||
vRHEL == "6.7" ||
vRHEL == "6.10") {
document.getElementById("id_ppc64le").disabled = true;
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 2.0 is not supported for RHEL " + vRHEL + "</a>" + "<br><br>";
document.getElementById("idResources").innerHTML = "<br><br><br><br><br>";
document.getElementById("idSubscription").innerHTML = "";
document.getElementById("titleRHEL").innerHTML = " ";
document.getElementById("idRHEL").innerHTML = "";
document.getElementById("titleRepos").innerHTML = vSAP + " is not supported for RHEL " + vRHEL + ".";
document.getElementById("titleCommands").innerHTML = "";
document.getElementById("idRepos").innerHTML = "";
document.getElementById("idSubsriptionManagerReleaseSet").innerHTML = "";
document.getElementById("idSubsriptionManagerReposEnable").innerHTML = "";
}
else if (vRHEL == "7.2" ||
vRHEL == "7.3" ||
vRHEL == "7.4" ||
vRHEL == "7.6" ||
vRHEL == "7.7" ||
vRHEL == "7.9") {
document.getElementById("id_Repo_type_e4s").disabled = false;
document.getElementById("id_Repo_type_eus").disabled = false;
// HANA 2.0 RHEL 7.2, 7.3, 7.4, 7.6, 7.7, 7.9
document.getElementById("titleRHEL").innerHTML = "RHEL " + vRHEL + ": ";
document.getElementById("idRHEL").innerHTML = "E4S available";
document.getElementById("idSubscription").innerHTML = "<a href=\"https://access.redhat.com/solutions/3082481\">" + rhel_for_sap_solutions_subscription[vArch] + "</a>";
if (vArch == "x86_64") {
document.getElementById("idResources").innerHTML =
"<a href=\"https://access.redhat.com/solutions/3075991\">Red Hat KB 3075991</a> - How to subscribe SAP HANA systems to the Update Services for SAP Solutions" + "<br>" +
"<a href=\"https://me.sap.com/notes/2002167\">SAP note 2002167</a> - Red Hat Enterprise Linux 7.x: Installation and Upgrade" + "<br>" +
"<a href=\"https://me.sap.com/notes/2292690\">SAP note 2292690</a> - SAP HANA DB: Recommended OS settings for RHEL 7" + "<br>";
// HANA 2.0 x86_64 RHEL 7
if (vRHEL == "7.2") {
// HANA 2.0 x86_64 RHEL 7.2
document.getElementById("id_Cloud_on").disabled = true;
document.getElementById("id_Cloud_off").checked = true;
vCloud = "no Cloud";
_rhui_ext = "";
document.getElementById("id_ppc64le").disabled = true;
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 2.0 up to HANA 2.0 SPS03</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2378962\">Latest rev: " + last_hana2_sps03 + "</a>." + "<br>" +
"HANA 2.0 <b>SPS01</b>: " + gcc5_compat_sap_req + ". <b>SPS02</b> and <b>SPS03</b>: " + gcc6_compat_sap_req + ".<br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-327</a>. " +
"<a href=\"https://me.sap.com/notes/2292690\">Minimum required: 3.10.0-327.62.4.el7</a>. " +
"<a href=\"https://access.redhat.com/support/policy/updates/errata#Update_Services_for_SAP_Solutions\">E4S available; support ended November 30, 2019</a>";
}
else if (vRHEL == "7.3") {
// HANA 2.0 x86_64 RHEL 7.3
document.getElementById("id_Cloud_on").disabled = true;
document.getElementById("id_Cloud_off").checked = true;
vCloud = "no Cloud";
_rhui_ext = "";
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 2.0 SPS02 rev 21 and newer, up to HANA 2.0 SPS03</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2378962\">Latest rev: " + last_hana2_sps03 + "</a>." + "<br>" +
"HANA 2.0 <b>SPS02</b> and <b>SPS03</b>: " + gcc6_compat_sap_req + ".<br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-514</a>. " +
"<a href=\"https://me.sap.com/notes/2292690\">Minimum required: 3.10.0-514.36.5.el7</a>. " +
"<a href=\"https://access.redhat.com/support/policy/updates/errata#Update_Services_for_SAP_Solutions\">E4S available; support ended November 30, 2020</a>";
}
else if (vRHEL == "7.4") {
// HANA 2.0 x86_64 RHEL 7.4
if (vCloud == "no Cloud") {
_rhui_ext = "";
}
else {
_rhui_ext = "";
// _rhui_ext = "__7_DOT_4__x86_64";
}
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 2.0 SPS02 rev 23 and newer, up to HANA 2.0 SPS04</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2378962\">Latest rev: " + last_hana2_sps04 + "</a>." + "<br>" +
"HANA 2.0 <b>SPS02</b> and <b>SPS03</b>: " + gcc6_compat_sap_req + ". <b>SPS04</b>: " + gcc7_compat_sap_req + ".<br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-693</a>. " +
"<a href=\"https://me.sap.com/notes/2812427\">Minimum required: 3.10.0-693.58.1</a>. " +
"<a href=\"https://access.redhat.com/support/policy/updates/errata#Update_Services_for_SAP_Solutions\">E4S available; support ended August 31, 2021</a>";
}
else if (vRHEL == "7.6") {
// HANA 2.0 x86_64 RHEL 7.6
if (vCloud == "no Cloud") {
_rhui_ext = "";
}
else {
_rhui_ext = "";
// _rhui_ext = "__7_DOT_6__x86_64";
}
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 2.0 SPS03 rev 36 and newer, up to HANA 2.0 SPS05</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2378962\">Latest rev: " + last_hana2_sps05 + "</a>." + "<br>" +
"HANA 2.0 <b>SPS03</b>: " + gcc6_compat_sap_req + ". <b>SPS04</b>: " + gcc7_compat_sap_req + ". <b>SPS05</b>: " + gcc9_compat_sap_req + ".<br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-957</a>. " +
"<a href=\"https://me.sap.com/notes/2812427\">Minimum required: 3.10.0-957.35.1</a>. " +
"<a href=\"https://access.redhat.com/support/policy/updates/errata#Update_Services_for_SAP_Solutions\">E4S available; support ends October 31, 2022</a>";
}
else if (vRHEL == "7.7") {
// HANA 2.0 x86_64 RHEL 7.7
document.getElementById("id_Cloud_on").disabled = true;
document.getElementById("id_Cloud_off").checked = true;
vCloud = "no Cloud";
_rhui_ext = "";
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 2.0 SPS04 rev 48 and newer, up to HANA 2.0 SPS05</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2378962\">Latest rev: " + last_hana2_sps05 + "</a>." + "<br>" +
"HANA 2.0 <b>SPS04</b>: " + gcc7_compat_sap_req + ". <b>SPS05</b>: " + gcc9_compat_sap_req + ".<br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-1062</a>. " +
"<a href=\"https://me.sap.com/notes/2292690\">Minimum required: 3.10.0-1062.21.1</a>. " +
"<a href=\"https://access.redhat.com/support/policy/updates/errata#Update_Services_for_SAP_Solutions\">E4S available; support ends August 30, 2023</a>";
}
else if (vRHEL == "7.9") {
// HANA 2.0 x86_64 RHEL 7.9 part 1
document.getElementById("id_Repo_type_e4s").disabled = true;
document.getElementById("id_Repo_type_eus").disabled = true;
document.getElementById("id_Repo_type_normal").checked = true;
document.getElementById("id_Cloud_on").disabled = true;
document.getElementById("id_Cloud_off").checked = true;
vCloud = "no Cloud";
_rhui_ext = "";
document.getElementById("idRemarks").innerHTML = "<a href=\"https://me.sap.com/notes/2235581\">HANA 2.0 SPS05 only, starting with rev 54</a>" + ". " +
"<a href=\"https://me.sap.com/notes/2378962\">Latest rev: " + last_hana2_sps05 + "</a>." + "<br>" +
"HANA 2.0 <b>SPS05</b>: " + gcc9_compat_sap_req + ".<br>";
document.getElementById("idRHEL").innerHTML = "<a href=\"https://access.redhat.com/solutions/19458\"><b>GCC 4.8</b></a>. <a href=\"https://access.redhat.com/articles/3078#RHEL7\">Kernel Version: 3.10.0-1160</a>. <a href=\"https://access.redhat.com/support/policy/updates/errata#Life_Cycle_Dates\">E4S and EUS not available and not required; end of Maintenance Support June 30, 2024; end of Extended Life-cycle Support TBD</a>";
document.getElementById("idSubsriptionManagerReleaseSet").innerHTML = "";
}
if (vDisable == "yes") {
_disableRepoText = disable_all_repos_before_enabling;
}
else {
_disableRepoText = "";
}
if (vCloud == "no Cloud") {
_rhui=""
}
else {
_rhui="-rhui"
}
if (vHA == "HA") {
document.getElementById("idResources").innerHTML +=
"<a href=\"https://access.redhat.com/articles/4079981\">Red Hat KB 4079981</a> - Supported HA Scenarios for SAP HANA, SAP S/4HANA, and SAP Netweaver" + "<br>" +
"<br>";
_ha = "rhel-ha-for-rhel-7-server" + vRepoType + _rhui + "-rpms" + _rhui_ext;
if (vRHEL == "7.9") {
_ha = "rhel-ha-for-rhel-7-server" + _rhui + "-rpms" + _rhui_ext;