aix学习笔记
1.lsvg -l
2.命令用来扩展系统磁盘分区
#smitty jfs2
或
#chfs -a size=20000M /home
#chfs -a size+=1G /home
3.建立系统镜像
#smitty extendvg 扩展rootvg,将hdisk1加入到rootvg中
#smittyty mirrorvg 做镜像,对所选择的rootvg做镜像,选中要求的两块硬盘,按回车开始镜像。
4. 配置网络
#smitty tcpip
#smitty mktcpip
5.添加物理卷组
#smitty vg 添加共享VG,选择Add a Volume Group
6.添加逻辑卷组
#smitty lv 选择Add a Logical Volume
7. 为逻辑卷建立文件系统
#smitty jfs2 选择第二项Add an Enhanced Journaled File System on Previously Defined Logical Volume。
8.卷组导入导出
#smitty exportvg
#smitty importvg
9.安装软件
#smitty installp
选择Install Software
选择安装路径按F4选择,/dev/cd0
在Software to install上按F4键,选择需要安装的软件
将ACCEPT new license agreements?选择为yes,接受新的license,按Enter开始安装
10.配置HACMP
#smitty hacmp
11. 启动或停止HACMP
#smitty clstart 启动ha, 选择两个节点同时启动
#smitty clstop 停止ha,可以选择停止一个节点也可以选择停止两个节点,对于资源组可以选择不同的操作。