没有合适的资源?快使用搜索试试~ 我知道了~
AMS cluster 三网卡安装手册.pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 165 浏览量
2023-08-02
18:23:00
上传
评论
收藏 497KB PDF 举报
温馨提示
试读
16页
AMS cluster 三网卡安装手册.pdf
资源推荐
资源详情
资源评论
AMS cluster 三网卡安装手册
(一)配置文件系统:
在安装服务器操作系统的硬盘分区时,会预留一个分区给数据库使用,建议预留硬盘的
大约 40%的空间,安装操作系统后,需要把这个预留的区域转换成 zfs filesystem。具体方
法如下:
(1)硬盘分区时,增加一个/asb 的分区(占硬盘空间 40%大小)。
(2)系统安装完成后,使用 umount 命令去掉这个分区: umout /asb
(3)然后修改 etc 目录下 vfstab 文件,将对应的/asb 的分区那一行前加#注释掉。
(4)最后创建 zfs 文件分区:zpool create -f amspool /dev/dsk/c0t0d0s3
其中 c0t0d0s3 是硬盘原来分给/asb 的。这个要根据当时安装的硬盘分区给定。
在/etc/vfstab 中可查看:
如图所示 /asb 为 c0t0d0s3 (第 3 步中已将此行注释掉)
amspool 是 zfs 文件分区的名字,这个名字可以自己设定,只要和现有的文件目录不
重名即可。
在创好 zfs 分区后,将 AMS 安装镜像拷贝到该分区下,准备开始安装;
(二)服务器 ip 地址规划
其中,100.100.100.1 和 100.100.100.2 为 AMS 主备服务器内部通信的 ip 地址。
内部通信用的两个地址可以采用网线直连的方式。可以自己设置私网 IP,
设置时务必提前了解下局方网络规划,避免与规划的私网地址冲突。
10.107.255.18/19 为服务器外网地址,134.207.16.82/83 为服务器内网地址,
均允许访问 AMS。
(三)Host a 安装:
bash-3.00# cd amspool/
bash-3.00# ls
ams-9.0.10.0-108719-solaris-sparc.bin database
shared
bash-3.00# ./ams-9.0.10.0-108719-solaris-sparc.bin --activate
Checking OS and version ...
OK.
Checking SSH (ssh, ssh-keygen, ssh-keyscan, scp, sftp) ...
SSH tools found in /usr/bin
Enter the path to the SSH tools [ /usr/bin (default) ]:
The SSH tools path is /usr/bin
Enter the path to the 'sshd_config' file [ /etc/ssh (default) ]:
The 'sshd_config' file path is /etc/ssh
OK.
Enter the site name that uniquely identifies the cluster (no space allowed):
5520AMS
---------------------------------host a 和 host b 的 site name 需要一致
Is this correct [ no (default) | yes ]? yes
Is this a simplex (i.e. standalone) system [ yes (default) | no ]? no
Enter the role of this server ( default role is application server):
[ 1 ] Application server
[ 2 ] Data server
[ 3 ] Application + Data server
3
Enter the local IP address to exchange server cluster information:
10.107.255.18
100.100.100.1
134.207.16.82
IP address: 100.100.100.1
(服务器 a 的通信地址)
Is this correct [ no (default) | yes ]? yes
Enter the multicast IP address to exchange application information [ 225.1.2.5
(default) ]:
Enter the multicast IP address to exchange server information [ 225.1.2.6 (default) ]:
Note: Data server IP addresses should be reachable via the same network
interface as the one used to exchange cluster information
100.100.100.2
(服务器 b 的通信地址)
Is this correct [ no (default) | yes ]? yes
Will the local data server be the preferred one [ no (default) | yes ]? yes
--------------------------------设置 host a 的 data server 作为 master
This machine has multiple Network Interface Cards (NIC).
Enter the IP address of the NIC on which GUI clients are allowed to connect:
10.107.255.18
100.100.100.1
134.207.16.82
IP address: 10.107.255.18
(服务器 a 的外网登录地址)
Do you want to add another one [ yes (default) | no ]? yes
10.107.255.18
100.100.100.1
134.207.16.82
IP address: 134.207.16.82
(服务器 a 的内网登录地址)
Do you want to add another one [ yes (default) | no ]? no
In which top directory do you want to install the software [ /opt (default) ]?
In which top directory do you want to store the local data files [ /var/opt (default) ]?
In which top directory (ZFS filesystem) do you want to store the shared data files ?
/amspool
-------------------------zpool 的路径
In which top directory (ZFS filesystem) do you want to put the database storage ?
/amspool
-------------------------zpool 的路径
Enter the password for MySQL root user (no space allowed) [ mysql (default) ]:
输入数据库密码 如 123456
Confirm the password for MySQL root user:
再输入一次
Enter the password for MySQL replication user (no space allowed) [ mysql (default) ]:
输入数据库密码 如 123456
Confirm the password for MySQL replication user:
再输入一次
Are you sure you want to install [ no (default) | yes ]? yes
Checking diskspace ...
OK.
Extracting distribution ...
done
Copying files
/opt/ams/software/ams_install_tmp_dir.1477/bin/tar: Record size = 10 blocks
.........................................................................................................................................
.........................................................................................................................................
.........................................................................................................................................
.........................................................................................................................................
........................................................................................
Preparing installation scripts
Setting execute flag and run dos2unix on all UNIX scripts
Run dos2unix on all .sql , .properties and .txt files
Installing AMS System
Adding group amssys
Creating group amssys
Adding group amssftp
Creating group amssftp
Adding group amsftp
Creating group amsftp
Creating user amssys
Creating user amssftp
Creating user amsftp
Installing MySQL
Untarring MySQL
MySQL host name: localhost
Copying JBoss data directory...
Updating AMS Version in Client Distribution HTML
generating SSH DSA KEY for user amssys
Generating public/private dsa key pair.
Created directory '/var/opt/ams/users/amssys/.ssh'.
剩余15页未读,继续阅读
资源评论
hhappy0123456789
- 粉丝: 64
- 资源: 5万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功