• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

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

mysql 搞代码 4年前 (2022-01-09) 24次浏览 已收录 0个评论

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

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 -alo0: flags=2001000849 mtu 8232 index 1        inet 127.0.0.1 netmask ff000000 net0: flags=1000843 mtu 1500 index 2        inet 192.168.1.61 netmask ffffff00 broadcast 192.168.1.255        ether 8:0:27:3c:8d:72 net1: flags=1000843 mtu 1500 index 3        inet 172.168.1.61 netmask ffffff00 broadcast 172.168.1.255        ether 8:0:27:16:13:40 lo0: flags=2002000849 mtu 8252 index 1        inet6 ::1/128 net0: flags=20002000840 mtu 1500 index 2        inet6 ::/0         ether 8:0:27:3c:8d:72 net1: flags=20002000840 mtu 1500 index 3        inet6 ::/0         ether 8:0:27:16:13:40 root@vzwc1:~# hostnamevzwc1
root@vzwc1:~# format Searching for disks...doneAVAILABLE DISK SELECTIONS:       0. c7t0d0           /pci@0,0/pci8086,2829@d/disk@0,0       1. c7t2d0           /pci@0,0/pci8086,2829@d/disk@2,0       2. c7t3d0           /pci@0,0/pci8086,2829@d/disk@3,0       3. c7t4d0           /pci@0,0/pci8086,2829@d/disk@4,0       4. c7t5d0           /pci@0,0/pci8086,2829@d/disk@5,0       5. c7t6d0           /pci@0,0/pci8086,2829@d/disk@6,0       6. c7t7d0           /pci@0,0/pci8086,2829@d/disk@7,0       7. c7t8d0           /pci@0,0/pci8086,2829@d/disk@8,0Specify disk (enter its number): 1selecting c7t2d0[disk formatted]No Solaris fdisk partition found.FORMAT MENU:        disk       - select a disk        type       - select (define) a disk type        partition  - select (define) a partition table        current    - describe the current disk        format     - format and analyze the disk        fdisk      - run the fdisk program        repair     - repair a defective sector        label      - write label to the disk        analyze    - surface analysis        defect     - defect list management        backup     - search for backup labels        verify     - read and display labels        save       - save new disk/partition definitions        inquiry    - show disk ID        volname    - set 8-character volume name        !     - execute , then return        quitformat> pWARNING - This disk may be in use by an application that has          modified the fdisk table. Ensure that this disk is          not currently in use before proceeding to use fdisk.format> fdisk       No fdisk table exists. The default partition for the disk is:  a 100% "SOLARIS System" partitionType "y" to accept the default partition,  otherwise type "n" to edit the partition table.yformat> pPARTITION MENU:        0      - change `0' partition        1      - change `1' partition        2      - change `2' partition        3      - change `3' partition        4      - change `4' partition        5      - change `5' partition        6      - change `6' partition        7      - change `7' partition        select - select a predefined table        modify - modify a predefined partition table        name   - name the current table        print  - display the current table        label  - write partition map and label to<p>本文来源gao!%daima.com搞$代*!码$网9</p> the disk        ! - execute , then return        quitpartition> pCurrent partition table (default):Total disk cylinders available: 1533 + 2 (reserved cylinders)Part      Tag    Flag     Cylinders        Size            Blocks  0 unassigned    wm       0               0         (0/0/0)          0  1 unassigned    wm       0               0         (0/0/0)          0  2     backup    wu       0 - 1532        2.99GB    (1533/0/0) 6279168  3 unassigned    wm       0               0         (0/0/0)          0  4 unassigned    wm       0               0         (0/0/0)          0  5 unassigned    wm       0               0         (0/0/0)          0  6 unassigned    wm       0               0         (0/0/0)          0  7 unassigned    wm       0               0         (0/0/0)          0  8       boot    wu       0 -    0        2.00MB    (1/0/0)       4096  9 unassigned    wm       0               0         (0/0/0)          0partition> 6Part      Tag    Flag     Cylinders        Size            Blocks  6 unassigned    wm       0               0         (0/0/0)          0Enter partition id tag[unassigned]: usrEnter partition permission flags[wm]: Enter new starting cyl[1]: 3Enter partition size[0b, 0c, 3e, 0.00mb, 0.00gb]: 2gpartition> labelReady to label disk, continue? yespartition> pCurrent partition table (unnamed):Total disk cylinders available: 1533 + 2 (reserved cylinders)Part      Tag    Flag     Cylinders        Size            Blocks  0 unassigned    wm       0               0         (0/0/0)          0  1 unassigned    wm       0               0         (0/0/0)          0  2     backup    wu       0 - 1532        2.99GB    (1533/0/0) 6279168  3 unassigned    wm       0               0         (0/0/0)          0  4 unassigned    wm       0               0         (0/0/0)          0  5 unassigned    wm       0               0         (0/0/0)          0  6        usr    wm       3 - 1026        2.00GB    (1024/0/0) 4194304  7 unassigned    wm       0               0         (0/0/0)          0  8       boot    wu       0 -    0        2.00MB    (1/0/0)       4096  9 unassigned    wm       0               0         (0/0/0)          0partition> qFORMAT MENU:        disk       - select a disk        type       - select (define) a disk type        partition  - select (define) a partition table        current    - describe the current disk        format     - format and analyze the disk        fdisk      - run the fdisk program        repair     - repair a defective sector        label      - write label to the disk        analyze    - surface analysis        defect     - defect list management        backup     - search for backup labels        verify     - read and display labels        save       - save new disk/partition definitions        inquiry    - show disk ID        volname    - set 8-character volume name        !     - execute , then return        quitformat> p

