- 浏览: 2951156 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (2529)
- finance (1459)
- technology (218)
- life (343)
- play (150)
- technology-component (0)
- idea (6)
- house (74)
- health (75)
- work (32)
- joke (23)
- blog (1)
- amazing (13)
- important (22)
- study (13)
- Alternative (0)
- funny (8)
- stock_technology (12)
- business (16)
- car (21)
- decorate (4)
- basketball (2)
- English (16)
- banker (1)
- TheBest (1)
- sample (2)
- love (13)
- management (4)
最新评论
-
zhongmin2012:
BSM确实需要实践,标准ITIL服务流程支持,要做好,需要花费 ...
BSM实施之前做什么 -
shw340518:
提示楼主,有时间逻辑bug:是你妈二十那年写的 那会儿连你爹都 ...
80后辣妈给未来儿子的信~我的儿,你也给我记住了~~~ -
guoapeng:
有相关的文档吗?
it项目管理表格(包含146个DOC文档模板) -
solomon:
看到的都是 这种 CTRL+C 和 CTRL+V 的文章, ...
Designing a website with InfoGlue components -
wendal:
恩, 不错. 有参考价值
Designing a website with InfoGlue components
this file was forwarded from this addess
http://www.verycd.com/groups/netshare/343861.topic
#disable selinux
vi /etc/selinux/conf
set SELINUX=disabled
已经被 HP 收购的 Opsware 安装文件。
以下为安装文档
使用本文档可实现基于RHEL3
AS的Opsware(单节点)的安装。
1.2 软件版本
软 件 版 本
Red Hat Linux
Enterprise 3 AS 32 bit x86 Updata8
Opsware Primary 34.0.6037.0
Opsware
Upload 34.0.6037.0
1.3 安装介质
opsware_34.0.6037.0-
primary.iso,opsware_34.0.6037.0-upload.iso
和opswcoaltk-40-40-1.i386.rpm
/export
存放安装介质
$mkdir /export/primary
$mkdir /export/upload
$mount –o
loop /export/opsware_34.0.6037.0-primary.iso /export/primary
$mount
–o loop /export/opsware_34.0.6037.0-upload.iso /export/upload
每次重启的时
候,需要手动 mount 两个ISO 文件
或者编辑 /etc/fstab 添加
/export/opsware_34.0.6037.0-primary.iso
/export/primary iso9660 loop 0 0
/export/opsware_34.0.6037.0-upload.iso
/export/upload iso9660 loop 0 0
2 安装Opsware前准备工作
2.1 安装所需的包
at
libstdc++-devel glibc-headers tcl
compat-db glibc-kernheaders
glibc-devel xinetd
compat-libstdc++ nfs-utils iptables
XFree86-libs
coreutils ntp kernel-source XFree86-libs-data
cpp
patch libcap XFree86-Mesa-libGL
expat patchutils
libxml2-python unzip
gcc sharutils libstdc++ zip
strace
ncompress (contains uncompress utility)
查询命令 安装命令
rpm –qa
| grep xxx rpm –ivh xxx
以上的包如果没有默认安装,在AS3 的安装盘中都能找到。
2.2
卸载以下的包
samba apache rsync httpd tftp dhcp
查询命令
卸载命令
rpm –qa | grep xxx rpm -e --nodeps xxx
2.3 系统环境检查
2.3.1
运行级别
修改 /etc/inittab ,将第一项运行级别改为3,默认应为5,保存并退出。
2.3.2 系统时间设置
Copy
or link /usr/share/zoneinfo/UTC to /etc/localtime
Make sure that
/etc/sysconfig/clock contains the following lines:
ZONE="UTC"
UTC=true
2.3.3 安装OPSWCoalTk包
安装opsware的包
$rpm –ivh
/export/opswcoaltk-40-40-l.i386.rpm
$cd /opt/OPSWCoalTk/opsware_32.f
$cp opsware_32.f.conf /var/tmp/coal.conf
$vi /var/tmp/coal.conf
如
下,修改 NAME,XXXX.com,IP地址及IP网关,IP1-IP2的范围
############################################################
Sequence:
sas:32.f
Server Configuration
Hostname: NAME
Domain: XXXX.com
NetDevice: eth0
IP: IP
Netmask: 255.255.255.0
Gateway: IP网关
DhcpPool:
IP1-IP2
NtpServer: us.pool.ntp.org
Opsware Configuration
Major Version: opsware_32.f
Minor Version: 2198.0
Media Type: DVD
Media Location: /export/primary
SasCore Content: /export/upload
Content
DetRpm:
/export/det-32_f_748-20-20-1.i386.rpm
## SE's, please ignore the
Treadmill Configuration section
Treadmill Configuration
OCLI: /export/ocli.tar
TreadmillRpm:
/export/treadmill-25.0.2.29.i386.rpm
LDAPRpm:
/export/openldap-clients-2.0.27-17.i386.rpm
OpswareTest
Package: /export/OpswareTest-25d.tar
然后运行四遍
$/opt/OPSWCoalTk/tools/InstallAll /var/tmp/coal.conf
在 /var/tmp
下会有以下四个文件
•stage1-StageNetworkConfig
•stage2-StageDnsConfig
•stage3-
•stage4-
2.3.4
修改 hosts 文件
修改 /etc/hosts 文件,如下
##################################################
127.0.0.1
localhost
18.8.1.250 NAME.XXXX.com
18.8.1.250 truth.hysec.com
truth
## Begin Opsware Slice Hostnames
18.8.1.250 spin.hysec.com
spin
18.8.1.250 twist.hysec.com twist
18.8.1.250
buildmgr.hysec.com buildmgr
18.8.1.250 occ.hysec.com occ
## End
Opsware Slice Hostnames
## Begin Opsware Word Way Hostnames
18.8.1.250
theword theword.hysec.com
18.8.1.250 wordcache wordcache.hysec.com
18.8.1.250
way way.hysec.com
18.8.1.250 mmopsw mmopsw.hysec.com
18.8.1.250
mmspin mmspin.hysec.com
## End Opsware Word Way Hostnames
# nas
core ##
#18.9.62.22 NASCORE
##################################################
注
意:NAME,XXXX.com 须与 /var/tmp/coal.conf 的 NAME,XXXX.com 一致
3
Opsware安装
3.1 主程序安装
用root用户登录,进入“/”根目录
$/export/primary/opsware_installer/install_opsware.sh
进
入交互界面:
Welcome to the Opsware Installer. Please select one of the
following installation options:
1 - Multimaster Opsware Core - First
Core
2 - Multimaster Installation: Define New Facility; Export Model
Repository
3 - Multimaster Opsware Core - Subsequent Core
Please
enter a choice from the menu, 'h' for help, 'q' to quit:
选择1
Please
select the component layout mode. In a "typical" install, components
are already bundled together in a pre-defined configuration. "Custom"
install allows you to install components "a la carte."
1 - Typical
Component Layout Mode
2 - Custom Component Layout Mode
Please
select the interview mode from the menu, type 'h' for help, 'q' to quit:
选
择1
Please select the interview mode. Simple mode uses default
values for many of the configuration parameters. Advanced mode allows
you to fully configure the installation.
1 - Simple Interview Mode
2
- Advanced Interview Mode
Please select the interview mode from the
menu, type 'h' for help, 'q' to quit:
选择1
Please select your
database configuration option:
1 - Install Oracle with Opsware
2 -
Use Existing Oracle Database
Please enter a choice from the menu,
press 'h' for help, 'q' to quit:
选择1
在接下来的23个参数中
Parameter 1
of 23 (truth.oaPwd)Please enter the password for the opsware_admin
user. This is the password used to connect to the Oracle database.:
opsware
Parameter 2 of 23 (decrypt_passwd)Please enter the password
for the cryptographic material: opsware
Parameter 6 of 23
(truth.dcSubDom)Please enter the subdomain for this facility (lowercase,
no spaces): XXXX.com
Parameter 9 of 23 (windows_util_loc)Please
enter the directory that contains the Microsoft's utilities (Press
Control-I for list of required files) [/tmp]: /opt/OPSWCoalTk/wintools
Parameter
12 of 23 (mgw_address)Please enter the IP address of the Management
Gateway.: 本机IP
Parameter 21 of 23 (bootagent.host)Please enter the OS
Provisioning Boot Server ip or hostname: 本机IP
Parameter 22 of 23
(twist.nasdata.host)Please enter the hostname or IP address of the NAS
server (Enter "none" if NAS is not installed) [none]: 18.9.62.22
(如果没有NAS则为none)
其余均为默认值,直接回车即可。
All parameters have values.
Do you wish to finish the interview? (y/n): y
Concluding interview.
Interview
complete.
Name of response file to write
[/usr/tmp/oiresponse.slices_master_typical]:
注意:这个配置文件为此次Opsware安装的配
置文件,卸载时需要,保存好!
如果使用默认的保存路径,卸载时可能会覆盖,最好另存一份。
Response file
written to /usr/tmp/oiresponse.slices_master_typical.
Welcome to the
Opsware Installer.
Please select the components to install.
1 (*)
Oracle RDBMS for SAS
2 (*) Model Repository, First Core
3 (*)
Core Infrastructure Components
4 (*) Slice
5 (*) OS
Provisioning Components
Enter a component number to toggle ('a' for
all, 'n' for none).
When ready, press 'c' to continue, or 'q' to
quit.
Selection: a 选择全部模块之后
Selection: c 继续安装
>>>>Installing
preliminary components
....Database with cryptographic material not
found.
Would you like Opsware Installer to generate new database of
cryptographic material? [y/n] y
Invoking OCT, this may take a
while...
>>>>Installing component Oracle RDBMS for
SAS
........................................................................
>>>>Installing
component Model Repository, First Core
…………
>>>>Installing
component Core Infrastructure Components
..................................................................................................................................
>>>>Installing
component Slice
…………
>>>>Installing component OS
Provisioning Components
............................
Opsware
Installer ran successfully.
For more details, please see the
following file:
/var/log/opsware/install_opsware/install_opsware.2008-03-04.04:43:43_verbose.log
####################################################################
WARNING:
to make sure that no sensitive information is left
on this server,
please remove,encrypt or copy to a secure location
the following
files and directories:
-- /var/opt/opsware/install_opsware/resp/*
-- /var/log/opsware/install_opsware/*
-- /var/tmp/*.sh
Also,
please encrypt or store in a secure location the response file
that
you used to install this core.
####################################################################
到此主程序已安装完成
3.2 扩展程序安装
用root用户登录,进入“/”目录
$/export/upload/opsware_installer/install_opsware.sh
-r /usr/tmp/oiresponse.slices_master_typical
与主程序安装相似,但使用主程序的安装配
置文件,将扩展文件安装在主程序下,更新、扩展主程的各项文件。
Welcome to the Opsware Installer.
Please
select the components to install.
1 (*) Software Repository -
Content (install once per mesh)
2 (*) Add OS Provisioning Stage2
Images to Software Repository
Enter a component number to toggle ('a'
for all, 'n' for none).
Selection: a 选择全部之后
Selection: c 继续安装
>>>>Installing
preliminary components
>>>>Installing component Software
Repository - Content (install once per mesh)
>>>>Installing
component Add OS Provisioning Stage2 Images to Software Repository
安
装过程时间较长,监控 tail –f /var/log/opsware/install_opsware/install…_verbose.log
4
Opsware的维护
4.1.1 重启服务器
直接reboot 就可以,但是启动后
$cd /etc/init.d/
$./opsware-sas
status
观察启动情况,性能较好的机器需20分钟以上,与配置的服务多少有直接关系。
########################################################
[root@sascore init.d]# ./opsware-sas status
--------------
verify_ports --------------
(No status to report)
--------------
opswgw-mgw --------------
Verify address 18.8.1.250 is listening on
port 3003: SUCCESS
-------------- opswgw-cgws --------------
Verify
address 18.8.1.250 is listening on port 8085: SUCCESS
--------------
rvrdscript --------------
Verify "rvrd" is running: SUCCESS
--------------
vaultdaemon --------------
Verify "vaultdaemon" running: SUCCESS
--------------
dhcpd --------------
(No status to report)
-------------- spin
--------------
Verify hostname "spin" is listening on port 1004:
SUCCESS
Verify communication with "spin": SUCCESS
--------------
mm_wordbot --------------
Verify local word is listening on port
1003: SUCCESS
Verify local word is listening on port 1006: SUCCESS
--------------
waybot --------------
Verify hostname "way" is listening on port
1018: SUCCESS
-------------- smb --------------
Verify "smb" is
running: SUCCESS
-------------- twist --------------
Verify local
"twist" is listening on port 1026: SUCCESS
-------------- buildmgr
--------------
Verify "Buildmgr (Jetty)" running: SUCCESS
Verify
"localhost" is listening on TCP port 1017: SUCCESS
Verify "localhost"
is listening on TCP port 1012: SUCCESS
Verify "localhost" is
listening on UDP port 1017: SUCCESS
-------------- opswgw-agws
--------------
Verify address 18.8.1.250 is listening on port 3001:
SUCCESS
-------------- hub --------------
Verify "Hub" running:
SUCCESS
-------------- sshd --------------
Verify "sshd" is
running: SUCCESS
-------------- opeproxy --------------
Verify
local "opeproxy" is listening on port 1027: SUCCESS
Verify local
"opeproxy" is listening on port 1028: SUCCESS
Verify local "opeproxy"
is listening on port 1029: SUCCESS
-------------- spoke
--------------
Verify local "spoke" is listening on port 8020:
SUCCESS
-------------- agentcache --------------
Verify
"agentcache" running: SUCCESS
-------------- occ.server
--------------
Verify "occ.server" is running: SUCCESS
--------------
httpsProxy --------------
Verify "httpsProxy" is running: SUCCESS
Verify
local "httpsProxy" is listening on port 80: SUCCESS
--------------
opsware-agent --------------
Verify "opsware-agent" running: SUCCESS
Successfully
performed "status" operation on Opsware SAS components.
###########################################
表明服务已启动,但是使用时以能正确连接为准(测试环境重启用时80分钟)
4.1.2 卸载主程序
用root用户登
录,进入“/”目录
$/export/primary/opsware_installer/uninstall_opsware.sh –r
/usr/tmp/oiresponse.slices_master_typical
卸载时加载的
oiresponse.slices_master_typical
文件必须是安装时的配置文件,而且/etc/hosts文件也必须于安装时一致,务必做好备份。
#############################################
Welcome
to the Opsware Installer.
Please select the components to uninstall.
1
( ) Add OS Provisioning Stage2 Images to Software Repository
2 ( )
Software Repository - Content (install once per mesh)
3 ( ) OS
Provisioning Components
4 ( ) Slice
5 ( ) Core Infrastructure
Components
6 ( ) Model Repository, First Core
7 ( ) Oracle RDBMS
for SAS
Enter a component number to toggle ('a' for all, 'n' for
none).
When ready, press 'c' to continue, or 'q' to quit.
####################################################
Selection:
a 选择全部
Selection: c 继续卸载
Parameter 1 of 4
(truth.uninstall.needdata) is missing or invalid - 是否保留数据
Do you
need to preserve any of the data in this database? (y/n): n
Parameter
2 of 4 (truth.uninstall.aresure) is missing or invalid -
Are you
sure you want to remove all data and schema from this database? (y/n): y
是否删除计划任务和数据
Parameter 3 of 4 (oracle.uninstall.aresure) is missing
or invalid –
Are you sure you want to uninstall Oracle RDBMS?
Answer
'y' _only_ if you are taking down the entire core! (y/n): y
是否确定删除数据库模块
Parameter 4 of 4 (save_crypto) is missing or invalid -
Would
you like to preserve the database of cryptographic material? (y/n): n
是否保留加密数据
All parameters have values. Do you wish to finish the
interview? (y/n): y
Concluding interview.
Name of response file to
write [/usr/tmp/oiresponse.slices_master_typical]:
注意:卸载过程日志,最好单独
存放一个文件,不要覆盖安装配置文件
最好把所有数据和RDBMS都卸载掉,不保留数据和加密数据,n,y,y,n,y
>>>>Uninstalling
component Core Infrastructure Components.
>>>>Uninstalling
component Multimaster Infrastructure Components.
>>>>Uninstalling
component Data Access Engine (spin), Multimaster Component.
>>>>Uninstalling
component Data Access Engine (spin).
>>>>Uninstalling
component Model Repository, First Core.
>>>>Uninstalling
component Model Repository (truth)..
直至卸载结束
For more details,
please see the following file:
/var/log/opsware/install_opsware/uninstall_opsware.2008-08-21.10:56:01_verbose.log
####################################################################
WARNING:
to make sure that no sensitive information is left
on this server,
please remove,encrypt or copy to a secure location
the following
files and directories:
-- /var/opt/opsware/install_opsware/resp/*
-- /var/log/opsware/install_opsware/*
-- /var/tmp/*.sh
Also,
please encrypt or store in a secure location the response file
that
you used to install this core.
####################################################################
附录A Opsware 安装的Linux 环境
Linux版本:
RedHat Enterprise Linux 3
AS Update8 ,4CD
硬件需求:
CPU:4 CPU 或 4核
内存:4G
磁盘:72G
分
区:
SWAP 4G
/boot 80M
/export 15G
/ 剩余空间 (重装时将 / 格式化)
Opsware
安装介质:
/export 存放安装介质,primary.iso ,upload.iso
$mkdir
/export/primary
$mkdir /export/upload
$mount –o loop
/export/opsware_34.0.6037.0-primary.iso /export/primary
$mount –o
loop /export/opsware_34.0.6037.0-upload.iso /export/upload
发表评论
-
New Enterprise Security Solutions
2011-09-13 15:46 0<!-- [if !mso]> <styl ... -
ES Announces Enterprise Security Solutions
2011-09-13 15:40 0<!-- [if !mso]> <styl ... -
linux下如何将文件打包、压缩并分割成制定大小?
2010-09-15 18:52 3311将大文件或目录打包、 ... -
rhel4 yum安装, 使用
2010-09-07 16:37 0第一种方法: yum源来自chinalinuxpub.com ... -
Windows: 远程自动安装程序
2010-08-26 15:48 1085问题的提出 作为 ... -
Oracle体系结构
2010-08-07 09:53 1026Oracle体系结构 Oracle Server包括Oracl ... -
ocp sesson 3
2010-07-31 14:39 0show parameter undo 只有 默认情况下服务 ... -
ocp session 2
2010-07-25 17:00 0/home/oracle/raInventory/orains ... -
ocp session 1
2010-07-24 13:02 0ocp first lesson D:\oracle_cou ... -
Python的xmlrpc调试
2010-07-19 23:55 2108Python的xmlrpc 调 试 ----------- ... -
mdadm使用详解及RAID 5简单分析
2010-07-11 16:19 1390http://blog.csdn.net/chinalinux ... -
Linux的lvm的基本配置步骤
2010-07-11 14:53 12831.增加硬件 增加的ide硬盘前缀为hd,scs ... -
OCP study material
2010-07-11 13:52 0\\192.168.1.105watch -n 1 'stat ... -
apache+python+mod_python+django 编译安装指南
2010-06-24 17:25 14691、本文将知道你在 linux 下使用源码包安装 ... -
在ubuntu下配置apache运行python脚本
2010-06-22 16:11 2269常用的简单命令 sudo apt ... -
Python 2.5 Quick Reference
2010-06-21 11:18 1464... -
shell 面试题汇集
2010-06-10 19:50 1044利用 top 取某个进程的 CPU 的脚本 : ... -
shell程序面试题
2010-06-10 19:48 29061.要求分析Apache访问日志,找出里面数量在前面100位的 ... -
EMC技术支持工程师笔试部分试题回忆
2010-06-07 15:16 1649要查看更多EMC公司笔经相关信息,请访问EMC公司校园招聘CL ... -
linux shell 条件语句
2010-06-03 23:29 1778...
相关推荐
### HP Opsware 使用手册知识点概览 #### 一、HP Network Automation 软件概述 - **软件版本**: HP Network Automation 的版本号为 7.50,这表明了当前软件的具体版本信息。 - **发布日期**: 软件与文档的发布日期...
### 自动化管理软件Opsware SAS 7.5 相关知识点 #### 一、概述 Opsware SAS 7.5 是一款先进的自动化管理软件,主要用于服务器自动化领域,旨在简化和优化数据中心的操作流程。该软件支持多种操作系统环境,包括HP-...
HP Server Automation 适用于 HP-UX、IBM AIX、Red Hat Enterprise Linux、Solaris、SUSE Linux Enterprise Server、VMware 和 Windows® 操作系统 软件版本:10.0
扭扭此 Gem 提供对 HP Server Automation 的 SOAP API 的面向对象访问创建 Rbtwist 是为了允许通过 SOAP WS 接口与 Opsware API 进行交互。 Rbtwist 抽象了幕后的 SOAP 通信,并用普通的 Ruby 对象说话。 注意:代码...
### HP Server Automation 9.10 知识点解析 #### 一、概述与架构指南 **HP Server Automation (HSA)** 是一款由惠普公司开发的自动化管理软件,主要针对数据中心服务器的生命周期管理和运维自动化需求。随着版本的...
例如,通过收购Opsware,HP获得了数据中心自动化的能力,使得技术人员能够更有效地管理服务器、存储设备和网络设备。SPI Dynamic的加入则增强了HP在Web应用安全方面的管理,帮助企业在Web开发过程中预防安全漏洞。...
* 收购Opsware公司:数据中心自动化软件 * 收购SPI Dynamic公司:应用程序完整生命周期的安全管理 * 推出Neoview企业级数据仓库平台 * 收购美科利(Mercury Interactive Corp.)公司:应用质量管理和业务服务管理 * ...
1999年,Marc Andreessen创立的LoudCloud(后来的Opsware)是首个商业化IaaS(基础设施即服务)平台,而salesforce.com的成立则宣告了SaaS(软件即服务)时代的来临,改变了软件的分发和消费模式。 2004年,Google...
1999年,Marc Andreessen创立的LoudCloud(后来的Opsware)是首个商业化IaaS平台,预示着基础设施服务的潜力。同年,salesforce.com的成立标志着SaaS(软件即服务)模式的诞生,软件不再局限于本地安装,而是通过...
1999年,Marc Andreessen创立的LoudCloud(后更名为Opsware)是第一个商业化IaaS平台,而salesforce.com的成立则开启了SaaS模式,使得软件交付不再依赖本地安装。 2004年,Google的MapReduce论文发表,推动了大规模...
本文作者基于自己的丰富创业经验,包括参与创办Netscape、Opsware和Ning等公司,以及在多家初创企业的董事会任职,分享了他对创业的看法。 首先,创业的一大魅力在于掌握自己的命运。作为创始人,你可以不受他人...
1999年,LoudCloud(后更名为Opsware)成为首个商业化的IaaS(基础设施即服务)平台,Marc Andreessen的这一创举为云计算服务商业化铺平了道路。 进入21世纪,SaaS(软件即服务)开始兴起,2004年,Google发布...
- 参与创建了Opsware(原名为Loudcloud),这是一家市值约为10亿美元的上市公司。 - 目前是Ning的共同创始人,Ning是一家面向消费者的私营互联网公司。 - 除了自己的创业经历之外,他还通过担任多家初创企业的董事会...