小机安装Word文档下载推荐.docx

上传人:b****5 文档编号:18355118 上传时间:2022-12-15 格式:DOCX 页数:79 大小:98.36KB
下载 相关 举报
小机安装Word文档下载推荐.docx_第1页
第1页 / 共79页
小机安装Word文档下载推荐.docx_第2页
第2页 / 共79页
小机安装Word文档下载推荐.docx_第3页
第3页 / 共79页
小机安装Word文档下载推荐.docx_第4页
第4页 / 共79页
小机安装Word文档下载推荐.docx_第5页
第5页 / 共79页
点击查看更多>>
下载资源
资源描述

小机安装Word文档下载推荐.docx

《小机安装Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《小机安装Word文档下载推荐.docx(79页珍藏版)》请在冰豆网上搜索。

小机安装Word文档下载推荐.docx

2.安装系统镜像盘(MirrorDisk/UXLicenseforServers);

#ioscan-funCdisk:

搜索本地系统盘;

#pvcreate-B/dev/rdsk/c2t1d0:

创建第二块系统盘;

#vgextend/dev/vg00/dev/dsk/c2t1d0:

扩展vg00,添加第二块硬盘;

#mkboot/dev/rdsk/c2t1d0:

为第二块磁盘创建boot引导信息

#lvextend-m1/dev/vg00/lvol1/dev/dsk/c2t1d0:

创建镜像卷。

#lvextend-m1/dev/vg00/lvol2/dev/dsk/c2t1d0

#lvextend-m1/dev/vg00/lvol3/dev/dsk/c2t1d0

#lvextend-m1/dev/vg00/lvol4/dev/dsk/c2t1d0

#lvextend-m1/dev/vg00/lvol5/dev/dsk/c2t1d0

#lvextend-m1/dev/vg00/lvol6/dev/dsk/c2t1d0

#lvextend-m1/dev/vg00/lvol7/dev/dsk/c2t1d0

#lvextend-m1/dev/vg00/lvol8/dev/dsk/c2t1d0

#lvextend-m1/dev/vg00/lvol9/dev/dsk/c2t1d0

#mkboot-a"

hpux(;

0)/stand/vmunix"

/dev/dsk/c2t1d0:

为第二块磁盘创建boot引导信息(可选)。

#lvlnboot-b/dev/vg00/lvol1

#lvlnboot-r/dev/vg00/lvol3

#lvlnboot-s/dev/vg00/lvol2

#lvlnboot-d/dev/vg00/lvol2

#lvlnboot–v

#lvlnboot–R

#shutdown–ry0

3.配置网络系统;

按表2设置相应的ip地址(为boot地址),网关,dnsserverip,

这里的IP分配为:

CJJSJK_1lan1:

198.22.6.1(为主网段)

Lan0:

192.168.1.1(心跳网段)

CJJSJK_2lan1:

198.22.6.2(为主网段)

Lan0:

可以使用sam或者直接编辑/etc/rc.config.d/netconf文件。

#netconf:

configurationvaluesforcorenetworkingsubsystems

#

#@(#)B.11.11_LR$Revision:

1.6.119.6$$Date:

97/09/1015:

56:

01$

#HOSTNAME:

Nameofyoursystemforuname-Sandhostname

#OPERATING_SYSTEM:

Nameofoperatingsystemreturnedbyuname-s

#----DONOTCHANGETHISVALUE----

#LOOPBACK_ADDRESS:

Loopbackaddress

#IMPORTANT:

for9.x-to-10.0transition,donotputblanklinesbetween

#thenextsetofstatements

HOSTNAME="

cjjsjk_1"

OPERATING_SYSTEM=HP-UX

LOOPBACK_ADDRESS=127.0.0.1

#Internetconfigurationparameters.Seeifconfig(1m),autopush(1m)

#

#INTERFACE_NAME:

Networkinterfacename(seelanscan(1m))

#IP_ADDRESS:

Hostname(in/etc/hosts)orIPaddressindecimal-dot

#notation(e.g.,192.1.2.3)

#SUBNET_MASK:

Subnetworkmaskindecimal-dotnotation,ifdifferent

#fromdefault

#BROADCAST_ADDRESS:

Broadcastaddressindecimal-dotnotation,if

#differentfromdefault

#INTERFACE_STATE:

Desiredinterfacestateatboottime.

#eitherupordown,defaultisup.

#DHCP_ENABLEDetermineswhetherornotDHCPclientfunctionality

#willbeenabledonthenetworkinterface(see