root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t2d0s6root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t3d0s6root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t4d0s6root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t5d0s6root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t6d0s6root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t7d0s6root@vzwc1:~# chown -R grid:asmadmin /dev/rdsk/c7t8d0s6root@vzwc1:~# root@vzwc1:~# chmod 600 /dev/rdsk/c7t2d0s6root@vzwc1:~# chmod 600 /dev/rdsk/c7t3d0s6root@vzwc1:~# chmod 600 /dev/rdsk/c7t4d0s6root@vzwc1:~# chmod 600 /dev/rdsk/c7t5d0s6root@vzwc1:~# chmod 600 /dev/rdsk/c7t6d0s6root@vzwc1:~# chmod 600 /dev/rdsk/c7t7d0s6root@vzwc1:~# chmod 600 /dev/rdsk/c7t8d0s6

grid@vzwc1:~/grid$ ./runcluvfy.sh stage -pre crsinst -n vzwc1,vzwc2 -fixup -verbose                                                                                                                                       Performing pre-checks for cluster services setup Checking node reachability...Check: Node reachability from node "vzwc1"  Destination Node                      Reachable?                ------------------------------------  ------------------------  vzwc1                                 yes                       vzwc2                                 yes                     Result: Node reachability check passed from node "vzwc1"Checking user equivalence...Check: User equivalence for user "grid"  Node Name                             Status                    ------------------------------------  ------------------------  vzwc2                                 passed                    vzwc1                                 passed                  Result: User equivalence check passed for user "grid"Checking node connectivity...Checking hosts config file...  Node Name                             Status                    ------------------------------------  ------------------------  vzwc2                                 passed                    vzwc1                                 passed                  Verification of the hosts config file successfulInterface information for node "vzwc2" Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU    ------ --------------- --------------- --------------- --------------- ----------------- ------ net0   192.168.1.62    192.168.1.0     192.168.1.62    192.168.1.1     08:00:27:79:E4:F3 1500   net1   172.168.1.62    172.168.1.0     172.168.1.62    192.168.1.1     08:00:27:B1:D8:FC 1500  Interface information for node "vzwc1" Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU    ------ --------------- --------------- --------------- --------------- ----------------- ------ net0   192.168.1.61    192.168.1.0     192.168.1.61    192.168.1.1     08:00:27:3C:8D:72 1500   net1   172.168.1.61    172.168.1.0     172.168.1.61    192.168.1.1     08:00:27:16:13:40 1500  Check: Node connectivity of subnet "192.168.1.0"  Source                          Destination                     Connected?        ------------------------------  ------------------------------  ----------------  vzwc2[192.168.1.62]             vzwc1[192.168.1.61]             yes             Result: Node connectivity passed for subnet "192.168.1.0" with node(s) vzwc2,vzwc1Check: TCP connectivity of subnet "192.168.1.0"  Source                          Destination                     Connected?        ------------------------------  ------------------------------  ----------------  vzwc1:192.168.1.61              vzwc2:192.168.1.62              passed          Result: TCP connectivity check passed for subnet "192.168.1.0"Check: Node connectivity of subnet "172.168.1.0"  Source                          Destination                     Connected?        ------------------------------  ------------------------------  ----------------  vzwc2[172.168.1.62]             vzwc1[172.168.1.61]             yes             Result: Node connectivity passed for subnet "172.168.1.0" with node(s) vzwc2,vzwc1Check: TCP connectivity of subnet "172.168.1.0"  Source                          Destination                     Connected?        ------------------------------  ------------------------------  ----------------  vzwc1:172.168.1.61              vzwc2:172.168.1.62              passed          Result: TCP connectivity check passed for subnet "172.168.1.0"Interfaces found on subnet "192.168.1.0" that are likely candidates for VIP are:vzwc2 net0:192.168.1.62vzwc1 net0:192.168.1.61Interfaces found on subnet "172.168.1.0" that are likely candidates for VIP are:vzwc2 net1:172.168.1.62vzwc1 net1:172.168.1.61WARNING: Could not find a suitable set of interfaces for the private interconnectChecking subnet mask consistency...Subnet mask consistency check passed for subnet "192.168.1.0".Subnet mask consistency check passed for subnet "172.168.1.0".Subnet mask consistency check passed.Result: Node connectivity check passedChecking multicast communication...Checking subnet "192.168.1.0" for multicast communication with multicast group "230.0.1.0"...Check of subnet "192.168.1.0" for multicast communication with multicast group "230.0.1.0" passed.Checking subnet "172.168.1.0" for multicast communication with multicast group "230.0.1.0"...Check of subnet "172.168.1.0" for multicast communication with multicast group "230.0.1.0" passed.Check of multicast communication passed.Check: Total memory   Node Name     Available                 Required                  Status      ------------  ------------------------  ------------------------  ----------  vzwc2         4GB (4194304.0KB)         2GB (2097152.0KB)         passed      vzwc1         4GB (4194304.0KB)         2GB (2097152.0KB)         passed    Result: Total memory check passedCheck: Available memory   Node Name     Available                 Required                  Status      ------------  ------------------------  ------------------------  ----------  vzwc2         2.927GB (3069192.0KB)     50MB (51200.0KB)          passed      vzwc1         2.4648GB (2584568.0KB)    50MB (51200.0KB)          passed    Result: Available memory check passedCheck: Swap space   Node Name     Available                 Required                  Status      ------------  ------------------------  ------------------------  ----------  vzwc2         4GB (4194300.0KB)         4GB (4194304.0KB)         failed      vzwc1         4GB (4194300.0KB)         4GB (4194304.0KB)         failed    Result: Swap space check failedCheck: Free disk space for "vzwc2:/tmp"   Path              Node Name     Mount point   Available     Required      Status        ----------------  ------------  ------------  ------------  ------------  ------------  /tmp              vzwc2         /tmp          6.453GB       1GB           passed      Result: Free disk space check passed for "vzwc2:/tmp"Check: Free disk space for "vzwc1:/tmp"   Path              Node Name     Mount point   Available     Required      Status        ----------------  ------------  ------------  ------------  ------------  ------------  /tmp              vzwc1         /tmp          5.9748GB      1GB           passed      Result: Free disk space check passed for "vzwc1:/tmp"Check: User existence for "grid"   Node Name     Status                    Comment                   ------------  ------------------------  ------------------------  vzwc2         passed                    exists(1100)              vzwc1         passed                    exists(1100)            Checking for multiple users with UID value 1100Result: Check for multiple users with UID value 1100 passed Result: User existence check passed for "grid"Check: Group existence for "oinstall"   Node Name     Status                    Comment                   ------------  ------------------------  ------------------------  vzwc2         passed                    exists                    vzwc1         passed                    exists                  Result: Group existence check passed for "oinstall"Check: Group existence for "dba"   Node Name     Status                    Comment                   ------------  ------------------------  ------------------------  vzwc2         passed                    exists                    vzwc1         passed                    exists                  Result: Group existence check passed for "dba"Check: Membership of user "grid" in group "oinstall" [as Primary]  Node Name         User Exists   Group Exists  User in Group  Primary       Status        ----------------  ------------  ------------  ------------  ------------  ------------  vzwc2             yes           yes           yes           yes           passed        vzwc1             yes           yes           yes           yes           passed      Result: Membership check for user "grid" in group "oinstall" [as Primary] passedCheck: Membership of user "grid" in group "dba"   Node Name         User Exists   Group Exists  User in Group  Status            ----------------  ------------  ------------  ------------  ----------------  vzwc2             yes           yes           yes           passed            vzwc1             yes           yes           yes           passed          Result: Membership check for user "grid" in group "dba" passedCheck: Run level   Node Name     run level                 Required                  Status      ------------  ------------------------  ------------------------  ----------  vzwc2         3                         3                         passed      vzwc1         3                         3                         passed    Result: Run level check passedCheck: Hard limits for "maximum open file descriptors"   Node Name         Type          Available     Required      Status            ----------------  ------------  ------------  ------------  ----------------  vzwc2             hard          65536         65536         passed            vzwc1             hard          65536         65536         passed          Result: Hard limits check passed for "maximum open file descriptors"Check: Soft limits for "maximum open file descriptors"   Node Name         Type          Available     Required      Status            ----------------  ------------  ------------  ------------  ----------------  vzwc2             soft          65536         1024          passed            vzwc1             soft          65536         1024          passed          Result: Soft limits check passed for "maximum open file descriptors"Check: Hard limits for "maximum user processes"   Node Name         Type          Available     Required      Status            ----------------  ------------  ------------  ------------  ----------------  vzwc2             hard          29995         16384         passed            vzwc1             hard          29995         16384         passed          Result: Hard limits check passed for "maximum user processes"Check: Soft limits for "maximum user processes"   Node Name         Type          Available     Required      Status            ----------------  ------------  ------------  ------------  ----------------  vzwc2             soft          29995         2047          passed            vzwc1             soft          29995         2047          passed          Result: Soft limits check passed for "maximum user processes"Check: System architecture   Node Name     Available                 Required                  Status      ------------  ------------------------  ------------------------  ----------  vzwc2         64-bit amd64 kernel modules  64-bit amd64 kernel modules  passed      vzwc1         64-bit amd64 kernel modules  64-bit amd64 kernel modules  passed    Result: System architecture check passedCheck: Kernel version   Node Name     Available                 Required                  Status      ------------  ------------------------  ------------------------  ----------  vzwc2         5.11                      5.11                      passed      vzwc1         5.11                      5.11                      passed    Result: Kernel version check passedCheck: Kernel parameter for "project.max-shm-memory"   Node Name     Current                   Required                  Status      ------------  ------------------------  ------------------------  ----------  vzwc2         5368709120                2147483648                passed      vzwc1         5368709120                2147483648                passed    Result: Kernel parameter check passed for "project.max-shm-memory"Checking for multiple users with UID value 0Result: Check for multiple users with UID value 0 passed Check: Current group ID Result: Current group ID check passedStarting check for consistency of primary group of root user  Node Name                             Status                    ------------------------------------  ------------------------  vzwc2                                 passed                    vzwc1                                 passed                  Check for consistency of root user's primary group passedStarting Clock synchronization checks using Network Time Protocol(NTP)...NTP Configuration file check started...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 nodesNo NTP Daemons or Services were found to be runningResult: Clock synchronization check using Network Time Protocol(NTP) passedChecking Core file name pattern consistency...Core file name pattern consistency check passed.Checking to make sure user "grid" is not in "root" group  Node Name     Status                    Comment                   ------------  ------------------------  ------------------------  vzwc2         passed                    does not exist            vzwc1         passed                    does not exist          Result: User "grid" is not part of "root" group. Check passedCheck default user file creation mask  Node Name     Available                 Required                  Comment     ------------  ------------------------  ------------------------  ----------  vzwc2         0022                      0022                      passed      vzwc1         0022                      0022                      passed    Result: Default user file creation mask check passedChecking consistency of file "/etc/resolv.conf" across nodesChecking the file "/etc/resolv.conf" to make sure only one of domain and search entries is definedFile "/etc/resolv.conf" does not have both domain and search entries definedChecking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...domain entry in file "/etc/resolv.conf" is consistent across nodesChecking if search entry in file "/etc/resolv.conf" is consistent across the nodes...search entry in file "/etc/resolv.conf" is consistent across nodesChecking DNS response time for an unreachable node  Node Name                             Status                    ------------------------------------  ------------------------  vzwc2                                 passed                    vzwc1                                 passed                  The DNS response time for an unreachable node is within acceptable limit on all nodesFile "/etc/resolv.conf" is consistent across nodesCheck: Time zone consistency Result: Time zone consistency check passedPre-check for cluster services setup was unsuccessful on all the nodes. 

注意: Solaris11 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)


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Solaris11配置OracleRACASMDisk以及运行root.sh注意事项
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址