UNPKG

16.4 kBHTMLView Raw
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="utf-8">
5 <title>JSDoc: Mixin: bigIqClusterMixins</title>
6
7 <script src="scripts/prettify/prettify.js"> </script>
8 <script src="scripts/prettify/lang-css.js"> </script>
9 <!--[if lt IE 9]>
10 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11 <![endif]-->
12 <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13 <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
14</head>
15
16<body>
17
18<div id="main">
19
20 <h1 class="page-title">Mixin: bigIqClusterMixins</h1>
21
22
23
24
25
26
27<section>
28
29<header>
30
31 <h2>bigIqClusterMixins</h2>
32
33
34</header>
35
36<article>
37 <div class="container-overview">
38
39
40 <div class="description"><p>Functions that only pertain to BIG-IQ clustering, not BIG-IP</p></div>
41
42
43
44
45
46<dl class="details">
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</dl>
80
81
82
83
84 </div>
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101 <h3 class="subsection-title">Methods</h3>
102
103
104
105
106
107
108
109 <h4 class="name" id=".addSecondary"><span class="type-signature">(static) </span>addSecondary<span class="signature">(failoverPeerIp, failoverPeerUsername, failoverPeerPassword, rootPassword, testOpts<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
110
111
112
113
114
115
116<div class="description">
117 <p>Configures the specified failover peer as a secondary in a BIQ-IQ High Availability configuration</p>
118</div>
119
120
121
122
123
124
125
126
127
128 <h5>Parameters:</h5>
129
130
131<table class="params">
132 <thead>
133 <tr>
134
135 <th>Name</th>
136
137
138 <th>Type</th>
139
140
141 <th>Attributes</th>
142
143
144
145
146 <th class="last">Description</th>
147 </tr>
148 </thead>
149
150 <tbody>
151
152
153 <tr>
154
155 <td class="name"><code>failoverPeerIp</code></td>
156
157
158 <td class="type">
159
160
161<span class="param-type">String</span>
162
163
164
165 </td>
166
167
168 <td class="attributes">
169
170
171
172
173
174 </td>
175
176
177
178
179 <td class="description last"><p>IP address of the failover peer</p></td>
180 </tr>
181
182
183
184 <tr>
185
186 <td class="name"><code>failoverPeerUsername</code></td>
187
188
189 <td class="type">
190
191
192<span class="param-type">String</span>
193
194
195
196 </td>
197
198
199 <td class="attributes">
200
201
202
203
204
205 </td>
206
207
208
209
210 <td class="description last"><p>Username of the admin user on the failover peer</p></td>
211 </tr>
212
213
214
215 <tr>
216
217 <td class="name"><code>failoverPeerPassword</code></td>
218
219
220 <td class="type">
221
222
223<span class="param-type">String</span>
224
225
226
227 </td>
228
229
230 <td class="attributes">
231
232
233
234
235
236 </td>
237
238
239
240
241 <td class="description last"><p>Password of the admin user on the failover peer</p></td>
242 </tr>
243
244
245
246 <tr>
247
248 <td class="name"><code>rootPassword</code></td>
249
250
251 <td class="type">
252
253
254<span class="param-type">String</span>
255
256
257
258 </td>
259
260
261 <td class="attributes">
262
263
264
265
266
267 </td>
268
269
270
271
272 <td class="description last"><p>Password of the root user on the failover peer</p></td>
273 </tr>
274
275
276
277 <tr>
278
279 <td class="name"><code>testOpts</code></td>
280
281
282 <td class="type">
283
284
285<span class="param-type">Object</span>
286
287
288
289 </td>
290
291
292 <td class="attributes">
293
294 &lt;optional><br>
295
296
297
298
299
300 </td>
301
302
303
304
305 <td class="description last"><p>testOpts - Options used during testing</p>
306 <h6>Properties</h6>
307
308
309<table class="params">
310 <thead>
311 <tr>
312
313 <th>Name</th>
314
315
316 <th>Type</th>
317
318
319 <th>Attributes</th>
320
321
322
323
324 <th class="last">Description</th>
325 </tr>
326 </thead>
327
328 <tbody>
329
330
331 <tr>
332
333 <td class="name"><code>bigIp</code></td>
334
335
336 <td class="type">
337
338
339<span class="param-type">Object</span>
340
341
342
343 </td>
344
345
346 <td class="attributes">
347
348 &lt;optional><br>
349
350
351
352
353
354 </td>
355
356
357
358
359 <td class="description last"><p>BigIp object to use for testing</p></td>
360 </tr>
361
362
363 </tbody>
364</table>
365
366 </td>
367 </tr>
368
369
370 </tbody>
371</table>
372
373
374
375
376
377
378<dl class="details">
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</dl>
412
413
414
415
416
417
418
419
420
421
422
423
424
425<h5>Returns:</h5>
426
427
428<div class="param-desc">
429 <p>A Promise which is resolved with the status of the BIG-IQ peering task</p>
430</div>
431
432
433
434<dl>
435 <dt>
436 Type
437 </dt>
438 <dd>
439
440<span class="param-type">Promise</span>
441
442
443 </dd>
444</dl>
445
446
447
448
449
450
451
452
453
454
455
456
457
458 <h4 class="name" id=".waitForPeered"><span class="type-signature">(static) </span>waitForPeered<span class="signature">(task, retryOptions<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
459
460
461
462
463
464
465<div class="description">
466 <p>Polls the status of a BIG-IQ high-availability peering task.</p>
467</div>
468
469
470
471
472
473
474
475
476
477 <h5>Parameters:</h5>
478
479
480<table class="params">
481 <thead>
482 <tr>
483
484 <th>Name</th>
485
486
487 <th>Type</th>
488
489
490 <th>Attributes</th>
491
492
493
494
495 <th class="last">Description</th>
496 </tr>
497 </thead>
498
499 <tbody>
500
501
502 <tr>
503
504 <td class="name"><code>task</code></td>
505
506
507 <td class="type">
508
509
510<span class="param-type">String</span>
511
512
513
514 </td>
515
516
517 <td class="attributes">
518
519
520
521
522
523 </td>
524
525
526
527
528 <td class="description last"><p>Task ID value from BIG-IQ add-peer-task call</p></td>
529 </tr>
530
531
532
533 <tr>
534
535 <td class="name"><code>retryOptions</code></td>
536
537
538 <td class="type">
539
540
541<span class="param-type">Object</span>
542
543
544
545 </td>
546
547
548 <td class="attributes">
549
550 &lt;optional><br>
551
552
553
554
555
556 </td>
557
558
559
560
561 <td class="description last"><p>Options for retrying the request.</p>
562 <h6>Properties</h6>
563
564
565<table class="params">
566 <thead>
567 <tr>
568
569 <th>Name</th>
570
571
572 <th>Type</th>
573
574
575 <th>Attributes</th>
576
577
578
579
580 <th class="last">Description</th>
581 </tr>
582 </thead>
583
584 <tbody>
585
586
587 <tr>
588
589 <td class="name"><code>maxRetries</code></td>
590
591
592 <td class="type">
593
594
595<span class="param-type">Integer</span>
596
597
598
599 </td>
600
601
602 <td class="attributes">
603
604 &lt;optional><br>
605
606
607
608
609
610 </td>
611
612
613
614
615 <td class="description last"><p>Number of times to retry if first</p></td>
616 </tr>
617
618
619
620 <tr>
621
622 <td class="name"><code>retryIntervalMs</code></td>
623
624
625 <td class="type">
626
627
628<span class="param-type">Integer</span>
629
630
631
632 </td>
633
634
635 <td class="attributes">
636
637 &lt;optional><br>
638
639
640
641
642
643 </td>
644
645
646
647
648 <td class="description last"><p>Milliseconds between retries.</p></td>
649 </tr>
650
651
652 </tbody>
653</table>
654
655 </td>
656 </tr>
657
658
659 </tbody>
660</table>
661
662
663
664
665
666
667<dl class="details">
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</dl>
701
702
703
704
705
706
707
708
709
710
711
712
713
714<h5>Returns:</h5>
715
716
717<div class="param-desc">
718 <p>A Promise which is resolved with the peering task response
719 or a peering task failure message</p>
720</div>
721
722
723
724<dl>
725 <dt>
726 Type
727 </dt>
728 <dd>
729
730<span class="param-type">Promise</span>
731
732
733 </dd>
734</dl>
735
736
737
738
739
740
741
742
743
744
745
746
747
748 <h4 class="name" id=".waitForPeerReady"><span class="type-signature">(static) </span>waitForPeerReady<span class="signature">(remoteBigIp, failoverPeerIp, failoverPeerUsername, failoverPeerPassword)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
749
750
751
752
753
754
755<div class="description">
756 <p>Polls the failover peer BIG-IQ in a high-availabilty configuration to see if the failover peer is
757ready to accept a peering task request.</p>
758</div>
759
760
761
762
763
764
765
766
767
768 <h5>Parameters:</h5>
769
770
771<table class="params">
772 <thead>
773 <tr>
774
775 <th>Name</th>
776
777
778 <th>Type</th>
779
780
781 <th>Attributes</th>
782
783
784
785
786 <th class="last">Description</th>
787 </tr>
788 </thead>
789
790 <tbody>
791
792
793 <tr>
794
795 <td class="name"><code>remoteBigIp</code></td>
796
797
798 <td class="type">
799
800
801<span class="param-type">Object</span>
802
803
804
805 </td>
806
807
808 <td class="attributes">
809
810
811
812
813
814 </td>
815
816
817
818
819 <td class="description last"><p>BIG-IQ instance for the failover peer BIG-IQ</p></td>
820 </tr>
821
822
823
824 <tr>
825
826 <td class="name"><code>failoverPeerIp</code></td>
827
828
829 <td class="type">
830
831
832<span class="param-type">String</span>
833
834
835
836 </td>
837
838
839 <td class="attributes">
840
841
842
843
844
845 </td>
846
847
848
849
850 <td class="description last"><p>IP address of the failover peer</p></td>
851 </tr>
852
853
854
855 <tr>
856
857 <td class="name"><code>failoverPeerUsername</code></td>
858
859
860 <td class="type">
861
862
863<span class="param-type">String</span>
864
865
866
867 </td>
868
869
870 <td class="attributes">
871
872
873
874
875
876 </td>
877
878
879
880
881 <td class="description last"><p>Username of the admin user on the failover peer</p></td>
882 </tr>
883
884
885
886 <tr>
887
888 <td class="name"><code>failoverPeerPassword</code></td>
889
890
891 <td class="type">
892
893
894<span class="param-type">String</span>
895
896
897
898 </td>
899
900
901 <td class="attributes">
902
903
904
905
906
907 </td>
908
909
910
911
912 <td class="description last"><p>Password of the admin user on the failover peer</p></td>
913 </tr>
914
915
916
917 <tr>
918
919 <td class="name"><code>retryOptions.maxRetries</code></td>
920
921
922 <td class="type">
923
924
925<span class="param-type">Integer</span>
926
927
928
929 </td>
930
931
932 <td class="attributes">
933
934 &lt;optional><br>
935
936
937
938
939
940 </td>
941
942
943
944
945 <td class="description last"><p>Number of times to retry if first</p></td>
946 </tr>
947
948
949
950 <tr>
951
952 <td class="name"><code>retryOptions.retryIntervalMs</code></td>
953
954
955 <td class="type">
956
957
958<span class="param-type">Integer</span>
959
960
961
962 </td>
963
964
965 <td class="attributes">
966
967 &lt;optional><br>
968
969
970
971
972
973 </td>
974
975
976
977
978 <td class="description last"><p>Milliseconds between retries.</p></td>
979 </tr>
980
981
982 </tbody>
983</table>
984
985
986
987
988
989
990<dl class="details">
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023</dl>
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037<h5>Returns:</h5>
1038
1039
1040<div class="param-desc">
1041 <p>A Promise which is resolved when the failover peer BIG-IQ is ready, or an error
1042 if the BIG-IQ is not ready within the retry period</p>
1043</div>
1044
1045
1046
1047<dl>
1048 <dt>
1049 Type
1050 </dt>
1051 <dd>
1052
1053<span class="param-type">Promise</span>
1054
1055
1056 </dd>
1057</dl>
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071</article>
1072
1073</section>
1074
1075
1076
1077
1078</div>
1079
1080<nav>
1081 <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-authn.html">authn</a></li><li><a href="module-bigIqLicenseProviderFactory.html">bigIqLicenseProviderFactory</a></li><li><a href="module-cryptoUtil.html">cryptoUtil</a></li><li><a href="module-httpUtil.html">httpUtil</a></li><li><a href="module-ipc.html">ipc</a></li><li><a href="module-localCryptoUtil.html">localCryptoUtil</a></li><li><a href="module-localKeyUtil.html">localKeyUtil</a></li><li><a href="module-logger.html">logger</a></li><li><a href="module-metricsCollector.html">metricsCollector</a></li><li><a href="module-sharedConstants.html">sharedConstants</a></li><li><a href="module-signals.html">signals</a></li><li><a href="module-util.html">util</a></li></ul><h3>Classes</h3><ul><li><a href="BigIp.html">BigIp</a></li><li><a href="BigIpCluster.html">BigIpCluster</a></li><li><a href="BigIpGtm.html">BigIpGtm</a></li><li><a href="BigIpOnboard.html">BigIpOnboard</a></li><li><a href="BigIq.html">BigIq</a></li><li><a href="BigIq50LicenseProvider.html">BigIq50LicenseProvider</a></li><li><a href="BigIq52LicenseProvider.html">BigIq52LicenseProvider</a></li><li><a href="BigIq53LicenseProvider.html">BigIq53LicenseProvider</a></li><li><a href="BigIq54LicenseProvider.html">BigIq54LicenseProvider</a></li><li><a href="CloudProvider.html">CloudProvider</a></li><li><a href="DnsProvider.html">DnsProvider</a></li><li><a href="GenericNodeProvider.html">GenericNodeProvider</a></li><li><a href="GtmDnsProvider.html">GtmDnsProvider</a></li><li><a href="IControl.html">IControl</a></li></ul><h3>Mixins</h3><ul><li><a href="bigIqClusterMixins.html">bigIqClusterMixins</a></li><li><a href="bigIqOnboardMixins.html">bigIqOnboardMixins</a></li></ul><h3>Global</h3><ul><li><a href="global.html#checkTask">checkTask</a></li><li><a href="global.html#forceResetUserPassword">forceResetUserPassword</a></li><li><a href="global.html#getDataFromPropPath">getDataFromPropPath</a></li><li><a href="global.html#getLicenseProvider">getLicenseProvider</a></li></ul>
1082</nav>
1083
1084<br class="clear">
1085
1086<footer>
1087 Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
1088</footer>
1089
1090<script> prettyPrint(); </script>
1091<script src="scripts/linenumber.js"> </script>
1092</body>
1093</html>
\No newline at end of file