当前位置:Gxlcms > mysql > Solaris11配置OracleRACASMDisk以及运行root.sh注意事项

Solaris11配置OracleRACASMDisk以及运行root.sh注意事项

时间:2021-07-01 10:21:17 帮助过:39人阅读

root@vzwc1:~# isainfo -namd64root@vzwc1:~# unameSunOSroot@vzwc1:~# cat /etc/release Oracle Solaris 11.1 X86 Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved. Assembled 19 September 2012root@vzwc1:~# ifconfig -alo

  1. root@vzwc1:~# isainfo -n
  2. amd64
  3. root@vzwc1:~# uname
  4. SunOS
  5. root@vzwc1:~# cat /etc/release
  6. Oracle Solaris 11.1 X86
  7. Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.
  8. Assembled 19 September 2012
  9. root@vzwc1:~# ifconfig -a
  10. lo0: flags=2001000849<up,loopback,running,multicast,ipv4,virtual> mtu 8232 index 1
  11. inet 127.0.0.1 netmask ff000000
  12. net0: flags=1000843<up,broadcast,running,multicast,ipv4> mtu 1500 index 2
  13. inet 192.168.1.61 netmask ffffff00 broadcast 192.168.1.255
  14. ether 8:0:27:3c:8d:72
  15. net1: flags=1000843<up,broadcast,running,multicast,ipv4> mtu 1500 index 3
  16. inet 172.168.1.61 netmask ffffff00 broadcast 172.168.1.255
  17. ether 8:0:27:16:13:40
  18. lo0: flags=2002000849<up,loopback,running,multicast,ipv6,virtual> mtu 8252 index 1
  19. inet6 ::1/128
  20. net0: flags=20002000840<running,multicast,ipv6> mtu 1500 index 2
  21. inet6 ::/0
  22. ether 8:0:27:3c:8d:72
  23. net1: flags=20002000840<running,multicast,ipv6> mtu 1500 index 3
  24. inet6 ::/0
  25. ether 8:0:27:16:13:40
  26. root@vzwc1:~# hostname
  27. vzwc1</running,multicast,ipv6></running,multicast,ipv6></up,loopback,running,multicast,ipv6,virtual></up,broadcast,running,multicast,ipv4></up,broadcast,running,multicast,ipv4></up,loopback,running,multicast,ipv4,virtual>

  1. root@vzwc1:~# format
  2. Searching for disks...done
  3. AVAILABLE DISK SELECTIONS:
  4. 0. c7t0d0
  5. /pci@0,0/pci8086,2829@d/disk@0,0
  6. 1. c7t2d0
  7. /pci@0,0/pci8086,2829@d/disk@2,0
  8. 2. c7t3d0
  9. /pci@0,0/pci8086,2829@d/disk@3,0
  10. 3. c7t4d0
  11. /pci@0,0/pci8086,2829@d/disk@4,0
  12. 4. c7t5d0
  13. /pci@0,0/pci8086,2829@d/disk@5,0
  14. 5. c7t6d0
  15. /pci@0,0/pci8086,2829@d/disk@6,0
  16. 6. c7t7d0
  17. /pci@0,0/pci8086,2829@d/disk@7,0
  18. 7. c7t8d0
  19. /pci@0,0/pci8086,2829@d/disk@8,0
  20. Specify disk (enter its number): 1
  21. selecting c7t2d0
  22. [disk formatted]
  23. No Solaris fdisk partition found.
  24. FORMAT MENU:
  25. disk - select a disk
  26. type - select (define) a disk type
  27. partition - select (define) a partition table
  28. current - describe the current disk
  29. format - format and analyze the disk
  30. fdisk - run the fdisk program
  31. repair - repair a defective sector
  32. label - write label to the disk
  33. analyze - surface analysis
  34. defect - defect list management
  35. backup - search for backup labels
  36. verify - read and display labels
  37. save - save new disk/partition definitions
  38. inquiry - show disk ID
  39. volname - set 8-character volume name
  40. !<cmd> - execute <cmd>, then return
  41. quit
  42. format> p
  43. WARNING - This disk may be in use by an application that has
  44. modified the fdisk table. Ensure that this disk is
  45. not currently in use before proceeding to use fdisk.
  46. format> fdisk
  47. No fdisk table exists. The default partition for the disk is:
  48. a 100% "SOLARIS System" partition
  49. Type "y" to accept the default partition, otherwise type "n" to edit the
  50. partition table.
  51. y
  52. format> p
  53. PARTITION MENU:
  54. 0 - change `0' partition
  55. 1 - change `1' partition
  56. 2 - change `2' partition
  57. 3 - change `3' partition
  58. 4 - change `4' partition
  59. 5 - change `5' partition
  60. 6 - change `6' partition
  61. 7 - change `7' partition
  62. select - select a predefined table
  63. modify - modify a predefined partition table
  64. name - name the current table
  65. print - display the current table
  66. label - write partition map and label to the disk
  67. !<cmd> - execute <cmd>, then return
  68. quit
  69. partition> p
  70. Current partition table (default):
  71. Total disk cylinders available: 1533 + 2 (reserved cylinders)
  72. Part Tag Flag Cylinders Size Blocks
  73. 0 unassigned wm 0 0 (0/0/0) 0
  74. 1 unassigned wm 0 0 (0/0/0) 0
  75. 2 backup wu 0 - 1532 2.99GB (1533/0/0) 6279168
  76. 3 unassigned wm 0 0 (0/0/0) 0
  77. 4 unassigned wm 0 0 (0/0/0) 0
  78. 5 unassigned wm 0 0 (0/0/0) 0
  79. 6 unassigned wm 0 0 (0/0/0) 0
  80. 7 unassigned wm 0 0 (0/0/0) 0
  81. 8 boot wu 0 - 0 2.00MB (1/0/0) 4096
  82. 9 unassigned wm 0 0 (0/0/0) 0
  83. partition> 6
  84. Part Tag Flag Cylinders Size Blocks
  85. 6 unassigned wm 0 0 (0/0/0) 0
  86. Enter partition id tag[unassigned]: usr
  87. Enter partition permission flags[wm]:
  88. Enter new starting cyl[1]: 3
  89. Enter partition size[0b, 0c, 3e, 0.00mb, 0.00gb]: 2g
  90. partition> label
  91. Ready to label disk, continue? yes
  92. partition> p
  93. Current partition table (unnamed):
  94. Total disk cylinders available: 1533 + 2 (reserved cylinders)
  95. Part Tag Flag Cylinders Size Blocks
  96. 0 unassigned wm 0 0 (0/0/0) 0
  97. 1 unassigned wm 0 0 (0/0/0) 0
  98. 2 backup wu 0 - 1532 2.99GB (1533/0/0) 6279168
  99. 3 unassigned wm 0 0 (0/0/0) 0
  100. 4 unassigned wm 0 0 (0/0/0) 0
  101. 5 unassigned wm 0 0 (0/0/0) 0
  102. 6 usr wm 3 - 1026 2.00GB (1024/0/0) 4194304
  103. 7 unassigned wm 0 0 (0/0/0) 0
  104. 8 boot wu 0 - 0 2.00MB (1/0/0) 4096
  105. 9 unassigned wm 0 0 (0/0/0) 0
  106. partition> q
  107. FORMAT MENU:
  108. disk - select a disk
  109. type - select (define) a disk type
  110. partition - select (define) a partition table
  111. current - describe the current disk
  112. format - format and analyze the disk
  113. fdisk - run the fdisk program
  114. repair - repair a defective sector
  115. label - write label to the disk
  116. analyze - surface analysis
  117. defect - defect list management
  118. backup - search for backup labels
  119. verify - read and display labels
  120. save - save new disk/partition definitions
  121. inquiry - show disk ID
  122. volname - set 8-character volume name
  123. !<cmd> - execute <cmd>, then return
  124. quit
  125. format> p
  126. </cmd></cmd></cmd></cmd></cmd></cmd>

  1. root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t2d0s6
  2. root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t3d0s6
  3. root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t4d0s6
  4. root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t5d0s6
  5. root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t6d0s6
  6. root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t7d0s6
  7. root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t8d0s6
  8. root@vzwc1:~#
  9. root@vzwc1:~# chmod 600 /dev/rdsk/c7t2d0s6
  10. root@vzwc1:~# chmod 600 /dev/rdsk/c7t3d0s6
  11. root@vzwc1:~# chmod 600 /dev/rdsk/c7t4d0s6
  12. root@vzwc1:~# chmod 600 /dev/rdsk/c7t5d0s6
  13. root@vzwc1:~# chmod 600 /dev/rdsk/c7t6d0s6
  14. root@vzwc1:~# chmod 600 /dev/rdsk/c7t7d0s6
  15. root@vzwc1:~# chmod 600 /dev/rdsk/c7t8d0s6

  1. grid@vzwc1:~/grid$ ./runcluvfy.sh stage -pre crsinst -n vzwc1,vzwc2 -fixup -verbose
  2. Performing pre-checks for cluster services setup
  3. Checking node reachability...
  4. Check: Node reachability from node "vzwc1"
  5. Destination Node Reachable?
  6. ------------------------------------ ------------------------
  7. vzwc1 yes
  8. vzwc2 yes
  9. Result: Node reachability check passed from node "vzwc1"
  10. Checking user equivalence...
  11. Check: User equivalence for user "grid"
  12. Node Name Status
  13. ------------------------------------ ------------------------
  14. vzwc2 passed
  15. vzwc1 passed
  16. Result: User equivalence check passed for user "grid"
  17. Checking node connectivity...
  18. Checking hosts config file...
  19. Node Name Status
  20. ------------------------------------ ------------------------
  21. vzwc2 passed
  22. vzwc1 passed
  23. Verification of the hosts config file successful
  24. Interface information for node "vzwc2"
  25. Name IP Address Subnet Gateway Def. Gateway HW Address MTU
  26. ------ --------------- --------------- --------------- --------------- ----------------- ------
  27. net0 192.168.1.62 192.168.1.0 192.168.1.62 192.168.1.1 08:00:27:79:E4:F3 1500
  28. net1 172.168.1.62 172.168.1.0 172.168.1.62 192.168.1.1 08:00:27:B1:D8:FC 1500
  29. Interface information for node "vzwc1"
  30. Name IP Address Subnet Gateway Def. Gateway HW Address MTU
  31. ------ --------------- --------------- --------------- --------------- ----------------- ------
  32. net0 192.168.1.61 192.168.1.0 192.168.1.61 192.168.1.1 08:00:27:3C:8D:72 1500
  33. net1 172.168.1.61 172.168.1.0 172.168.1.61 192.168.1.1 08:00:27:16:13:40 1500
  34. Check: Node connectivity of subnet "192.168.1.0"
  35. Source Destination Connected?
  36. ------------------------------ ------------------------------ ----------------
  37. vzwc2[192.168.1.62] vzwc1[192.168.1.61] yes
  38. Result: Node connectivity passed for subnet "192.168.1.0" with node(s) vzwc2,vzwc1
  39. Check: TCP connectivity of subnet "192.168.1.0"
  40. Source Destination Connected?
  41. ------------------------------ ------------------------------ ----------------
  42. vzwc1:192.168.1.61 vzwc2:192.168.1.62 passed
  43. Result: TCP connectivity check passed for subnet "192.168.1.0"
  44. Check: Node connectivity of subnet "172.168.1.0"
  45. Source Destination Connected?
  46. ------------------------------ ------------------------------ ----------------
  47. vzwc2[172.168.1.62] vzwc1[172.168.1.61] yes
  48. Result: Node connectivity passed for subnet "172.168.1.0" with node(s) vzwc2,vzwc1
  49. Check: TCP connectivity of subnet "172.168.1.0"
  50. Source Destination Connected?
  51. ------------------------------ ------------------------------ ----------------
  52. vzwc1:172.168.1.61 vzwc2:172.168.1.62 passed
  53. Result: TCP connectivity check passed for subnet "172.168.1.0"
  54. Interfaces found on subnet "192.168.1.0" that are likely candidates for VIP are:
  55. vzwc2 net0:192.168.1.62
  56. vzwc1 net0:192.168.1.61
  57. Interfaces found on subnet "172.168.1.0" that are likely candidates for VIP are:
  58. vzwc2 net1:172.168.1.62
  59. vzwc1 net1:172.168.1.61
  60. WARNING:
  61. Could not find a suitable set of interfaces for the private interconnect
  62. Checking subnet mask consistency...
  63. Subnet mask consistency check passed for subnet "192.168.1.0".
  64. Subnet mask consistency check passed for subnet "172.168.1.0".
  65. Subnet mask consistency check passed.
  66. Result: Node connectivity check passed
  67. Checking multicast communication...
  68. Checking subnet "192.168.1.0" for multicast communication with multicast group "230.0.1.0"...
  69. Check of subnet "192.168.1.0" for multicast communication with multicast group "230.0.1.0" passed.
  70. Checking subnet "172.168.1.0" for multicast communication with multicast group "230.0.1.0"...
  71. Check of subnet "172.168.1.0" for multicast communication with multicast group "230.0.1.0" passed.
  72. Check of multicast communication passed.
  73. Check: Total memory
  74. Node Name Available Required Status
  75. ------------ ------------------------ ------------------------ ----------
  76. vzwc2 4GB (4194304.0KB) 2GB (2097152.0KB) passed
  77. vzwc1 4GB (4194304.0KB) 2GB (2097152.0KB) passed
  78. Result: Total memory check passed
  79. Check: Available memory
  80. Node Name Available Required Status
  81. ------------ ------------------------ ------------------------ ----------
  82. vzwc2 2.927GB (3069192.0KB) 50MB (51200.0KB) passed
  83. vzwc1 2.4648GB (2584568.0KB) 50MB (51200.0KB) passed
  84. Result: Available memory check passed
  85. Check: Swap space
  86. Node Name Available Required Status
  87. ------------ ------------------------ ------------------------ ----------
  88. vzwc2 4GB (4194300.0KB) 4GB (4194304.0KB) failed
  89. vzwc1 4GB (4194300.0KB) 4GB (4194304.0KB) failed
  90. Result: Swap space check failed
  91. Check: Free disk space for "vzwc2:/tmp"
  92. Path Node Name Mount point Available Required Status
  93. ---------------- ------------ ------------ ------------ ------------ ------------
  94. /tmp vzwc2 /tmp 6.453GB 1GB passed
  95. Result: Free disk space check passed for "vzwc2:/tmp"
  96. Check: Free disk space for "vzwc1:/tmp"
  97. Path Node Name Mount point Available Required Status
  98. ---------------- ------------ ------------ ------------ ------------ ------------
  99. /tmp vzwc1 /tmp 5.9748GB 1GB passed
  100. Result: Free disk space check passed for "vzwc1:/tmp"
  101. Check: User existence for "grid"
  102. Node Name Status Comment
  103. ------------ ------------------------ ------------------------
  104. vzwc2 passed exists(1100)
  105. vzwc1 passed exists(1100)
  106. Checking for multiple users with UID value 1100
  107. Result: Check for multiple users with UID value 1100 passed
  108. Result: User existence check passed for "grid"
  109. Check: Group existence for "oinstall"
  110. Node Name Status Comment
  111. ------------ ------------------------ ------------------------
  112. vzwc2 passed exists
  113. vzwc1 passed exists
  114. Result: Group existence check passed for "oinstall"
  115. Check: Group existence for "dba"
  116. Node Name Status Comment
  117. ------------ ------------------------ ------------------------
  118. vzwc2 passed exists
  119. vzwc1 passed exists
  120. Result: Group existence check passed for "dba"
  121. Check: Membership of user "grid" in group "oinstall" [as Primary]
  122. Node Name User Exists Group Exists User in Group Primary Status
  123. ---------------- ------------ ------------ ------------ ------------ ------------
  124. vzwc2 yes yes yes yes passed
  125. vzwc1 yes yes yes yes passed
  126. Result: Membership check for user "grid" in group "oinstall" [as Primary] passed
  127. Check: Membership of user "grid" in group "dba"
  128. Node Name User Exists Group Exists User in Group Status
  129. ---------------- ------------ ------------ ------------ ----------------
  130. vzwc2 yes yes yes passed
  131. vzwc1 yes yes yes passed
  132. Result: Membership check for user "grid" in group "dba" passed
  133. Check: Run level
  134. Node Name run level Required Status
  135. ------------ ------------------------ ------------------------ ----------
  136. vzwc2 3 3 passed
  137. vzwc1 3 3 passed
  138. Result: Run level check passed
  139. Check: Hard limits for "maximum open file descriptors"
  140. Node Name Type Available Required Status
  141. ---------------- ------------ ------------ ------------ ----------------
  142. vzwc2 hard 65536 65536 passed
  143. vzwc1 hard 65536 65536 passed
  144. Result: Hard limits check passed for "maximum open file descriptors"
  145. Check: Soft limits for "maximum open file descriptors"
  146. Node Name Type Available Required Status
  147. ---------------- ------------ ------------ ------------ ----------------
  148. vzwc2 soft 65536 1024 passed
  149. vzwc1 soft 65536 1024 passed
  150. Result: Soft limits check passed for "maximum open file descriptors"
  151. Check: Hard limits for "maximum user processes"
  152. Node Name Type Available Required Status
  153. ---------------- ------------ ------------ ------------ ----------------
  154. vzwc2 hard 29995 16384 passed
  155. vzwc1 hard 29995 16384 passed
  156. Result: Hard limits check passed for "maximum user processes"
  157. Check: Soft limits for "maximum user processes"
  158. Node Name Type Available Required Status
  159. ---------------- ------------ ------------ ------------ ----------------
  160. vzwc2 soft 29995 2047 passed
  161. vzwc1 soft 29995 2047 passed
  162. Result: Soft limits check passed for "maximum user processes"
  163. Check: System architecture
  164. Node Name Available Required Status
  165. ------------ ------------------------ ------------------------ ----------
  166. vzwc2 64-bit amd64 kernel modules 64-bit amd64 kernel modules passed
  167. vzwc1 64-bit amd64 kernel modules 64-bit amd64 kernel modules passed
  168. Result: System architecture check passed
  169. Check: Kernel version
  170. Node Name Available Required Status
  171. ------------ ------------------------ ------------------------ ----------
  172. vzwc2 5.11 5.11 passed
  173. vzwc1 5.11 5.11 passed
  174. Result: Kernel version check passed
  175. Check: Kernel parameter for "project.max-shm-memory"
  176. Node Name Current Required Status
  177. ------------ ------------------------ ------------------------ ----------
  178. vzwc2 5368709120 2147483648 passed
  179. vzwc1 5368709120 2147483648 passed
  180. Result: Kernel parameter check passed for "project.max-shm-memory"
  181. Checking for multiple users with UID value 0
  182. Result: Check for multiple users with UID value 0 passed
  183. Check: Current group ID
  184. Result: Current group ID check passed
  185. Starting check for consistency of primary group of root user
  186. Node Name Status
  187. ------------------------------------ ------------------------
  188. vzwc2 passed
  189. vzwc1 passed
  190. Check for consistency of root user's primary group passed
  191. Starting Clock synchronization checks using Network Time Protocol(NTP)...
  192. NTP Configuration file check started...
  193. Network Time Protocol(NTP) configuration file not found on any of the nodes. Oracle Cluster Time Synchronization Service(CTSS) can be used instead of NTP for time synchronization on the cluster nodes
  194. No NTP Daemons or Services were found to be running
  195. Result: Clock synchronization check using Network Time Protocol(NTP) passed
  196. Checking Core file name pattern consistency...
  197. Core file name pattern consistency check passed.
  198. Checking to make sure user "grid" is not in "root" group
  199. Node Name Status Comment
  200. ------------ ------------------------ ------------------------
  201. vzwc2 passed does not exist
  202. vzwc1 passed does not exist
  203. Result: User "grid" is not part of "root" group. Check passed
  204. Check default user file creation mask
  205. Node Name Available Required Comment
  206. ------------ ------------------------ ------------------------ ----------
  207. vzwc2 0022 0022 passed
  208. vzwc1 0022 0022 passed
  209. Result: Default user file creation mask check passed
  210. Checking consistency of file "/etc/resolv.conf" across nodes
  211. Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined
  212. File "/etc/resolv.conf" does not have both domain and search entries defined
  213. Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...
  214. domain entry in file "/etc/resolv.conf" is consistent across nodes
  215. Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes...
  216. search entry in file "/etc/resolv.conf" is consistent across nodes
  217. Checking DNS response time for an unreachable node
  218. Node Name Status
  219. ------------------------------------ ------------------------
  220. vzwc2 passed
  221. vzwc1 passed
  222. The DNS response time for an unreachable node is within acceptable limit on all nodes
  223. File "/etc/resolv.conf" is consistent across nodes
  224. Check: Time zone consistency
  225. Result: Time zone consistency check passed
  226. Pre-check for cluster services setup was unsuccessful on all the nodes.

\

注意: Solaris11 <喎?http://www.2cto.com/kf/ware/vc/" target="_blank" class="keylink">vc3Ryb25nPsnPsLLXsDExZ1IyIFJBQyBHSbXEyrG68iAs1NrX7rrz1rTQ0HJvb3Quc2jV4rj2vcWxvtDo0qq9+MjrR1JJRF9IT01FLMi7uvPWtNDQLi9yb290LnNoo6y38dTyu+GxqLTtPC9wPgo8cD5wd2Q6IGNhbm5vdCBhY2Nlc3MgcGFyZW50IGRpcmVjdG9yaWVzIFtQZXJtaXNzaW9uIGRlbmllZF08YnI+ClJ1biByb290LnNoIGZyb20gYSBkaXJlY3RvcnkgdGhhdCBoYXMgcmVhZC9leGVjdXRlIGFjY2VzcyB0byB0aGUgZ3JpZCBvd25lciA="grid'
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed

详见

11.2 Grid Infrastructure root.sh Failed with "error retrieving current directory" (Doc ID 1114203.1)

人气教程排行