1.1 HP-UXϵͳ°²×°
HP-UX²Ù×÷ϵͳÊÇԤװµÄ£¬ÓÉHP¹¤³Ìʦ½øÐÐÅäÖá£
ÅäÖðüÀ¨ÈçϲÎÊý£º
Ö÷»úÃû£º CRCT1£¨ÉÏ£©
CRCT2£¨Ï£©
´ËÖ÷»úÃû¿Éͨ¹ýhostname»òuname -a ÃüÁî²é¿´¡£
1.2 ´´½¨Óû§ÕʺÅ
ʹÓÃsam´´½¨Óû§ÕʺÅhalt¡¢test¡¢jzx¡¢trainºÍinformix¡£
²¢·Ö±ðÓÃpasswdÃüÁî¸ø¸÷Óû§ÉèÖÿÚÁî¡£
1.3ÅäÖôÅÅÌ
1.3.1 ÅäÖþµÏñ´ÅÅÌ
Mirror DiskÊÇHP-UXµÄÒ»Ì×Èí¼þ°ü£¬µ±ÏµÍ³Öа²×°ÓÐÁ½¸öϵͳÅÌʱ£¬¿ÉÒÔÀûÓøÃÈí¼þµÄ¹¦ÄÜÀ´×ö²Ù×÷ϵͳµÄ¾µÏñ±¸·Ý£¬ÒÔÏÂÊÇ×ö¾µÏñ´ÅÅ̵IJ½Öè¡£
1¡¢ Ö´ÐÐlvlnboot -vÃüÁî¼ì²éϵͳÖеÄÆô¶¯É豸
#lvlnboot -v
Boot
Boot
Swap
Dump
2¡¢ ´´½¨µÚ¶þ¿éϵͳÅÌ
#pvcreate -B /dev/rdsk/c2t6d0
3¡¢ À©Õ¹vg00£¬Ìí¼ÓµÚ¶þ¿éÓ²ÅÌ
#vgextend /dev/vg00 /dev/dsk/c2t6d0
4¡¢ ΪµÚ¶þ¿é´ÅÅÌ´´½¨bootÒýµ¼ÐÅÏ¢
#mkboot /dev/dsk/c2t6d0
5¡¢ À©Õ¹vg00Öи÷Âß¼¾í£¬Ìí¼Ó¾µÏñ´ÅÅÌ
lvextend -m /dev/vg00/lvol2 /dev/dsk/c2t6d0
lvextend -m /dev/vg00/lvol3 /dev/dsk/c2t6d0
lvextend -m /dev/vg00/lvol4 /dev/dsk/c2t6d0
lvextend -m /dev/vg00/lvol5 /dev/dsk/c2t6d0
lvextend -m /dev/vg00/lvol6 /dev/dsk/c2t6d0
lvextend -m /dev/vg00/lvol7 /dev/dsk/c2t6d0
lvextend -m /dev/vg00/lvol8 /dev/dsk/c2t6d0
lvextend -m /dev/vg00/lvol9 /dev/dsk/c2t6d0
lvextend -m /dev/vg00/lvol10 /dev/dsk/c2t6d0
6¡¢ ΪµÚ¶þ¿é´ÅÅÌ´´½¨bootÒýµ¼ÐÅÏ¢
#mkboot -a "hpux(;0)/stand/vmunix" /dev/dsk/c2t6d0
7¡¢ Ö´ÐÐÈçϲÙ×÷ºóÖØÐÂÆô¶¯ÏµÍ³
#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -b /dev/vg00/lvol2
#lvlnboot -b /dev/vg00/lvol3
#lvlnboot -d /dev/vg00 /dev/dsk/c2t6d0
#lvlnboot -R
#shutdown -h -y 0
8¡¢ ÔÚÆô¶¯Main Menu³öÏÖʱ£¬´ÓµÚ¶þ¿é´ÅÅÌÆô¶¯
Main Menu:>;sea
P0 0/0/2/0.6 intscsia.6 Random access medias
P1 0/0/2/1.6 intscsia.6 Random access medias
P0 0/4/0/0.0 Random access medias
P3 0/10/0/0.1 Random access medias
P4 1/10/0/0.5 Sequene access medias
Main Menu:>;bo p1
9¡¢ ϵͳÆô¶¯ÒÔºóÖ´ÐÐÈçϲÙ×÷
#lvlnboot -v
1.3.2Ìí¼Ó´ÅÅÌÕóÁйñ
ʹÓÃsamÃüÁîÌí¼ÓÎïÀí´ÅÅÌ£º
sam ;Disks and File Systems(CRCT1)
Ñ¡¶¨Ä³¸ö´ÅÅÌ£¬ÔڸôÅÅÌÉÏÖ´ÐУº
;Disk Devices
;Actions ;Disk Array Maitainece;bind
³öÏֵIJ˵¥¿É¶ÔÑ¡¶¨µÄÎïÀí´ÅÅÌÌí¼ÓÒ»¸öеÄPV£¬¹²Ìí¼ÓËĸöPV£¬ÆäÖÐÁ½¸ö64G£¬Á½¸ö1GB¡£
1.3.3Ìí¼ÓVG02¡¢VG03
sam ;Disks and File Systems(CRCT1)
;Volumes Groups
;Actions ;Create
;Modify
;delete
³öÏֲ˵¥ÒÔºó¶ÔÉÏÒ»²½´´½¨µÄÁ½¸ö64GBµÄPVÅäÖÃΪеÄVG02£¬¹²128GB¡£½«ÆäÖеÄÒ»¸ö1GBµÄPVÅäÖÃΪVG03¡£
1.4ÅäÖôŴø»ú
1.4.1 ÅäÖôŴø»ú
1¡¢ Ìí¼Ó´Å´ø»úÇý¶¯³ÌÐòtape
2¡¢ Á¬½ÓºËÐIJ¢ÖØÐÂÆô¶¯ÏµÍ³
3¡¢ ʹÓôŴø»úÉ豸
tar cvf /dev/rmt/0m /etc/*
1.4.2 ÅäÖôŴø¿â
1¡¢ Ìí¼Ó´Å´ø¿âÇý¶¯³ÌÐòshrgr
2¡¢ Á¬½ÓºËÐIJ¢ÖØÐÂÆô¶¯ÏµÍ³
3¡¢ ²é¿´´Å´ø¿âÉ豸
ll /dev/ac/*
1.5ÅäÖÃÍøÂç
1.5.1ʹÓÃsamÅäÖÃÍø¿¨
sam;Network Configration;IP Address on network devices
Ñ¡Ôñ¸ÃÑ¡ÏîÖ®ºó»á³öÏÖÍøÂçÉ豸µÄÁÐ±í£¬¿ÉÒÔÑ¡ÔñÔÚij¸öÉ豸ÉÏÅäÖÃÍøÂçµØÖ·»ò½ûÖ¹¸ÃÉ豸(disable)¡£
1.5.2 ÊÖ¹¤ÅäÖÃÍø¿¨
Lan0
IP=192.168.1.10
SUBNET=255.255.255.0
1.5.3 Ìí¼ÓÆô¶¯¾²Ì¬Â·ÓÉ
1¡¢ Éú³ÉÎļþ/sbin/init.d/route
#more /sbin/init.d/route
route add default 192.168.3.1
2¡¢ Éú³ÉÁ¬½ÓÎļþ
ln -s /sbin/init.d/route /sbin/rc2.d/S750route
3¡¢ ²é¿´Â·ÓÉÐÅÏ¢
netstat -r
1.5.4 ÅäÖÃbootpÔ¶³ÌÆô¶¯ÐÒé
1¡¢ ËÑË÷ϵͳÖеÄÍø¿¨
#/usr/bin/lanscan
#ifconfig lan0
2¡¢ ±¸·ÝÔʼÎļþ
#cp /etc/bootptab /etc/bootptab.bak
3¡¢ ±à¼/etc/bootptabÎļþ
#/usr/bin/vi /etc/bootptab
add a similar entry for each system to be served by this bootp serverr
CRCT2:\
Ht=ether:\
Vm=rfc1048:\
Ha=080009000000:\
Ip=192.168.1.11
Hn:\
Bf=lif2021.bin:\
4¡¢ µ±CRCT1Æô¶¯Ê±°´¿Õ¸ñ¼üÖжÏÆäÆô¶¯¹ý³Ì
½øÈëMain Menu״̬£¬¼üÈëbo lan.192.168.1.10
interact with IPL (Y,N,or Cancel)?N
½ÓÏÂÀ´¾ÍÊÇÔ¶³ÌÆô¶¯µÄ¹ý³Ì¡£