Linux GFS安装配置手册.docx
- 文档编号:8801447
- 上传时间:2023-02-01
- 格式:DOCX
- 页数:25
- 大小:2.07MB
Linux GFS安装配置手册.docx
《Linux GFS安装配置手册.docx》由会员分享,可在线阅读,更多相关《Linux GFS安装配置手册.docx(25页珍藏版)》请在冰豆网上搜索。
LinuxGFS安装配置手册
资料编码
产品名称
Linux
使用对象
创业软件工程师
产品版本
5.11
编写部门
系统集成部
资料版本
V1.0
士兰集成
(LinuxGFS安装配置手册)
拟制:
日期:
审核:
日期:
审核:
日期:
批准:
日期:
创业软件股份有限公司
版权所有XX
修订记录
日期
修订版本
描述
作者
2016-12
V1.0
初稿
目录
第1章安装环境确认3
1.1硬件环境3
1.2软件环境3
1.3安装平台信息3
1.4外接磁盘规划3
1.5用户信息3
第2章环境准备4
2.1exsi安装4
2.2创建vm虚拟机8
2.3操作系统安装12
2.4安装oracleclient12
第3章Linux安装gfs14
3.1配置yum安装14
3.2安装gfs16
3.3启动服务20
3.4设置服务自动启动22
3.5格式化磁盘并mount到目录24
第1章
安装环境确认
1.1硬件环境
HPBL460G9
EMC存储
1.2软件环境
操作系统平台:
Redhat5.11
1.3安装平台信息
主机名
IP地址
子网掩码
备注
F8PLODAP1
172.18.13.42
255.255.255.0
节点1的公用IP
F8PLODAP2
172.18.13.43
255.255.255.0
节点2的公用IP
VIP
172.18.13.41
255.255.255.0
VIP
1.4外接磁盘规划
LUN号(ASM挂载方式)
大小
用途
备注
Lun1(normal)
1024G
/data01
1.5用户信息
用户信息
用途
备注
root
操用系统
root角色(两节点密码必须相同)
oracle
安装Oracle客户端
第2章环境准备
2.1exsi安装
开机做好阵列,选择从安装介质启动
按F11继续
输入密码:
P@ssw0rd,密码最少要8位数字或字母,用vsphereclient登录ESXi服务器时,账户名为root,密码为上面所设
按F2进入配置界面
这里只用配置管理网络
无论服务器连接了多少根网线,这里只用配置一个管理IP,至于服务器上跑的虚拟机流量,管理流量的分配,则要在vcenter里指定到对应物理网卡上
配置IPv4地址
这里选择配置静态IP地址
IP:
172.18.19.81
子网掩码:
255.255.255.0
网关:
172.18.19.254
这里网关按现有网络环境的网关来配置,否则将无法远程连接管理
网卡选择
配置完成后,退出保存,至此需要在服务器上的配置全部完成,后面可以全程远程操作
2.2创建vm虚拟机
登录vmware管理机,点击创建虚拟机
选择创建类型,点击下一步
输入虚拟机主机名,操作系统类型
选择存储
分配虚拟机使用的硬件资源。
点击完成。
网卡的配置
2.3操作系统安装
具体操作系统安装可以参考文件安装
注意安装软件选择定制要安装的软件包,选择全部安装
2.4安装oracleclient
1、新建oracle帐户
groupadd-g1001oinstallgroupadd-g1002dbauseradd-goinstall-Gdba-u1001oracle-pOracle123
mkdir-p/oracle/app/oracle/product/11.2.0/client_1
chown-Roracle:
oinstall/oracle/app/oracle
mkdir-p/oracle/app/oraInventory
chmod-R775/oracle/
unzipp13390677_112040_Linux-x86-64_4of7.zip
#rpm-ivhoracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm
Preparing…###########################################[100%]
1:
oracle-instantclient11.###########################################[100%]
#rpm-ivhoracle-instantclient11.2-devel-11.2.0.4.0-1.x86_64.rpm
Preparing…###########################################[100%]
1:
oracle-instantclient11.###########################################[100%]
#rpm-ivhoracle-instantclient11.2-sqlplus-11.2.0.4.0-1.x86_64.rpm
Preparing…###########################################[100%]
1:
oracle-instantclient11.###########################################[100%]
$vim/home/oracle/.bash_profile
ORACLE_HOME="/usr/lib/oracle/11.2/client64"
PATH=$PATH:
$ORACLE_HOME/bin
exportPATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:
/usr/lib:
/usr/local/lib
exportLD_LIBRARY_PATH
第3章Linux安装gfs
3.1配置yum安装
cat/etc/yum.repos.d/rhel-media.repo
[rhel-media]
name=SoftwareOracleLinux5.11
baseurl=file:
///mnt/cdrom/Server/
gpgcheck=0
enabled=1
[rhel-cluster]
name=SoftwareOracleLinux5.11
baseurl=file:
///mnt/cdrom/Cluster/
gpgcheck=0
enabled=1
[rhel-clusterstorage]
name=SoftwareOracleLinux5.11
baseurl=file:
///mnt/cdrom/ClusterStorage/
gpgcheck=0
enabled=1
#mkdir/mnt/cdrom
#mount/dev/cdrom/mnt/cdrom
mount:
blockdevice/dev/cdromiswrite-protected,mountingread-only
#yummakecache
Loadedplugins:
product-id,security,subscription-manager
ThissystemisnotregisteredtoRedHatSubscriptionManagement.Youcanusesubscription-managertoregister.
rhel-cluster|1.5kB00:
00
rhel-cluster/filelists|117kB00:
00
rhel-cluster/other|44kB00:
00
rhel-cluster/group|104kB00:
00
rhel-cluster/primary|6.4kB00:
00
rhel-clusterstorage|1.5kB00:
00
rhel-clusterstorage/filelists|13kB00:
00
rhel-clusterstorage/other|48kB00:
00
rhel-clusterstorage/group|108kB00:
00
rhel-clusterstorage/primary|8.7kB00:
00
rhel-media|1.5kB00:
00
rhel-media/filelists|3.0MB00:
03
rhel-media/other|9.4MB00:
00
rhel-media/group|1.0MB00:
00
rhel-media/primary|945kB00:
00
rhel-cluster32/32
rhel-clusterstorage39/39
rhel-media3363/3363
rhel-cluster32/32
rhel-clusterstorage39/39
rhel-media3363/3363
rhel-cluster32/32
rhel-clusterstorage39/39
rhel-media3363/3363
MetadataCacheCreated
3.2安装gfs
#yuminstallrgmanager,lvm2-cluster,gfs2-utils,ccs-y
Loadedplugins:
product-id,security,subscription-manager
ThissystemisnotregisteredtoRedHatSubscriptionManagement.Youcanusesubscription-managertoregister.
rhel-cluster|1.5kB00:
00
rhel-clusterstorage|1.5kB00:
00
rhel-media|1.5kB00:
00
SettingupInstallProcess
Packagecman-2.0.115-124.el5.x86_64alreadyinstalledandlatestversion
Packagergmanager-2.0.52-54.el5.x86_64alreadyinstalledandlatestversion
Packagelvm2-cluster-2.02.88-10.el5.x86_64alreadyinstalledandlatestversion
Packagesystem-config-cluster-1.0.57-17.noarchalreadyinstalledandlatestversion
ResolvingDependencies
-->Runningtransactioncheck
--->Packagecluster-cim.x86_640:
0.12.1-11.el5settobeupdated
-->ProcessingDependency:
tog-pegasusforpackage:
cluster-cim
--->Packageluci.x86_640:
0.12.2-81.el5settobeupdated
-->ProcessingDependency:
python-imagingforpackage:
luci
--->Packagericci.x86_640:
0.12.2-81.el5settobeupdated
-->Runningtransactioncheck
--->Packagepython-imaging.x86_640:
1.1.5-7.el5settobeupdated
-->ProcessingDependency:
tkinterforpackage:
python-imaging
--->Packagetog-pegasus.x86_642:
2.11.0-3.el5settobeupdated
-->ProcessingDependency:
libNamespaceProvider.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegserver.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegcliutils.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libCertificateProvider.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpeggeneral.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegclient.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libProviderRegistrationProvider.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegauthentication.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegservice.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpeggetoopt.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libDefaultProviderManager.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegexportserver.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegprovidermanager.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegpmservice.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libUserAuthProvider.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegprovider.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libInteropProvider.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegqueryexpression.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegwql.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libConfigSettingProvider.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegconfig.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegcompiler.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegrepository.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libCIMQueryCapabilitiesProvider.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpeghandlerservice.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegquerycommon.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpeguser.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegindicationservice.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegslp.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegcql.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegcommon.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegpmrouter.so.1()(64bit)forpackage:
tog-pegasus
-->ProcessingDependency:
libpegprm.so.1()(64bit)forpackage:
tog-pegasus
-->Runningtransactioncheck
--->Packagetkinter.x86_640:
2.4.3-56.el5settobeupdated
-->ProcessingDependency:
libTix8.4.so()(64bit)forpackage:
tkinter
--->Packagetog-pegasus-libs.x86_642:
2.11.0-3.el5settobeupdated
-->Runningtransactioncheck
--->Packagetix.x86_641:
8.4.0-11.fc6settobeupdated
-->FinishedDependencyResolution
DependenciesResolved
====================================================================================================================================================
PackageArchVersionRepositorySize
====================================================================================================================================================
Installing:
cluster-cimx86_640.12.1-11.el5rhel-cluster168k
lucix86_640.12.2-81.el5rhel-cluster26M
riccix86_640.12.2-81.el5rhel-cluster1.2M
Installingfordependencies:
python-imagingx86_641.1.5-7.el5rhel-media406k
tixx86_641:
8.4.0-11.fc6rhel-media333k
tkinterx86_642.4.3-56.el5rhel-media282k
tog-pegasusx86_642:
2.11.0-3.el5rhel-media2.0M
tog-pegasus-libsx86_642:
2.11.0-3.el5rhel-media2.7M
TransactionSummary
====================================================================================================================================================
Install8Package(s)
Upgrade0Package(s)
Totaldownloadsize:
33M
DownloadingPackages:
-------------------------------------------------------------------------------------------------------------------------------------------------
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Linux GFS安装配置手册 GFS 安装 配置 手册