#auto_parms(1M),dhcpclient(1M)).DHCPclientsget

#theirIPaddressassignmentsfromDHCPservers.

#1enablesDHCPclientfunctionality;

0disablesit.

#Foreachadditionalnetworkinterfaces,addasetofvariableassignments

#liketheonesbelow,changingtheindexto"

[1]"

"

[2]"

etcetera.

INTERFACE_NAME[0]=lan0

IP_ADDRESS[0]=192.168.1.1

SUBNET_MASK[0]=255.255.255.0

BROADCAST_ADDRESS[0]=192.168.1.255

INTERFACE_STATE[0]=up

DHCP_ENABLE[0]=0

#Internetroutingconfiguration.Seeroute(1m),routing(7)

#ROUTE_DESTINATION:

Destinationhostname(in/etc/hosts)orhostornetwork

#IPaddressindecimal-dotnotation,precededbytheword

#"

host"

or"

net"

;

orsimplytheword"

default"

.

#ROUTE_MASK:

Subnetworkmaskindecimal-dotnotation,orClanguage

#hexadecimalnotation.Thisisanoptionalfield.

#AIPaddress,subnetmaskpairuniquelyidentifies

#asubnettobereached.Ifasubnetmaskisnotgiven,

#thenthesystemwillassignthelongestsubnetmask

#oftheconfigurednetworkinterfacestothisroute.

#Ifthereisnomatchingsubnetmask,thenthesystem

#willassignthedefaultnetworkmaskastheroute'

s

#subnetmask.

#ROUTE_GATEWAY:

Gatewayhostname(in/etc/hosts)orIPaddressin

#decimal-dotnotation.Iflocalinterface,mustusethe

#sameformasusedforIP_ADDRESSabove(hostnameor

#decimal-dotnotation).Ifloopbackinterface,i.e.,

#127.0.0.1,theROUTE_COUNTmustbesettozero.

#ROUTE_COUNT:

Anintegerthatindicateswhetherthegatewayisa

#remoteinterface(one)orthelocalinterface(zero)

#orloopbackinterface(e.g.,127.*).

#ROUTE_ARGS:

Routecommandargumentsandoptions.Thisvariable

#maycontainacombinationofthefollowingarguments:

-f"

-n"

and"

-ppmtu"

#Foreachadditionalroute,addasetofvariableassignmentsliketheones

#below,changingtheindexto"

ROUTE_DESTINATION[0]=default

ROUTE_MASK[0]="

"

#ROUTE_GATEWAY[0]=198.22.1.254

#ROUTE_COUNT[0]=1

ROUTE_ARGS[0]="

#Dynamicroutingdaemonconfiguration.Seegated(1m)

#GATED:

Setto1tostartgateddaemon.

#GATED_ARGS:

Argumentstothegateddaemon.

GATED=0

GATED_ARGS="

#RouterDiscoverProtocoldaemonconfiguration.Seerdpd(1m)

#RDPD:

Setto1tostartrdpddaemon

RDPD=0

#ReverseARPdaemonconfiguration.Seerarpd(1m)

#RARP:

Setto1tostartrarpddaemon

RARP=0

IP_ADDRESS[1]=198.22.6.1

SUBNET_MASK[1]=255.255.255.0

INTERFACE_NAME[1]=lan1

BROADCAST_ADDRESS[1]=198.22.6.255

INTERFACE_STATE[1]=up

ROUTE_GATEWAY[0]=198.22.6.254

ROUTE_COUNT[0]=1

 

4.安装双机软件

1)在所有节点上编辑/.rhosts文件添加如下内容:

cjjsjk_1

cjjsjk_2

198.22.6.1

198.22.6.2

附:

cjjsjk_1的/.rhosts文件

192.168.1.1

192.168.1.2

2)在所有节点上编辑/etc/hosts文件添加如下内容:

198.22.6.1cjjsjk_1

198.22.6.2cjjsjk_2

198.22.6.3unixdb

附:

cjjsjk_1的/etc/hosts文件

##ConfiguredusingSAMbyrootonWedSep1411:

38:

482005

40:

222005

#@(#)B.11.11_LRhosts$Revision:

1.9.214.1$$Date:

96/10/0813:

20:

#Theformforeachentryis:

#<

internetaddress>

<

officialhostname>

aliases>

#Forexample:

#192.1.2.34hpfcrmloghost

#Seethehosts(4)manualpageformoreinformation.

#Note:

Theentriescannotbeprecededbyaspace.

