-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathfeed.xml
More file actions
1188 lines (723 loc) · 65.3 KB
/
feed.xml
File metadata and controls
1188 lines (723 loc) · 65.3 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>ZStack</title>
<description>ZStack is open source IaaS software managing resources of compute, storage, networking throughout a datacenter all by APIs.</description>
<link>http://zstack.org/</link>
<atom:link href="http://zstack.org/feed.xml" rel="self" type="application/rss+xml" />
<pubDate>Wed, 27 Nov 2019 12:40:57 +0800</pubDate>
<lastBuildDate>Wed, 27 Nov 2019 12:40:57 +0800</lastBuildDate>
<generator>Jekyll v2.5.3</generator>
<item>
<title>ZStack v2.0.2 release</title>
<description><p>Hello everyone, I am Yongkang You, the COO of ZStack. Today I am happy to announce that ZStack v2.0.2 is released.</p>
<p>We did not update zstack.org for a long time, because we were continuing building much more powerful ZStack.
We did a lot of things in the past 1 year, e.g. releasing ZStack Enterprise with multiple languages, launching new Chinese website http://www.zstack.io and also adding more network services like VxLAN, load balance and IP-SEC.</p>
<p>We got series A round funding from Alibaba Cloud and grew up with a bigger team.</p>
<p>ZStack has built a firmed community in China. Hundreds of private clouds are using ZStack.
ele.me (the biggest online food ordering company) has a ZStack environment managing more than 1400 physical servers,
which supporting millions of orders every day.</p>
<h1>New Features And Enhancements</h1>
<ul>
<li>VxLAN</li>
<li>New Enterprise UI</li>
<li>New virtual router network service</li>
<li>ZStack OS</li>
<li>Performance mornitor (Enterprise feature)</li>
<li>Billing (Enterprise feature)</li>
<li>VPN(IP-Sec) (Enterprise feature)</li>
<li>VM QoS (Enterprise feature)</li>
<li>Memory/CPU/Storage Overprovision (Enterprise feature)</li>
<li>VM HA (Enterprise feature)</li>
<li>LDAP (Enterprise feature)</li>
<li>VCenter management (Enterprise feature)</li>
<li>VM password resetting by QGA (Enterprise feature)</li>
<li>VM console password (Enterprise feature)</li>
<li>VM online cloning (Enterprise feature)</li>
<li>VM CPU/Memory online hot-add (Enterprise feature)</li>
<li>VM operation log (Enterprise feature)</li>
<li>VM attach/detach ISO (Enterprise feature)</li>
</ul>
<h1>Installation And Upgrade</h1>
<p>You can follow <a href="../installation/index.md">Installation Manual</a> to install the 2.0.2 release.</p>
</description>
<pubDate>Sun, 25 Jun 2017 00:00:00 +0800</pubDate>
<link>http://zstack.org/blog/v2.0.2.html</link>
<guid isPermaLink="true">http://zstack.org/blog/v2.0.2.html</guid>
<category>blog</category>
</item>
<item>
<title>ZStack v2.0.2 release</title>
<description><p>Hello everyone, I am Yongkang You, the COO of ZStack. Today I am happy to announce that ZStack v2.0.2 is released.</p>
<p>We did not update zstack.org for a long time, because we were continuing building much more powerful ZStack.
We did a lot of things in the past 1 year, e.g. releasing ZStack Enterprise with multiple languages, launching new Chinese website http://www.zstack.io and also adding more network services like VxLAN, load balance and IP-SEC.</p>
<p>We got series A round funding from Alibaba Cloud and grew up with a bigger team.</p>
<p>ZStack has built a firmed community in China. Hundreds of private clouds are using ZStack.
ele.me (the biggest online food ordering company) has a ZStack environment managing more than 1400 physical servers,
which supporting millions of orders every day.</p>
<h1>New Features And Enhancements</h1>
<ul>
<li>VxLAN</li>
<li>New Enterprise UI</li>
<li>New virtual router network service</li>
<li>ZStack OS</li>
<li>Performance mornitor (Enterprise feature)</li>
<li>Billing (Enterprise feature)</li>
<li>VPN(IP-Sec) (Enterprise feature)</li>
<li>VM QoS (Enterprise feature)</li>
<li>Memory/CPU/Storage Overprovision (Enterprise feature)</li>
<li>VM HA (Enterprise feature)</li>
<li>LDAP (Enterprise feature)</li>
<li>VCenter management (Enterprise feature)</li>
<li>VM password resetting by QGA (Enterprise feature)</li>
<li>VM console password (Enterprise feature)</li>
<li>VM online cloning (Enterprise feature)</li>
<li>VM CPU/Memory online hot-add (Enterprise feature)</li>
<li>VM operation log (Enterprise feature)</li>
<li>VM attach/detach ISO (Enterprise feature)</li>
</ul>
<h1>Installation And Upgrade</h1>
<p>You can follow <a href="../installation/index.md">Installation Manual</a> to install the 2.0.2 release.</p>
</description>
<pubDate>Sun, 25 Jun 2017 00:00:00 +0800</pubDate>
<link>http://zstack.org/cn/blog/v2.0.2.html</link>
<guid isPermaLink="true">http://zstack.org/cn/blog/v2.0.2.html</guid>
<category>blog</category>
</item>
<item>
<title>ZStack v1.3 release</title>
<description><p>Hello everyone, I am Frank Zhang, the architect of ZStack. Today I am happy to
announce that ZStack v1.3 is released.</p>
<h1>New Features And Enhancements</h1>
<ul>
<li><a href="#actualsize">Supporting both virtual size and actual size for images and volumes</a></li>
<li><a href="#cpu">CPU over-provisioning</a></li>
<li><a href="#startvm">Specifying target host or cluster when starting a VM</a></li>
<li><a href="#staticip">Specifying static IP when attaching a L3 network</a></li>
<li><a href="#sshport">Specifying SSH port when adding KVM hosts or SFTP backup storage</a></li>
<li><a href="#log">Log collection tool</a></li>
<li><a href="#fusionstor">Supporting fusionstor as primary and backup storage</a></li>
</ul>
<h1>Installation And Upgrade</h1>
<ul>
<li><a href="#install">Installation</a></li>
<li><a href="#upgrade">Upgrade</a></li>
</ul>
<h2 id="actualsize"> 1. Supporting Both Virtual Size And Actual Size For Images And Volumes</h2>
<p>ZStack uses thin-provisioning when creating VM volumes; a volume or image has two sizes, a virtual size indicating the
max capacity and a actual size indicating the capacity allocated. In previous version, users can only see the actual
size of a image and the virtual size of a volume. In this version, virtual size and actual size are all supported for images
and volumes.</p>
<p><img src="/images/1.3/1.png" class="center-img img-responsive"></p>
<p>For volumes, a new API <code>SyncVolumeSize</code> is added for users to get the volume's actual size at runtime.</p>
<pre><code>&gt;&gt;&gt;SyncVolumeSize uuid=e9fc82e23cd14d8aa33d1304cb1f5f87
</code></pre>
<h2 id="cpu">2. CPU over-provisioning</h2>
<p>In this version, a confusing term <code>cpu speed</code> is removed from the VM instance and the instance offering. The VCPU usage is only
counted by the VCPU number. Users can specify the over-provisioning ratio of VCPU by a global configuration.</p>
<pre><code>&gt;&gt;&gt;UpdateGlobalConfig category=host name=cpu.overProvisioning.ratio value=20
</code></pre>
<blockquote><p>The default VCPU over-provisioning ratio is 10, which means one physical core(from Linux perspective) can be allocated as 10
VCPUs.</p></blockquote>
<h2 id="startvm">3. Specifying the target host or cluster when starting a VM</h2>
<p>In this version, users can specify the target host or cluster when starting a stopped VM.</p>
<pre><code>&gt;&gt;&gt;StartVmInstance uuid=554d67a78c40475cbe4e8e0cdf6adc44 hostUuid=c2025197915944acaf0435c0c1a44f96
</code></pre>
<p>or</p>
<pre><code>&gt;&gt;&gt;StartVmInstance uuid=554d67a78c40475cbe4e8e0cdf6adc44 clusterUuid==c2025197915944acaf0435c0c1a44f96
</code></pre>
<blockquote><p>This only works if the primary storage is network shared storage, for example, NFS. For local storage that
volumes are allocated on hosts' disk, a VM cannot start on any other hosts other than the one which its root
volume is on.</p></blockquote>
<h2 id="staticip">4. Specifying static IP when attaching a L3 network</h2>
<p>In this version, users can specify a static IP when attaching a L3 network to a VM.</p>
<pre><code> &gt;&gt;&gt;AttachL3NetworkToVm l3NetworkUuid=23e15a6acc80431fa0f1763ab45ae144 vmInstanceUuid=b7ba300853974189b7adc90f2c25e00b staticIp=192.168.1.10
</code></pre>
<h2 id="sshport">5. Specifying SSH port when adding KVM hosts or SFTP backup storage</h2>
<p>In this version, users can specify the SSH port that is used by Ansible when adding a KVM host or a SFTP backup storage.</p>
<p><img src="/images/1.3/2.png" class="center-img img-responsive">
<img src="/images/1.3/3.png" class="center-img img-responsive"></p>
<h2 id="log">6. Log collection tool</h2>
<p>In this version, a tool archiving various logs is added for users reporting bugs to ZStack community. The tool is implemented as
a <code>zstack-ctl</code> command and is easy to use.</p>
<p><img src="/images/1.3/4.png" class="center-img img-responsive"></p>
<h2 id="fusionstor">6. Supporting fusionstor as primary and backup storage</h2>
<p>In this version, HuaYunWangJi's commercial storage system <em>fusionstor</em> is supported as primary storage and backup storage. It
works just like Ceph, users can add it through ZStack's UI easily;</p>
<p><img src="/images/1.3/5.png" class="center-img img-responsive">
<img src="/images/1.3/6.png" class="center-img img-responsive"></p>
<h2 id="install">7. Installation</h2>
<p>You can install the 1.3 release by:</p>
<pre><code> wget http://download.zstack.org/releases/1.3/1.3.0/zstack-installer-1.3.0.bin
bash zstack-installer-1.3.0.bin -R aliyun
</code></pre>
<h2 id="upgrade">8. Upgrade</h2>
<p>You can upgrade your previous ZStack to 1.3 by:</p>
<pre><code> wget http://download.zstack.org/releases/1.3/1.3.0/zstack-installer-1.3.0.bin
bash zstack-installer-1.3.0.bin -u
</code></pre>
</description>
<pubDate>Mon, 06 Jun 2016 00:00:00 +0800</pubDate>
<link>http://zstack.org/blog/v1.3.html</link>
<guid isPermaLink="true">http://zstack.org/blog/v1.3.html</guid>
<category>blog</category>
</item>
<item>
<title>ZStack v1.3 release</title>
<description><p>Hello everyone, I am Frank Zhang, the architect of ZStack. Today I am happy to
announce that ZStack v1.3 is released.</p>
<h1>New Features And Enhancements</h1>
<ul>
<li><a href="#actualsize">Supporting both virtual size and actual size for images and volumes</a></li>
<li><a href="#cpu">CPU over-provisioning</a></li>
<li><a href="#startvm">Specifying target host or cluster when starting a VM</a></li>
<li><a href="#staticip">Specifying static IP when attaching a L3 network</a></li>
<li><a href="#sshport">Specifying SSH port when adding KVM hosts or SFTP backup storage</a></li>
<li><a href="#log">Log collection tool</a></li>
<li><a href="#fusionstor">Supporting fusionstor as primary and backup storage</a></li>
</ul>
<h1>Installation And Upgrade</h1>
<ul>
<li><a href="#install">Installation</a></li>
<li><a href="#upgrade">Upgrade</a></li>
</ul>
<h2 id="actualsize"> 1. Supporting Both Virtual Size And Actual Size For Images And Volumes</h2>
<p>ZStack uses thin-provisioning when creating VM volumes; a volume or image has two sizes, a virtual size indicating the
max capacity and a actual size indicating the capacity allocated. In previous version, users can only see the actual
size of a image and the virtual size of a volume. In this version, virtual size and actual size are all supported for images
and volumes.</p>
<p><img src="/images/1.3/1.png" class="center-img img-responsive"></p>
<p>For volumes, a new API <code>SyncVolumeSize</code> is added for users to get the volume's actual size at runtime.</p>
<pre><code>&gt;&gt;&gt;SyncVolumeSize uuid=e9fc82e23cd14d8aa33d1304cb1f5f87
</code></pre>
<h2 id="cpu">2. CPU over-provisioning</h2>
<p>In this version, a confusing term <code>cpu speed</code> is removed from the VM instance and the instance offering. The VCPU usage is only
counted by the VCPU number. Users can specify the over-provisioning ratio of VCPU by a global configuration.</p>
<pre><code>&gt;&gt;&gt;UpdateGlobalConfig category=host name=cpu.overProvisioning.ratio value=20
</code></pre>
<blockquote><p>The default VCPU over-provisioning ratio is 10, which means one physical core(from Linux perspective) can be allocated as 10
VCPUs.</p></blockquote>
<h2 id="startvm">3. Specifying the target host or cluster when starting a VM</h2>
<p>In this version, users can specify the target host or cluster when starting a stopped VM.</p>
<pre><code>&gt;&gt;&gt;StartVmInstance uuid=554d67a78c40475cbe4e8e0cdf6adc44 hostUuid=c2025197915944acaf0435c0c1a44f96
</code></pre>
<p>or</p>
<pre><code>&gt;&gt;&gt;StartVmInstance uuid=554d67a78c40475cbe4e8e0cdf6adc44 clusterUuid==c2025197915944acaf0435c0c1a44f96
</code></pre>
<blockquote><p>This only works if the primary storage is network shared storage, for example, NFS. For local storage that
volumes are allocated on hosts' disk, a VM cannot start on any other hosts other than the one which its root
volume is on.</p></blockquote>
<h2 id="staticip">4. Specifying static IP when attaching a L3 network</h2>
<p>In this version, users can specify a static IP when attaching a L3 network to a VM.</p>
<pre><code> &gt;&gt;&gt;AttachL3NetworkToVm l3NetworkUuid=23e15a6acc80431fa0f1763ab45ae144 vmInstanceUuid=b7ba300853974189b7adc90f2c25e00b staticIp=192.168.1.10
</code></pre>
<h2 id="sshport">5. Specifying SSH port when adding KVM hosts or SFTP backup storage</h2>
<p>In this version, users can specify the SSH port that is used by Ansible when adding a KVM host or a SFTP backup storage.</p>
<p><img src="/images/1.3/2.png" class="center-img img-responsive">
<img src="/images/1.3/3.png" class="center-img img-responsive"></p>
<h2 id="log">6. Log collection tool</h2>
<p>In this version, a tool archiving various logs is added for users reporting bugs to ZStack community. The tool is implemented as
a <code>zstack-ctl</code> command and is easy to use.</p>
<p><img src="/images/1.3/4.png" class="center-img img-responsive"></p>
<h2 id="fusionstor">6. Supporting fusionstor as primary and backup storage</h2>
<p>In this version, HuaYunWangJi's commercial storage system <em>fusionstor</em> is supported as primary storage and backup storage. It
works just like Ceph, users can add it through ZStack's UI easily;</p>
<p><img src="/images/1.3/5.png" class="center-img img-responsive">
<img src="/images/1.3/6.png" class="center-img img-responsive"></p>
<h2 id="install">7. Installation</h2>
<p>You can install the 1.3 release by:</p>
<pre><code> wget http://download.zstack.org/releases/1.3/1.3.0/zstack-installer-1.3.0.bin
bash zstack-installer-1.3.0.bin -R aliyun
</code></pre>
<h2 id="upgrade">8. Upgrade</h2>
<p>You can upgrade your previous ZStack to 1.3 by:</p>
<pre><code> wget http://download.zstack.org/releases/1.3/1.3.0/zstack-installer-1.3.0.bin
bash zstack-installer-1.3.0.bin -u
</code></pre>
</description>
<pubDate>Mon, 06 Jun 2016 00:00:00 +0800</pubDate>
<link>http://zstack.org/cn/blog/v1.3.html</link>
<guid isPermaLink="true">http://zstack.org/cn/blog/v1.3.html</guid>
<category>blog</category>
</item>
<item>
<title>ZStack v1.3.1 发布</title>
<description><h2>ZStack 1.3.1 版本今天发布</h2>
<p>ZStack 1.3版本的第一个更新版本今天发布,请之前全新安装ZStack 1.3版本和Virtual Router(虚拟路由)的用户需要尽快升级。
在该版中,我们修复了1.3版本中 Qemu 2.3 版本的一个缺陷。该缺陷会导致新创建的Virtual Router无法正确的获取IP地址。</p>
<h2>修复的缺陷</h2>
<ul>
<li>虚拟路由器无法获取IP地址</li>
</ul>
<h2>安装升级</h2>
<ul>
<li><a href="#install">安装</a></li>
<li><a href="#offlineinstall">离线安装</a></li>
<li><a href="#upgrade">升级</a></li>
</ul>
<h3 id="install">1. 安装</h3>
<p>你可以通过下面方式安装:</p>
<p> wget http://download.zstack.org/releases/1.3/1.3.1/zstack-installer-1.3.1.bin
bash zstack-installer-1.3.1.bin -R aliyun</p>
<blockquote><p>这里<code>-R aliyun</code>参数指定使用阿里云的源进行安装,你也可以使用<code>-R 163</code>使用网易的源。我们推荐使用阿里云的源</p></blockquote>
<h3 id="offlineinstall">2. 离线安装</h3>
<p>针对内网用户,以及访问Internet速度较慢的用户.ZStack 1.3 提供了离线安装方式.
用户若需要离线安装ZStack,需要在目标管理节点和计算节点上安装CentOS 7.2 ZStack社区版.</p>
<p>然后在下载了第8步中的 zstack-installer 之后,你可以通过下面方式快速完成离线安装:</p>
<pre><code>bash zstack-installer-1.3.1.bin -o
</code></pre>
<p>具体的离线安装教程和CentOS 7.2 ZStack社区版请阅读: <a href="./offline-install-zstack-from-custom-iso.html">ZStack离线安装教程</a></p>
<h3 id="upgrade">3. 升级 </h3>
<p>一如既往的,我们支持一键无缝升级:</p>
<pre><code>wget http://download.zstack.org/releases/1.3/1.3.1/zstack-installer-1.3.1.bin
bash zstack-installer-1.3.1.bin -u
</code></pre>
<p>多节点升级中的zstack.war文件可以从下面的链接下载:</p>
<pre><code>wget http://download.zstack.org/releases/1.3/1.3.1/zstack.war
</code></pre>
</description>
<pubDate>Wed, 01 Jun 2016 00:00:00 +0800</pubDate>
<link>http://zstack.org/cn_blog/v1.3.1.html</link>
<guid isPermaLink="true">http://zstack.org/cn_blog/v1.3.1.html</guid>
<category>cn_blog</category>
</item>
<item>
<title>ZStack v1.3 发布</title>
<description><h2>ZStack 1.3 版本今天正式发布</h2>
<p>ZStack 1.3版本今天发布,欢迎大家下载试用。在该版中,我们修复了1.2版本中发现的bug,新增了如下功能;image/volume的virtual size/actual size支持,CPU超分设置,启动VM的时候指定集群(cluster)或物理机,加载L3网络到虚拟机时指定IP等功能。此外,该版本包含了华云网际贡献的fusionstor插件,用户可以使用华云网际的商业存储fusionstor作为备份存储和主存储。具体细节参考以下章节。</p>
<h2>新增功能</h2>
<ul>
<li><a href="#actualsize">Image/Volume的actual size/virtual size支持</a></li>
<li><a href="#cpu">CPU超分</a></li>
<li><a href="#startvm">启动VM指定集群或物理机</a></li>
<li><a href="#staticip">加载L3网络指定静态IP</a></li>
<li><a href="#log">日志收集工具</a></li>
<li><a href="#qemu">社区版ISO安装升级到QEMU2.3版本</a></li>
<li><a href="#fusionstor">华云网际fusionstor支持</a></li>
</ul>
<h2>安装升级</h2>
<ul>
<li><a href="#install">安装</a></li>
<li><a href="#offlineinstall">离线安装</a></li>
<li><a href="#upgrade">升级</a></li>
</ul>
<h3 id="actualsize">1. Image/Volume实际容量 </h3>
<p>在使用thin-provisioning(又称thin-clone)技术的时候,一个qcow2文件有两个容量:表示物理大小的真实容量(actual size)和表示用户申请空间大小的容量(virtual size)。在之前的zstack版本中 ,对于image,用户只能看到actual size,对于volume,只能看到virtual size。从1.3版本开始,image和volume都同时支持actual size和virtual size,这样用户既能知道该image/volume目前的物理大小,也可以知道表示其容量上限的virtual size。</p>
<p><img src="/images/1.3/1.png" class="center-img img-responsive"></p>
<p>对于volume,由于其actual size会随用户对磁盘的使用不断增长,我们新加了一个API方便用户能实时获取volume当前的actual size:</p>
<pre><code> &gt;&gt;&gt;SyncVolumeSize uuid=e9fc82e23cd14d8aa33d1304cb1f5f87
</code></pre>
<h3 id="cpu">2. CPU超分设定</h3>
<p>在之前的zstack版本中,我们引入了一个对应VM CPU权重的概念cpu speed,给用户造成了很大困惑。在1.3版本中,我们已将其去掉。用户创建VM时只需要执行VCPU的数量即可。用户可以通过设置一个 全局配置来执行物理机CPU的超分比例:</p>
<pre><code> &gt;&gt;&gt;UpdateGlobalConfig category=host name=cpu.overProvisioning.ratio value=20
</code></pre>
<blockquote><p>默认CPU超分比例是10,即一个Linux操作系统可见的物理CPU可以分配10 VCPU供VM使用。例如一个4 CPU物理机,则可以虚出40个VCPU。</p></blockquote>
<h3 id="startvm">3. 启动VM时指定cluster或host</h3>
<p>在该版本中,用户可以在启动一个停止的VM时,指定该VM从启动的cluster或host:</p>
<pre><code> &gt;&gt;&gt;StartVmInstance uuid=554d67a78c40475cbe4e8e0cdf6adc44 hostUuid=c2025197915944acaf0435c0c1a44f96
</code></pre>
<p>或</p>
<pre><code> &gt;&gt;&gt;StartVmInstance uuid=554d67a78c40475cbe4e8e0cdf6adc44 clusterUuid==c2025197915944acaf0435c0c1a44f96
</code></pre>
<blockquote><p>该功能只对使用共享主存储(例如NFS)的VM有效,对于使用本地存储的VM,由于VM的根磁盘在物理机的硬盘上,无法跨物理机启动</p></blockquote>
<h3 id="staticip">4. 加载L3网络指定静态IP</h3>
<p>在该版本中,用户可以在给一个VM加载L3网络的时候指定静态IP:</p>
<pre><code> &gt;&gt;&gt;AttachL3NetworkToVm l3NetworkUuid=23e15a6acc80431fa0f1763ab45ae144 vmInstanceUuid=b7ba300853974189b7adc90f2c25e00b staticIp=192.168.1.10
</code></pre>
<h3 id="sshport">5. 添加host、backup storage时指定ssh端口以及使用非root用户</h3>
<p>从该版本开始,在添加host、sftp backup storage、ceph primary storage、ceph backup storage时,可以指定ssh端口,以及使用非root的用户名:</p>
<p><img src="/images/1.3/2.png" class="center-img img-responsive">
<img src="/images/1.3/3.png" class="center-img img-responsive"></p>
<h3 id="log">6. 日志收集工具</h3>
<p>为了方便用户在调试zstack的时候收集日志,在1.3版本中我们新加了一个zstack-ctl collect_log命令用于自动收集并打包相关日志:</p>
<p><img src="/images/1.3/4.png" class="center-img img-responsive"></p>
<h3 id="qemu">7. 社区版ISO安装升级到QEMU2.3版本</h3>
<p>在最新的ZStack 1.3社区版ISO中,我们已经将QEMU升级到了2.3版本,该版本支持VM的在线快照功能,用户无需停止VM即可以生成快照。该ISO的下载链接在:</p>
<pre><code> http://download.zstack.org/ISO/ZStack-Community-x86_64-DVD-1.3.0.iso
</code></pre>
<p>百度云盘:</p>
<pre><code> http://pan.baidu.com/s/1hsqCEfa
</code></pre>
<h3 id="fusionstor">8. 华云网际fusionstor插件</h3>
<p>在1.3版本中,华云网际公司贡献了其商业存储fusionstor的插件,用户可以直接在ZStack UI上添加fusionstor作为主存储和备份存储</p>
<p><img src="/images/1.3/5.png" class="center-img img-responsive">
<img src="/images/1.3/6.png" class="center-img img-responsive"></p>
<h3 id="install">9. 安装</h3>
<p>你可以通过下面方式安装:</p>
<pre><code> wget http://download.zstack.org/releases/1.3/1.3.0/zstack-installer-1.3.0.bin
bash zstack-installer-1.3.0.bin -R aliyun
</code></pre>
<blockquote><p>这里<code>-R aliyun</code>参数指定使用阿里云的源进行安装,你也可以使用<code>-R 163</code>使用网易的源。我们推荐使用阿里云的源</p></blockquote>
<h3 id="offlineinstall">10. 离线安装</h3>
<p>针对内网用户,以及访问Internet速度较慢的用户.ZStack 1.3 提供了离线安装方式.
用户若需要离线安装ZStack,需要在目标管理节点和计算节点上安装CentOS 7.2 ZStack社区版.</p>
<p>然后在下载了第8步中的 zstack-installer 之后,你可以通过下面方式快速完成离线安装:</p>
<pre><code> bash zstack-installer-1.3.0.bin -o
</code></pre>
<p>具体的离线安装教程和CentOS 7.2 ZStack社区版请阅读: <a href="./offline-install-zstack-from-custom-iso.html">ZStack离线安装教程</a></p>
<h3 id="upgrade">11. 升级 </h3>
<p>一如既往的,我们支持一键无缝升级:</p>
<pre><code> wget http://download.zstack.org/releases/1.3/1.3.0/zstack-installer-1.3.0.bin
bash zstack-installer-1.3.0.bin -u
</code></pre>
<p>多节点升级中的zstack.war文件可以从下面的链接下载:</p>
<pre><code> wget http://download.zstack.org/releases/1.3/1.3.0/zstack.war
</code></pre>
</description>
<pubDate>Mon, 30 May 2016 00:00:00 +0800</pubDate>
<link>http://zstack.org/cn_blog/v1.3.html</link>
<guid isPermaLink="true">http://zstack.org/cn_blog/v1.3.html</guid>
<category>cn_blog</category>
</item>
<item>
<title>ZStack v1.2 release</title>
<description><p>Hello everyone, I am Frank Zhang, the architect of ZStack. Today I am happy to
announce that ZStack v1.2 is released.</p>
<h1>New Features And Enhancements</h1>
<ul>
<li><a href="#eip">Distributed EIP</a></li>
<li><a href="#smp">Shared Mount Point Primary Storage</a></li>
<li><a href="#db">Database Periodical Backup</a></li>
<li><a href="#systemd">Systemd Support</a></li>
<li><a href="#cachemode">KVM Cache Mode</a></li>
<li><a href="#userdata">AWS EC2 Like Userdata</a></li>
</ul>
<h1>Installation And Upgrade</h1>
<ul>
<li><a href="#install">Installation</a></li>
<li><a href="#upgrade">Upgrade</a></li>
</ul>
<h2 id="eip"> 1. Distributed EIP </h2>
<p>Distributed EIP is added as a new service type of flat network provider in this version. Users can apply an EIP(normally a public IP) to a VM on a private network dynamically without using a virtual router VM, since the EIP is created on the host where the VM is running. As the EIPs are scattered on different hosts we call it distributed EIP. Below is an overall architecutre showing that the distributed EIP is implemented through the Linux network namspace.</p>
<p><img src="/images/1.2/eipoverview.png" class="center-img img-responsive"></p>
<p>To enable the distributed EIP, users need to select the EIP service of the flat network service provider at the last step of creating a L3 network.</p>
<p><img src="/images/1.2/eip1.png" class="center-img img-responsive">
<img src="/images/1.2/eip2.png" class="center-img img-responsive"></p>
<p>For the usage of EIP, please refer the chapter 15 of the tutorial <a href="http://zstack.org/tutorials/ec2-ui.html">Amazon EC2 classic EIP zone</a>.</p>
<h2 id="smp">2. Shared Mount Point Primary Storage</h2>
<p>In order to support vast POSIX compatible distributed filesystems, we add a new type of primary storage called shared mount point storage in this version. The idea is that users can use any distributed filesystems(e.g. OCFS2, GlusterFS, MooseFS) as primary storage, as long as those filesystems are pre-mounted on the KVM hosts.</p>
<p>Below is an example of adding a shared mount point primary storage, the URL is the absolute path of the folder where the distributed filesystem is
mounted.</p>
<blockquote><p>we suggest users changing /etc/rc.local or /etc/fstab to make the distributed filesystem automatically mount during Linux booting, otherwise you
will be unable to start a created VM or create a VM on your local storage.</p></blockquote>
<p><img src="/images/1.2/smp.png" class="center-img img-responsive"></p>
<h2 id="db">3. Database Periodical Backup</h2>
<p>In this version, a new command <code>zstack-ctl dump_mysql</code> is added for users to backup ZStack database.</p>
<pre><code> [root@172-20-12-46 ~]# zstack-ctl dump_mysql -h
usage: zstackctl dump_mysql [-h] [--file-name FILE_NAME]
[--keep-amount KEEP_AMOUNT]
optional arguments:
-h, --help show this help message and exit
--file-name FILE_NAME
The filename you want to save the database, default is
'zstack-backup-db'
--keep-amount KEEP_AMOUNT
The amount of backup files you want to keep, older
backup files will be deleted, default number is 60
</code></pre>
<p>Once the all-in-one installation is done, a <code>crontab</code> task is created as following to periodically backup your database:</p>
<pre><code> 30 0,12 * * * zstack-ctl dump_mysql --keep-amount 14
</code></pre>
<p>you can change the setting by <code>crontab -e</code>.</p>
<h2 id="systemd">4. Systemd Support</h2>
<p>Systemd is supported in this version. You can use <code>systemctl</code> to control ZStack management nodes' lifecycle and make them start during Linux booting.</p>
<p><img src="/images/1.2/systemd.png" class="center-img img-responsive"></p>
<h2 id="cachemode">5. KVM Cache Mode</h2>
<p>In this version, users can configure the <code>cache mode</code> of volumes on the KVM hosts by a global configuration. There are three modes supported now:</p>
<ul>
<li><p><strong>none</strong>: With caching mode set to none, the host page cache is disabled, but the disk write cache is enabled for the guest. In this mode, the write performance in the guest is optimal because write operations bypass the host page cache and go directly to the disk write cache. If the disk write cache is battery-backed, or if the applications or storage stack in the guest transfer data properly (either through fsync operations or file system barriers), then data integrity can be ensured. However, because the host page cache is disabled, the read performance in the guest would not be as good as in the modes where the host page cache is enabled, such as writethrough mode.</p></li>
<li><p><strong>writeback</strong>: With caching set to writeback mode, both the host page cache and the disk write cache are enabled for the guest. Because of this, the I/O performance for applications running in the guest is good, but the data is not protected in a power failure. As a result, this caching mode is recommended only for temporary data where potential data loss is not a concern.</p></li>
<li><p><strong>writethrough</strong>: writethrough mode is the default caching mode. With caching set to writethrough mode, the host page cache is enabled, but the disk write cache is disabled for the guest. Consequently, this caching mode ensures data integrity even if the applications and storage stack in the guest do not transfer data to permanent storage properly (either through fsync operations or file system barriers). Because the host page cache is enabled in this mode, the read performance for applications running in the guest is generally better. However, the write performance might be reduced because the disk write cache is disabled.</p></li>
</ul>
<p>For details of KVM cache mode you can refer <a href="https://www.ibm.com/support/knowledgecenter/linuxonibm/liaat/liaatbpkvmguestcache.htm">here</a>.</p>
<p>The global configuration can be changed through UI or command line:</p>
<p><img src="/images/1.2/cachemode.png" class="center-img img-responsive"></p>
<pre><code>&gt;&gt;UpdateGlobalConfig category=kvm name=vm.cacheMode value=writethrough
</code></pre>
<h2 id="userdata">6. AWS EC2 Way To Access Userdata</h2>
<p>Beginning at the version 1.0, ZStack supports AWS EC2 userdata with cloud-init. However, the original way to access userdata is CloudStack like, which requires users to change the default configuration of cloud-init package and sometimes make people confused. In this version, ZStack starts using AWS EC2 way to distribute userdata, which means users can access userdata/metadata by a special IP address(169.254.169.254). It's also the default way that cloud-init fetches userdata, so users can directly use cloud-init built-in packages from CentOS and Ubuntu, without any modification.</p>
<h2 id="install">7. Installation</h2>
<p>You can install the 1.2 release by:</p>
<pre><code> wget http://download.zstack.org/releases/1.2/1.2.0/zstack-installer-1.2.0.bin
bash zstack-installer-1.2.0.bin
</code></pre>
<h2 id="upgrade">8. Upgrade</h2>
<p>You can upgrade your previous ZStack to 1.2 by:</p>
<pre><code> wget http://download.zstack.org/releases/1.2/1.2.0/zstack-installer-1.2.0.bin
bash zstack-installer-1.2.0.bin -u
</code></pre>
</description>
<pubDate>Wed, 04 May 2016 00:00:00 +0800</pubDate>
<link>http://zstack.org/blog/v1.2.html</link>
<guid isPermaLink="true">http://zstack.org/blog/v1.2.html</guid>
<category>blog</category>
</item>
<item>
<title>ZStack v1.2 release</title>
<description><p>Hello everyone, I am Frank Zhang, the architect of ZStack. Today I am happy to
announce that ZStack v1.2 is released.</p>
<h1>New Features And Enhancements</h1>
<ul>
<li><a href="#eip">Distributed EIP</a></li>
<li><a href="#smp">Shared Mount Point Primary Storage</a></li>
<li><a href="#db">Database Periodical Backup</a></li>
<li><a href="#systemd">Systemd Support</a></li>
<li><a href="#cachemode">KVM Cache Mode</a></li>
<li><a href="#userdata">AWS EC2 Like Userdata</a></li>
</ul>
<h1>Installation And Upgrade</h1>
<ul>
<li><a href="#install">Installation</a></li>
<li><a href="#upgrade">Upgrade</a></li>
</ul>
<h2 id="eip"> 1. Distributed EIP </h2>
<p>Distributed EIP is added as a new service type of flat network provider in this version. Users can apply an EIP(normally a public IP) to a VM on a private network dynamically without using a virtual router VM, since the EIP is created on the host where the VM is running. As the EIPs are scattered on different hosts we call it distributed EIP. Below is an overall architecutre showing that the distributed EIP is implemented through the Linux network namspace.</p>
<p><img src="/images/1.2/eipoverview.png" class="center-img img-responsive"></p>
<p>To enable the distributed EIP, users need to select the EIP service of the flat network service provider at the last step of creating a L3 network.</p>
<p><img src="/images/1.2/eip1.png" class="center-img img-responsive">
<img src="/images/1.2/eip2.png" class="center-img img-responsive"></p>
<p>For the usage of EIP, please refer the chapter 15 of the tutorial <a href="http://zstack.org/tutorials/ec2-ui.html">Amazon EC2 classic EIP zone</a>.</p>
<h2 id="smp">2. Shared Mount Point Primary Storage</h2>
<p>In order to support vast POSIX compatible distributed filesystems, we add a new type of primary storage called shared mount point storage in this version. The idea is that users can use any distributed filesystems(e.g. OCFS2, GlusterFS, MooseFS) as primary storage, as long as those filesystems are pre-mounted on the KVM hosts.</p>
<p>Below is an example of adding a shared mount point primary storage, the URL is the absolute path of the folder where the distributed filesystem is
mounted.</p>
<blockquote><p>we suggest users changing /etc/rc.local or /etc/fstab to make the distributed filesystem automatically mount during Linux booting, otherwise you
will be unable to start a created VM or create a VM on your local storage.</p></blockquote>
<p><img src="/images/1.2/smp.png" class="center-img img-responsive"></p>
<h2 id="db">3. Database Periodical Backup</h2>
<p>In this version, a new command <code>zstack-ctl dump_mysql</code> is added for users to backup ZStack database.</p>
<pre><code> [root@172-20-12-46 ~]# zstack-ctl dump_mysql -h
usage: zstackctl dump_mysql [-h] [--file-name FILE_NAME]
[--keep-amount KEEP_AMOUNT]
optional arguments:
-h, --help show this help message and exit
--file-name FILE_NAME
The filename you want to save the database, default is
'zstack-backup-db'
--keep-amount KEEP_AMOUNT
The amount of backup files you want to keep, older
backup files will be deleted, default number is 60
</code></pre>
<p>Once the all-in-one installation is done, a <code>crontab</code> task is created as following to periodically backup your database:</p>
<pre><code> 30 0,12 * * * zstack-ctl dump_mysql --keep-amount 14
</code></pre>
<p>you can change the setting by <code>crontab -e</code>.</p>
<h2 id="systemd">4. Systemd Support</h2>
<p>Systemd is supported in this version. You can use <code>systemctl</code> to control ZStack management nodes' lifecycle and make them start during Linux booting.</p>
<p><img src="/images/1.2/systemd.png" class="center-img img-responsive"></p>
<h2 id="cachemode">5. KVM Cache Mode</h2>
<p>In this version, users can configure the <code>cache mode</code> of volumes on the KVM hosts by a global configuration. There are three modes supported now:</p>
<ul>
<li><p><strong>none</strong>: With caching mode set to none, the host page cache is disabled, but the disk write cache is enabled for the guest. In this mode, the write performance in the guest is optimal because write operations bypass the host page cache and go directly to the disk write cache. If the disk write cache is battery-backed, or if the applications or storage stack in the guest transfer data properly (either through fsync operations or file system barriers), then data integrity can be ensured. However, because the host page cache is disabled, the read performance in the guest would not be as good as in the modes where the host page cache is enabled, such as writethrough mode.</p></li>
<li><p><strong>writeback</strong>: With caching set to writeback mode, both the host page cache and the disk write cache are enabled for the guest. Because of this, the I/O performance for applications running in the guest is good, but the data is not protected in a power failure. As a result, this caching mode is recommended only for temporary data where potential data loss is not a concern.</p></li>
<li><p><strong>writethrough</strong>: writethrough mode is the default caching mode. With caching set to writethrough mode, the host page cache is enabled, but the disk write cache is disabled for the guest. Consequently, this caching mode ensures data integrity even if the applications and storage stack in the guest do not transfer data to permanent storage properly (either through fsync operations or file system barriers). Because the host page cache is enabled in this mode, the read performance for applications running in the guest is generally better. However, the write performance might be reduced because the disk write cache is disabled.</p></li>
</ul>
<p>For details of KVM cache mode you can refer <a href="https://www.ibm.com/support/knowledgecenter/linuxonibm/liaat/liaatbpkvmguestcache.htm">here</a>.</p>
<p>The global configuration can be changed through UI or command line:</p>
<p><img src="/images/1.2/cachemode.png" class="center-img img-responsive"></p>
<pre><code>&gt;&gt;UpdateGlobalConfig category=kvm name=vm.cacheMode value=writethrough
</code></pre>
<h2 id="userdata">6. AWS EC2 Way To Access Userdata</h2>
<p>Beginning at the version 1.0, ZStack supports AWS EC2 userdata with cloud-init. However, the original way to access userdata is CloudStack like, which requires users to change the default configuration of cloud-init package and sometimes make people confused. In this version, ZStack starts using AWS EC2 way to distribute userdata, which means users can access userdata/metadata by a special IP address(169.254.169.254). It's also the default way that cloud-init fetches userdata, so users can directly use cloud-init built-in packages from CentOS and Ubuntu, without any modification.</p>
<h2 id="install">7. Installation</h2>
<p>You can install the 1.2 release by:</p>
<pre><code> wget http://download.zstack.org/releases/1.2/1.2.0/zstack-installer-1.2.0.bin
bash zstack-installer-1.2.0.bin
</code></pre>
<h2 id="upgrade">8. Upgrade</h2>
<p>You can upgrade your previous ZStack to 1.2 by:</p>
<pre><code> wget http://download.zstack.org/releases/1.2/1.2.0/zstack-installer-1.2.0.bin
bash zstack-installer-1.2.0.bin -u
</code></pre>
</description>
<pubDate>Wed, 04 May 2016 00:00:00 +0800</pubDate>
<link>http://zstack.org/cn/blog/v1.2.html</link>
<guid isPermaLink="true">http://zstack.org/cn/blog/v1.2.html</guid>
<category>blog</category>
</item>
<item>
<title>ZStack v1.2 发布</title>
<description><h2>ZStack 1.2 版本今天正式发布</h2>
<p>ZStack 1.2 版本今天发布,欢迎大家下载试用。在该版中,我们修复了1.1版本中发现的bug,并增加了分布EIP、shared mountpoint主存储支持、数据库自动备份、Systemd支持等新功能。用户不再需要使用Virtual Router就可以使用EIP网络模式,也可以无缝的使用GlusterFS、MooseFS、OCFS2等分布式文件系统作为主存储。具体细节参考以下章节。</p>
<h2>新增功能</h2>
<ul>
<li><a href="#eip">分布式EIP</a></li>
<li><a href="#smp">Shared Mountpoint主存储</a></li>
<li><a href="#database">数据库定时备份</a></li>
<li><a href="#systemd">Systemd支持</a></li>
<li><a href="#cachemode">KVM缓存模式配置</a></li>
<li><a href="#userdata">AWS EC2模式Userdata支持</a></li>
</ul>
<h2>安装升级</h2>
<ul>
<li><a href="#install">安装</a></li>
<li><a href="#offlineinstall">离线安装</a></li>
<li><a href="#upgrade">升级</a></li>
</ul>
<h3 id="eip">1. 分布式EIP </h3>
<p>在1.0版本中,我们增加了一个新的网络服务组件:FlatNetwork Provider,可以提供分布式DHCP支持。在1.2版本中,我们继续增强了该provider的功能,加入了分布式EIP支持。通过这种方式,用户无需再使用传统的virtual router方式就可以部署EIP网络模型,拥有独立的私有网络,并将公网IP地址映射到私有网络的中的云主机去。ZStack的分布式EIP通过Linux的network namespace实现,原理图如下:</p>
<p><img src="/images/1.2/eipoverview.png" class="center-img img-responsive"></p>
<p>要使用分布式EIP,用户只需在创建L3网络的时候,选择Flat Network Service Provider作为网络服务提供组件,并选择加载EIP服务即可。步骤如图:</p>
<p><img src="/images/1.2/eip1.png" class="center-img img-responsive">
<img src="/images/1.2/eip2.png" class="center-img img-responsive"></p>
<p>要绑定EIP到私有网络的云主机,参考教程<a href="http://zstack.org/cn/tutorials/ec2-ui.html">经典Amazon EC2 EIP环境</a>第15节即可。</p>
<h3 id="smp">2. Shared Mountpoint主存储</h3>
<p>在1.2版本中,我们新增了一种主存储(Primary Storage)类型:Shared Mountpoint Storage。通过该主存储,ZStack可以支持任何符合POSIX文件系统规范的分布式文件系统,例如大家熟悉的GlusterFS、MooseFS、OCFS2等。</p>
<p>在使用前,用户需要先部署好你所使用的分布式文件系统,并将它mount到所有host相同的目录上,例如将GlusterFS mount到所有host的/glusterfs_dir目录中。在添加主存储时,选择类型“SharedMountPoint”并输入对应目录绝对路径即可,如图:</p>
<blockquote><p>我们建议用户把mount分布式文件系统的命令放到每个host的/etc/rc.local或/etc/fstab当中,以避免host重启后,分布式文件系统没有挂载的情况。</p></blockquote>
<p><img src="/images/1.2/smp.png" class="center-img img-responsive"></p>
<h3 id="database">3. 数据库定时备份</h3>
<p>在1.2版本中,我们提供了一个新的命令<code>zstack-ctl dump_mysql</code>为用户备份ZStack的数据库:</p>
<pre><code> [root@172-20-12-46 ~]# zstack-ctl dump_mysql -h
usage: zstackctl dump_mysql [-h] [--file-name FILE_NAME]
[--keep-amount KEEP_AMOUNT]
optional arguments:
-h, --help show this help message and exit
--file-name FILE_NAME
The filename you want to save the database, default is
'zstack-backup-db'
--keep-amount KEEP_AMOUNT
The amount of backup files you want to keep, older
backup files will be deleted, default number is 60
</code></pre>
<p>在使用zstack all-in-one安装包安装后,我们会默认建立一个<code>crontab</code>任务定时备份数据库,其设置为:</p>
<pre><code>30 0,12 * * * zstack-ctl dump_mysql --keep-amount 14
</code></pre>
<p>用户可以用<code>crontab -l</code>的命令查看,或用<code>crontab -e</code>修改。</p>
<h3 id="cachemode">5. KVM cache mode选项</h3>
<p>在1.2版本中,用户可以通过修改全局设置的来指定启动云主机时,KVM对云盘使用的缓存模式。支持三种模式:</p>
<ul>
<li>none:云主机不使用物理机的页面缓存,直接访问存储,不带cache。<strong>默认模式</strong></li>
<li>writethrough:物理机的页面缓存工作在透写模式,数据完全写入云主机存储设备后,才返回成功。</li>
<li>writeback:云主机使用了物理机的页面缓存机制,数据写入物理机页面缓存即报告给云主机返回成功。</li>
</ul>
<p>KVM cache mode的具体解释可以参考<a href="https://www.ibm.com/support/knowledgecenter/linuxonibm/liaat/liaatbpkvmguestcache.htm">这篇文章</a>。</p>
<p>要修改该选项,可以使用UI:</p>
<p><img src="/images/1.2/cachemode.png" class="center-img img-responsive"></p>
<p>或命令行:</p>
<pre><code>&gt;&gt;UpdateGlobalConfig category=kvm name=vm.cacheMode value=writethrough
</code></pre>
<h3 id="userdata">6. AWS EC2模式Userdata支持</h3>
<p>在1.0版本中,我们加入了对userdata的支持,使用的是CloudStack默认,用户需要修改cloud-init配置文件才能使用。在1.2版本中,我们将userdata的支持方式换成了AWS EC2模式,即云主机操作系统可以通过169.254.169.254这个IP地址获得userdata。该模式是cloud-init的默认模式,用户只需安装cloud-init包,无需修改任何配置就可以直接使用。此外,用户也可以从Ubuntu和Centos的官方网站上下载预装cloud-init的镜像直接使用。</p>
<h3 id="systemd">7. Systemd支持</h3>
<p>在1.2版本中,我们加入了对systemd的支持,用户可以通过<code>systemctl</code>来控制zstack管理节点的生命周期。这同时修复了安装了zstack管理节点关机慢的问题。</p>
<p><img src="/images/1.2/systemd.png" class="center-img img-responsive"></p>
<h3 id="install">8. 安装</h3>
<p>你可以通过下面方式安装:</p>
<pre><code> wget http://download.zstack.org/releases/1.2/1.2.0/zstack-installer-1.2.0.bin
bash zstack-installer-1.2.0.bin -R aliyun
</code></pre>
<blockquote><p>这里<code>-R aliyun</code>参数指定使用阿里云的源进行安装,你也可以使用<code>-R 163</code>使用网易的源。我们推荐使用阿里云的源</p></blockquote>
<h3 id="offlineinstall">9. 离线安装</h3>
<p>针对内网用户,以及访问Internet速度较慢的用户.ZStack 1.2 提供了离线安装方式.