OUI 25031 linux°²×°oracle
/etc/hostsÒ»¶¨ÒªÓÐÑϸñµÄ¸ñʽ!!!
grid control 10.2.0.1.1°²×°×¢ÒâÊÂÏî
1.hostname
ÍøÂ磺
¾¡Á¿Ê¹Óþ²Ì¬IP£¬/etc/hostsµÄÎļþ¸ñʽºÜÖØÒª£¬²»ÖªµÀÊǸöBUG»¹ÊÇÒªÇó¾ÍÊÇÄÇôÑϸñ¡£ÎÒÒ»¿ªÊ¼¾ÍÊÇÔÚÕâ³ÔµÄ¿÷£¬ÔÚprecheckÐèÇóµÄʱºòºöÂÔÁË/etc/hosts¼ì²éʧ°ÜµÄ´íÎ󣬽á¹û°²×°Èí¼þûÎÊÌ⣬µ«ÅäÖõÄʱºò³ö´íÁË£¬ÕÒ²»µ½Ö÷»úÃû£¬¶øÏÔʽ%hostname%Ìæ»»±äÁ¿¡£
ÕýÈ·µÄ¸ñʽsample£º
127.0.0.1 localhost.localdomain localhost
192.168..128.130 hostname.domain hostname
Ò»¶¨ÒªÓÐÓòÃûºó׺.domain,¶øÇÒhostnameºÍhostname.domain²»Äܵ÷»»Î»Öã¬Èç¹ûµ÷»»Ò²±¨´í¡£
Áí±ØÐëÒªÓÐ127.0.0.1¶¨ÒåÔÚ/etc/hostsÎļþÀҪ²»È»Êý¾Ý¿â¼àÌýÆ÷Æô¶¯²»ÁË¡£
2.ÅäÖÃomsʱºò±¨´íoui 25031
ÐÞ¸ÄÅäÖÃÎļþºóretry
¸Ä/opt/oracle/OracleHomes/oms10g/opmn/conf/opmn.xmlÎļþ£¬ÔÚ
<ias-component id="HTTP_Server">
<process-type id="HTTP_Server" module-id="OHS">ºó²åÈë
<environment>
<variable id="LD_PRELOAD" value="/opt/oracle/OracleHomes/oms10g/lib/libclntsh.so"/>
</environment>
ÖØеãretry½øÐÐÖØÐÂÅäÖá£
3.osmÐÂÌí¼ÓµÄ±í¿Õ¼äλÖÃҪעÒâ
4.oracleÓû§²»ÒªÓл·¾³±äÁ¿
agent¼ò±ã°²×°·½·¨
Ê×ÏÈÓÃoracleÓû§ÔÚORACLE_HOME/Ï´´½¨Ò»¸öĿ¼£¬Ò»°ãÊÇOracleHomes£¬c£ºÊ¹ÓÃftp£¬»òÕßhttp£¬scp µÈ·½·¨£¬´ÓOms»úÆ÷ÉÏÏÂÔØ°²×°½Å±¾£¬¸Ã°²×°½Å±¾Â·¾¶ÈçÏ£º$ORACLE_HOME/OracleHomes/oms10g/sysman /agent_download/linux/agent_download.linux
ÔÚÐèÒª²¿ÊðagentµÄ»úÆ÷ÉÏ£¬Ê×Ïȸø¸Ã½Å±¾¿ÉÖ´ÐеÄȨÏÞ
jar ÎļþµÄĿ¼ ORACLE_HOME/jdk/bin
Oralce10g Grid ControlÎÊÌâ:
×î½ü»¨Á˼¸Ììʱ¼äÕÛÌÚÁËÏÂGrid Control£¨¼òдΪGC)
ÎҵĻ·¾³¡¡ Oracle 10g Solaris 10
ÏÂÃæ¾Í°ÑÔÚ°²×°ºÍ²¿Êð¹ý³ÌÖÐÅöµ½µÄÎÊÌâÕûÀíÏÂ
Ê×ÏȼÇס£¬Ò»¶¨ÒªÅäºÃÄãµÄ»·¾³±äÁ¿AGENT_HOME,OMS_HOME,ORACLE_SID
È»ºó´óÖµIJ½Öè¾ÍÊÇ¡¡ÔÚÄãÓÃÀ´¹ÜÀíµÄ»úÆ÷ ÉÏ°²×°OMS,ÔÚ±»¹ÜÀíµÄ»úÆ÷ÉÏ°²×°AGENT,È»ºóÓÃAGENTÉÏ´«±»¹ÜÀí»úÆ÷µÄÐÅÏ¢¡£
ÎÊÌâ1£ºOMS Configuration hang
ÏÈÍ£Ö¹ÕâÒ»²½¡£ÐÞ¸Äopmn.xml£¬Õâ¸öÎļþµÄλÖÃÍùÍùÔÚÄãµÄ$OMS_HOME/opmn/confÏ£¬ÕÒµ½ÈçÏÂÄÚÈÝÔÚºóÃæ²åÈë(À¶É«²¿·Ö)
<ias-component id="HTTP_Server">
<process-type id="HTTP_S
Ïà¹ØÎĵµ£º
Á½¼Ò¼¼ÊõÐÍLinux VPS¹©Ó¦É̵ļ¼ÊõÎĵµ µ±ÎÒÃÇΪÁ˽ÚÔ¼³É±¾¶ø²»µÃ²»Ñ¡ÔñLinux×÷Ϊ·þÎñÆ÷ϵͳ£¬»ù´¡¼¼Êõ¾Í³ÉÁËÎÒÃÇ×î´óµÄÕÏ°£¬³ýÁËÈ¥LinuxµÄÏà¹ØÂÛ̳Í⣬ÕâÀïÍƼöÁ½¼ÒVPSÉ̵ļ¼ÊõÎĵµ£¬ËûÃǵÄVPS¼Û¸ñºÜ¹ó£¬µ«¼¼ÊõºÜºÃ£¬¼¼ÊõÎĵµµÄº¬½ðÁ¿ÉõÖÁ³¬¹ýÁËÄÇЩLinuxÂÛ̳¡£ µÚÒ»¸öÊÇLinodeÎĵµ¿â£¨ÎÒʹÓÃLinode½«½ü1Ä꣬ºÜºÃ£©£º h ......
1.$0, $1, $2,µÈµÈ:λÖòÎÊý,´ÓÃüÁîÐд«µÝ¸ø½Å±¾,»òÕßÊÇ´«µÝ¸øº¯Êý.»òÕ߸³Ö°¸øÒ»¸ö±äÁ¿.
2.$#:ÃüÁîÐлòÕßÊÇλÖòÎÊýµÄ¸öÊý.
3.$*:ËùÓеÄλÖòÎÊý,±»×÷Ϊһ¸öµ¥´Ê.×¢Òâ:"$*"±ØÐë±»""ÒýÓÃ.
4.$@:Óë$*ͬÒå,µ«ÊÇÿ¸ö²ÎÊý¶¼ÊÇÒ»¸ö¶ÀÁ¢µÄ""ÒýÓÃ×Ö´®,Õâ¾ÍÒâζ×ŲÎÊý±»ÍêÕûµØ´«µÝ,²¢Ã»Óб»½âÊͺÍÀ©Õ¹.ÕâÒ²Òâζ×Å,ÿ¸ö²ÎÊýÁбíÖе ......
mkdirÃüÁî
¹¦ÄÜ£º´´½¨Ò»¸öĿ¼£¨ÀàËÆMSDOSϵÄmdÃüÁ¡£
Óï·¨£ºmkdir [Ñ¡Ïî] dir-name
˵Ã÷£º¸ÃÃüÁî´´½¨ÓÉdir-nameÃüÃûµÄĿ¼¡£ÒªÇó´´½¨Ä¿Â¼µÄÓû§ÔÚµ±Ç°Ä¿Â¼ÖУ¨dir-nameµÄ¸¸Ä¿Â¼ÖУ©¾ßÓÐдȨÏÞ£¬²¢ÇÒdirname²»ÄÜÊǵ±Ç°Ä¿Â¼ÖÐÒÑÓеÄĿ¼»ò ÎļþÃû³Æ¡£
ÃüÁîÖи÷Ñ¡ÏîµÄº¬ÒåΪ£º
- m ¶Ôн¨Ä¿Â¼ÉèÖôæȡȨÏÞ¡£Ò²¿ÉÒÔÓà ......
tarÃüÁî
tar¿ÉÒÔΪÎļþºÍĿ¼´´½¨µµ°¸¡£ÀûÓÃtar£¬Óû§¿ÉÒÔΪijһÌض¨Îļþ´´½¨µµ°¸£¨±¸·ÝÎļþ£©£¬Ò²¿ÉÒÔÔÚµµ°¸ÖиıäÎļþ£¬»òÕßÏòµµ°¸ÖмÓÈëеÄÎļþ¡£tar×î³õ±»ÓÃÀ´ÔÚ´Å´øÉÏ´´½¨µµ°¸£¬ÏÖÔÚ£¬Óû§¿ÉÒÔÔÚÈκÎÉ豸ÉÏ´´½¨µµ°¸£¬ÈçÈíÅÌ¡£ÀûÓÃtarÃüÁ¿ÉÒÔ°ÑÒ»´ó¶ÑµÄÎļþºÍĿ¼ȫ²¿´ò°ü³ÉÒ»¸öÎļþ£¬Õâ¶ÔÓÚ±¸·ÝÎļþ»ò½«¼¸¸öÎļþ× ......
1£¬Ê×ÏÈSERVERÓëCLIENT¶¼ÐèÒª°²×°RSYNC
2£¬Æä´ÎÔÚSERVERµÄ/etc/ÏÂÃ潨Á¢rsyncd.conf
ÄÚÈÝ¿ÉÒÔ°´ÕÕÏÂÃæµÄд·¨
[root@vm-base-01 local]# more /etc/rsyncd.conf
uid =
root &n ......