#Theformatdescribedinthisfileisthecorrectformat.

#TheoriginalBerkeleymanualpagecontainsanerrorin

#theformatdescription.

192.170.77.107

198.22.6.3unixdb

198.22.6.1cjjsjk_1

192.168.1.1cjjsjk_1

192.168.1.2cjjsjk_2

198.22.6.2cjjsjk_2

198.22.1.5cjj580pdc

127.0.0.1localhostloopback

3)创建共享卷和锁盘

a.使用cmdviewSDM分配所需大小的lun,锁盘一般给几十兆即可。

b.在cjjsjk_1上使用以下命令确定磁盘文件

#ioscan–-funCdisk

如上图:

/dev/dsk/c6t0d0,/dev/dsk/c11t0d0(锁盘,带容余连接盘)

/dev/dsk/c6t0d1,/dev/dsk/c11t0d1(数据盘,带容余连接盘).

c.创建共享vg和lockvg.

#mkdir/dev/vglock

#mknod/dev/vglock/groupc640x010000

#pvcreate/dev/rdsk/c6t0d0

#vgcreate/dev/vglock/dev/dsk/c6t0d0

#vgextend/dev/vglock/dev/dsk/c11t0d0

#mkdir/dev/vgdata

#mknod/dev/vgdata/groupc640x020000

#pvcreate/dev/rdsk/c6t0d1

#vgcreate/dev/vgdata/dev/dsk/c6t0d1

#vgextend/dev/vgdata/dev/dsk/c11t0d1

d.将共享盘分布到其他节点上

在节点cjjsjk_1上执行

#vgchange-anvgdata

#vgexport–p–s-m/tmp/vgdata.map/dev/vgdata

#rcp/tmp/vgdata.mapcjjsjk_2:

/tmp/vgdata.map

在节点cjjsjk_2上执行

#mknod/dev/vgdata/groupc640x010000

#vgimport-s–-m/tmp/vgdata.map/dev/vgdata

1)创建双机脚本

#cmquerycl-v-C/etc/cmcluster/clu1.ascii–-ncjjsjk_1–-ncjjsjk_2

然后编辑该文件,如下所示:

(黑体是需编辑的字段)

#**********************************************************************

#*********HIGHAVAILABILITYCLUSTERCONFIGURATIONFILE***************

#*****Forcompletedetailsaboutclusterparametersandhowto*******

#*****setthem,consulttheServiceguardmanual.*********************

#Enteranameforthiscluster.Thisnamewillbeusedtoidentifythe

#clusterwhenviewingormanipulatingit.

CLUSTER_NAMEcluster1#CLUSTER的名字

#ClusterLockParameters

#Theclusterlockisusedasatie-breakerforsituations

#inwhicharunningclusterfails,andthentwoequal-sized

#sub-clustersarebothtryingtoformanewcluster.The

#clusterlockmaybeconfiguredusingonlyoneofthe

#followingalternativesonacluster:

#theLVMlockdisk

#thequoromserver

#Considerthefollowingwhenconfiguringacluster.

#Foratwo-nodecluster,youmustuseaclusterlock.For

#aclusterofthreeorfournodes,aclusterlockisstrongly

#recommended.Foraclusterofmorethanfournodes,a

#clusterlockisrecommended.Ifyoudecidetoconfigure

#alockforaclusterofmorethanfournodes,itmustbe

#aquorumserver.

#LockDiskParameters.UsetheFIRST_CLUSTER_LOCK_VGand

#FIRST_CLUSTER_LOCK_PVparameterstodefinealockdisk.

#TheFIRST_CLUSTER_LOCK_VGistheLVMvolumegroupthat

#holdstheclusterlock.Thisvolumegroupshouldnotbe

#usedbyanyotherclusterasaclusterlockdevice.

#QuorumServerParameters.UsetheQS_HOST,QS_POLLING_INTERVAL,

#andQS_TIMEOUT_EXTENSIONparameterstodefineaquorumserver.

#TheQS_HOSTisthehostnameorIPaddressofthesystem

#thatisrunningthequorumserverprocess.The

#QS_POLLING_INTERVAL(microseconds)istheintervalatwhich

#Serviceguardcheckstomakesurethequorumserverisrunning.

#TheoptionalQS_TIMEOUT_EXTENSION(microseconds)isusedtoincrease

#thetimeintervalafterwhichthequorumserverismarkedDOWN.

#Thedefaultquorumservertimeoutisca

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 党团工作 > 思想汇报心得体会

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1