Vertica安装手册.docx
- 文档编号:28746851
- 上传时间:2023-07-19
- 格式:DOCX
- 页数:40
- 大小:288.23KB
Vertica安装手册.docx
《Vertica安装手册.docx》由会员分享,可在线阅读,更多相关《Vertica安装手册.docx(40页珍藏版)》请在冰豆网上搜索。
Vertica安装手册
1.Installputty,fashfxptools
2.Uploadcluster_run_all_nodestoservers,
/root
Chmod755
3.Logontoserver1,Configurebashprofile
[root@dw01vtca~]#vi.bash_profile
exportNODE_LIST="dw01vtcadw02vtcadw03vtca"
⏹Re-logonsothatitworks
⏹Echo$NODE_LIST
4.Configure/etc/hosts,allnodes
192.168.40.111dw01vtca
192.168.40.112dw02vtca
192.168.40.113dw03vtca
172.16.4.11vertica01
172.16.4.12vertica02
172.16.4.13vertica03
5.Passwordlessssh
[root@dw01vtca~]#ssh-keygen-trsa
Generatingpublic/privatersakeypair.
Enterfileinwhichtosavethekey(/root/.ssh/id_rsa):
Enterpassphrase(emptyfornopassphrase):
Entersamepassphraseagain:
Youridentificationhasbeensavedin/root/.ssh/id_rsa.
Yourpublickeyhasbeensavedin/root/.ssh/id_rsa.pub.
Thekeyfingerprintis:
43:
13:
78:
92:
ce:
cf:
39:
da:
cf:
c7:
81:
fb:
c7:
2d:
eb:
47root@dw01vtca
Thekey'srandomartimageis:
+--[RSA2048]----+
|o.|
|+..|
|ooo|
|o..|
|oS..|
|=...E|
|o.ooo|
|....o+o|
|.oo.oo+|
+-----------------+
[root@dw01vtca~]#ssh-copy-id-i~/.ssh/id_rsa.pubroot@dw02vtca
Theauthenticityofhost'dw02vtca(192.168.40.112)'can'tbeestablished.
RSAkeyfingerprintisce:
9a:
77:
6c:
32:
3e:
c3:
e4:
f0:
87:
b3:
d2:
ca:
42:
b2:
ef.
Areyousureyouwanttocontinueconnecting(yes/no)?
yes
Warning:
Permanentlyadded'dw02vtca'(RSA)tothelistofknownhosts.
root@dw02vtca'spassword:
Nowtryloggingintothemachine,with"ssh'root@dw02vtca'",andcheckin:
.ssh/authorized_keys
tomakesurewehaven'taddedextrakeysthatyouweren'texpecting.
[root@dw01vtca~]#
[root@dw01vtca~]#
[root@dw01vtca~]#ssh-copy-id-i~/.ssh/id_rsa.pubroot@dw03vtca
Theauthenticityofhost'dw03vtca(192.168.40.113)'can'tbeestablished.
RSAkeyfingerprintis63:
01:
e1:
92:
ad:
f6:
0e:
ba:
ba:
fc:
af:
07:
34:
0d:
6d:
1e.
Areyousureyouwanttocontinueconnecting(yes/no)?
yes
Warning:
Permanentlyadded'dw03vtca'(RSA)tothelistofknownhosts.
root@dw03vtca'spassword:
Nowtryloggingintothemachine,with"ssh'root@dw03vtca'",andcheckin:
.ssh/authorized_keys
tomakesurewehaven'taddedextrakeysthatyouweren'texpecting.
[root@dw01vtca~]#
[root@dw01vtca~]#
[root@dw01vtca~]#ssh-copy-id-i~/.ssh/id_rsa.pubroot@vertica02
Theauthenticityofhost'vertica02(172.16.4.12)'can'tbeestablished.
RSAkeyfingerprintisce:
9a:
77:
6c:
32:
3e:
c3:
e4:
f0:
87:
b3:
d2:
ca:
42:
b2:
ef.
Areyousureyouwanttocontinueconnecting(yes/no)?
yes
Warning:
Permanentlyadded'vertica02,172.16.4.12'(RSA)tothelistofknownhosts.
Nowtryloggingintothemachine,with"ssh'root@vertica02'",andcheckin:
.ssh/authorized_keys
tomakesurewehaven'taddedextrakeysthatyouweren'texpecting.
[root@dw01vtca~]#ssh-copy-id-i~/.ssh/id_rsa.pubroot@vertica03
Theauthenticityofhost'vertica03(172.16.4.13)'can'tbeestablished.
RSAkeyfingerprintis63:
01:
e1:
92:
ad:
f6:
0e:
ba:
ba:
fc:
af:
07:
34:
0d:
6d:
1e.
Areyousureyouwanttocontinueconnecting(yes/no)?
yes
Warning:
Permanentlyadded'vertica03,172.16.4.13'(RSA)tothelistofknownhosts.
Nowtryloggingintothemachine,with"ssh'root@vertica03'",andcheckin:
.ssh/authorized_keys
tomakesurewehaven'taddedextrakeysthatyouweren'texpecting.
[root@dw01vtca~]#
[root@dw01vtca~]#
[root@dw01vtca~]#
[root@dw01vtca~]#ssh-copy-id-i~/.ssh/id_rsa.pubroot@vertica01
Theauthenticityofhost'vertica01(172.16.4.11)'can'tbeestablished.
RSAkeyfingerprintis81:
04:
18:
fa:
1a:
24:
16:
44:
99:
f6:
40:
18:
91:
e6:
f5:
a4.
Areyousureyouwanttocontinueconnecting(yes/no)?
yes
Warning:
Permanentlyadded'vertica01,172.16.4.11'(RSA)tothelistofknownhosts.
root@vertica01'spassword:
Nowtryloggingintothemachine,with"ssh'root@vertica01'",andcheckin:
.ssh/authorized_keys
tomakesurewehaven'taddedextrakeysthatyouweren'texpecting.
[root@dw01vtca~]#
[root@dw01vtca~]#
[root@dw01vtca~]#ssh-copy-id-i~/.ssh/id_rsa.pubroot@dw01vtca
Theauthenticityofhost'dw01vtca(192.168.40.111)'can'tbeestablished.
RSAkeyfingerprintis81:
04:
18:
fa:
1a:
24:
16:
44:
99:
f6:
40:
18:
91:
e6:
f5:
a4.
Areyousureyouwanttocontinueconnecting(yes/no)?
yes
Warning:
Permanentlyadded'dw01vtca,192.168.40.111'(RSA)tothelistofknownhosts.
Nowtryloggingintothemachine,with"ssh'root@dw01vtca'",andcheckin:
.ssh/authorized_keys
tomakesurewehaven'taddedextrakeysthatyouweren'texpecting.
[root@dw01vtca~]#
6.Hardwarecheck
7.HOST–VerticaDev(192.168.40.111-113)
1.1.BeforeInstall
1.1.1.Linuxinstall
[root@dw01vtca~]#./cluster_run_all_nodes"hostname;cat/etc/issue"
dw01vtca
RedHatEnterpriseLinuxServerrelease6.5(Santiago)
Kernel\ronan\m
dw02vtca
RedHatEnterpriseLinuxServerrelease6.5(Santiago)
Kernel\ronan\m
dw03vtca
RedHatEnterpriseLinuxServerrelease6.5(Santiago)
Kernel\ronan\m
1.1.2.RAM
[root@dw01vtca~]#./cluster_run_all_nodes"hostname;grepMemTotal/proc/meminfo"
dw01vtca
MemTotal:
65716492kB
dw02vtca
MemTotal:
65716492kB
dw03vtca
MemTotal:
65716492kB
1.1.3.SWAPSpace
[root@dw01vtca~]#./cluster_run_all_nodes"hostname;grepSwapTotal/proc/meminfo"
dw01vtca
SwapTotal:
67108600kB
dw02vtca
SwapTotal:
67108600kB
dw03vtca
SwapTotal:
67108600kB
1.1.4.DiskStorageLocation
Data:
/data/verticadb/data
Catology:
/data/verticadb/catalog
1.1.5.Firewall
#################################################################
Firewallstatus#################################################################
[root@dw01vtca~]#./cluster_run_all_nodes"hostname;serviceiptablesstatus"
dw01vtca
iptables:
Firewallisnotrunning.
dw02vtca
iptables:
Firewallisnotrunning.
dw03vtca
iptables:
Firewallisnotrunning.
[root@dw01vtca~]#./cluster_run_all_nodes"hostname;/sbin/chkconfig--listiptables"
dw01vtca
iptables0:
off1:
off2:
off3:
off4:
off5:
off6:
off
dw02vtca
iptables0:
off1:
off2:
off3:
off4:
off5:
off6:
off
dw03vtca
iptables0:
off1:
off2:
off3:
off4:
off5:
off6:
off
#################################################################
stopFirewallifitisopen#################################################################
/etc/init.d/iptablesstop
[root@BASS-MPP-040~]#./cluster_run_all_nodes"serviceiptablesstop"
iptables:
SettingchainstopolicyACCEPT:
natmanglefilter[OK]
iptables:
Flushingfirewallrules:
[OK]
iptables:
Unloadingmodules:
[OK]
[root@BASS-MPP-040~]#
1.1.6.Hostname
Setupthe/etc/hostsfileoneachnodeinthecluster.
Makesurethatthe/etc/hostsfileincludesallofthehoststhatbecomepartofthecluster.Forexample,ifthehostsarenamedhost01,host02,host03,andhost04,the/etc/hostsfileoneachhostlookslikethis:
[root@hzvertica1software]#vi/etc/hosts
#Donotremovethefollowingline,orvariousprograms
#thatrequirenetworkfunctionalitywillfail.
127.0.0.1localhost.localdomainlocalhost
:
:
1localhost6.localdomain6localhost6
10.21.38.21hzvertica1
10.21.38.22hzvertica2
10.21.38.23hzvertica3
10.21.38.24hzvertica4
192.168.10.11vertica01
192.168.10.12vertica02
192.168.10.13vertica03
192.168.10.14vertica04
vi/etc/hosts
192.168.40.111dw01vtca
192.168.40.112dw02vtca
192.168.40.113dw03vtca
172.16.4.11vertica01
172.16.4.12vertica02
172.16.4.13vertica03
#####################################
1.1.7.SSH
Referto…..
1.1.8.TIMEZONE-TZvariable
[root@hzvertica1~]#vi/etc/sysconfig/clock
#TheZONEparameterisonlyevaluatedbysystem-config-date.
#Thetimezoneofthesystemisdefinedbythecontentsof/etc/localtime.
ZONE="Asia/Shanghai"
####TosettheTZvariable,edit/etc/profileor/root/.bashrcandaddthefollowingline:
#####
exportTZ=Asia/Shanghai
[root@dw01vtca~]#./cluster_run_all_nodes"hostname;echo$TZ"
dw01vtca
Asia/Shanghai
dw02vtca
Asia/Shanghai
dw03vtca
Asia/Shanghai
1.1.9.NetworkTimeProtocolDaemon(NTPD)
[root@dw01vtca~]#./cluster_run_all_nodes"hostname;date"
dw01vtca
FriJul313:
05:
34CST2015
dw02vtca
FriJul313:
05:
34CST2015
dw03vtca
FriJul313:
05:
34CST2015
1.1.10.Locallanguage
[root@dw01vtca~]#vi/etc/profile
AddexportLANG=en_US.UTF-8
[root@dw01vtca~]#./cluster_run_all_nodes"hostname;echo$LANG"
dw01vtca
en_US.UTF-8
dw02vtca
en_US.UTF-8
dw03vtca
en_US.UTF-8
[root@dw01vtca~]#
1.2.GeneralOperatingSystemConfiguration-AutomaticallyConfiguredbytheInstaller(withInstall)
1.3.GeneralOperatingSystemConfiguration–ManualConfiguration
1.3.1.DiskReadahead
./cluster_run_all_nodes"hostname;/sbin/blockdev--setra2048/dev/sda"
./cluster_run_all_nodes"hostname;echo'/sbin/blockdev--setra2048/dev/sda'>>/etc/rc.local"
1.3.2.SELINUX
[root@dw02vtca~]#vi/etc/selinux/config
[root@dw02vtca~]##ThisfilecontrolsthestateofSELinuxonthesystem.
#SELINUX=cantakeoneofthesethreevalues:
#enforcing-SELinuxsecuritypolicyisenforced.
#permissive-SELinuxprintswarningsinsteadofenforcing.
#disabled-NoSELinuxpolicyisloaded.
#SELINUX=enforcing
SELINUX=disabled
#SELINUXTYPE=cantakeoneofthesetwovalues:
#targeted-Targetedprocessesareprotected,
#mls-MultiLevelSecurityprotection.
SELINUXTYPE=targeted
[root@dw01vtca~]#./cluster_run_all_nodes"hostname;cat/etc/selinux/config|grepSELINUX="
dw01vtca
#SELINUX=cantakeoneofthesethreevalues:
#SELINUX=enforcing
SELINUX=disabled
dw02vtca
#SELINUX=cantakeoneofthesethreevalues:
#SELINUX=enforcing
SELINUX=disabled
dw03vtca
#SELINUX=cantakeoneofthesethreevalues:
#SELINUX=enforcing
SELINUX=disabled
[root@dw01vtca~]#
1.3.3.CPUFrequencyScaling
[root@dw01vtca~]#./cluster_run_all_
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Vertica 安装 手册
![提示](https://static.bdocx.com/images/bang_tan.gif)