当前位置: 首页 > Linux, ORACLE > 正文

Oracle 12cR2 RAC

ASM POCKET REFERENCE GUIDE

Download the latest ASM Pocket Reference Guide prepared by Charles Kim, Oracle ACE Director, and Nitin Vengurlekar

Racattack12c-book-title.png

 

# cat /etc/yum.repos.d/local.repo  
[local]
name=Local Repository
baseurl=file:///media
enabled=1
gpgcheck=0
protect=1


# yum whatprovides virsh

HPE ProLiant DL580 Gen9 IPMI

modprobe ipmi_msghandler
modprobe ipmi_devintf
modprobe ipmi_si
ipmitool lan print

# dmidecode | grep -i Proliant
        Product Name: ProLiant DL580 Gen9
        Family: ProLiant
        Product Name: ProLiant DL580 Gen9

[root@hisdb01 ~]# modprobe ipmi_msghandler
modprobe ipmi_devintf
[root@hisdb01 ~]# modprobe ipmi_devintf
modprobe ipmi_si
[root@hisdb01 ~]# modprobe ipmi_si
[root@hisdb01 ~]# ipmitool lan print
Set in Progress         : Set Complete
Auth Type Support       : 
Auth Type Enable        : Callback : 
                        : User     : 
                        : Operator : 
                        : Admin    : 
                        : OEM      : 
IP Address Source       : Static Address
IP Address              : 10.20.0.78
Subnet Mask             : 255.255.255.0
MAC Address             : e0:07:1b:fc:cc:6a
SNMP Community String   : 
BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled
Default Gateway IP      : 10.20.0.254
802.1q VLAN ID          : Disabled
802.1q VLAN Priority    : 0
RMCP+ Cipher Suites     : 0,1,2,3
Cipher Suite Priv Max   : XuuaXXXXXXXXXXX
                        :     X=Cipher Suite Unused
                        :     c=CALLBACK
                        :     u=USER
                        :     o=OPERATOR
                        :     a=ADMIN
                        :     O=OEM
[root@hisdb01 ~]# 

# rpm -qf /usr/bin/systool
sysfsutils-2.1.0-16.el7.x86_64

# rpm -qf /usr/bin/systool
sysfsutils-2.1.0-16.el7.x86_64
[root@localhost repodata]# rpm -qi sysfsutils
Name        : sysfsutils
Version     : 2.1.0
Release     : 16.el7
Architecture: x86_64
Install Date: Fri Mar  2 12:10:08 2018
Group       : Development/Tools
Size        : 126291
License     : GPLv2
Signature   : RSA/SHA256, Wed May 14 09:03:43 2014, Key ID 72f97b74ec551f03
Source RPM  : sysfsutils-2.1.0-16.el7.src.rpm
Build Date  : Sun May  4 13:52:37 2014
Build Host  : ca-buildj3.us.oracle.com
Relocations : (not relocatable)
Vendor      : Oracle America
URL         : http://sourceforge.net/projects/linux-diag/
Summary     : Utilities for interfacing with sysfs
Description :
This package's purpose is to provide a set of utilities for interfacing
with sysfs.


# yum  install sysfsutils
Loaded plugins: refresh-packagekit, security, ulninfo
Setting up Install Process
local                                                                                                                                            | 3.7 kB     00:00 ... 
local/primary_db                                                                                                                                 | 3.1 MB     00:00 ... 
Resolving Dependencies
--> Running transaction check
---> Package sysfsutils.x86_64 0:2.1.0-7.el6 will be installed
--> Processing Dependency: libsysfs.so.2()(64bit) for package: sysfsutils-2.1.0-7.el6.x86_64
--> Running transaction check
---> Package libsysfs.x86_64 0:2.1.0-7.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
 Package                                   Arch                                  Version                                     Repository                            Size
========================================================================================================================================================================
Installing:
 sysfsutils                                x86_64                                2.1.0-7.el6                                 local                                 37 k
Installing for dependencies:
 libsysfs                                  x86_64                                2.1.0-7.el6                                 local                                 44 k

Transaction Summary
========================================================================================================================================================================
Install       2 Package(s)

Total download size: 81 k
Installed size: 256 k
Is this ok [y/N]: y
Downloading Packages:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                   5.4 MB/s |  81 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : libsysfs-2.1.0-7.el6.x86_64                                                                                                                          1/2 
  Installing : sysfsutils-2.1.0-7.el6.x86_64                                                                                                                        2/2 
  Verifying  : sysfsutils-2.1.0-7.el6.x86_64                                                                                                                        1/2 
  Verifying  : libsysfs-2.1.0-7.el6.x86_64                                                                                                                          2/2 

Installed:
  sysfsutils.x86_64 0:2.1.0-7.el6                                                                                                                                       

Dependency Installed:
  libsysfs.x86_64 0:2.1.0-7.el6                                                                                                                                         

Complete!

DETERMINE WWN

# lspci | grep -i fibre
41:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
47:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
[root@hisdb01 rman_backup]# systool -av -c fc_host
Class = "fc_host"

  Class Device = "host1"
  Class Device path = "/sys/devices/pci0000:40/0000:40:02.2/0000:47:00.0/host1/fc_host/host1"
    dev_loss_tmo        = "16"
    fabric_name         = "0x1000c4f57c6306cc"
    issue_lip           = <store method only>
    max_npiv_vports     = "254"
    node_name           = "0x500143803310964d"
    npiv_vports_inuse   = "0"
    port_id             = "0x010800"
    port_name           = "0x500143803310964c"
    port_state          = "Online"
    port_type           = "NPort (fabric via point-to-point)"
    speed               = "8 Gbit"
    supported_classes   = "Class 3"
    supported_speeds    = "1 Gbit, 2 Gbit, 4 Gbit, 8 Gbit"
    symbolic_name       = "HPAK344A FW:v8.02.00 DVR:v8.07.00.33.40.0-k"
    system_hostname     = ""
    tgtid_bind_type     = "wwpn (World Wide Port Name)"
    uevent              = 
    vport_create        = <store method only>
    vport_delete        = <store method only>

    Device = "host1"
    Device path = "/sys/devices/pci0000:40/0000:40:02.2/0000:47:00.0/host1"
      fw_dump             = 
      nvram               = "ISP "
      optrom_ctl          = <store method only>
      optrom              = 
      reset               = <store method only>
      sfp                 = ""
      uevent              = "DEVTYPE=scsi_host"
      vpd                 = ""


  Class Device = "host2"
  Class Device path = "/sys/devices/pci0000:40/0000:40:03.0/0000:41:00.0/host2/fc_host/host2"
    dev_loss_tmo        = "16"
    fabric_name         = "0x1000c4f57c5e6898"
    issue_lip           = <store method only>
    max_npiv_vports     = "254"
    node_name           = "0x5001438033109a97"
    npiv_vports_inuse   = "0"
    port_id             = "0x010800"
    port_name           = "0x5001438033109a96"
    port_state          = "Online"
    port_type           = "NPort (fabric via point-to-point)"
    speed               = "8 Gbit"
    supported_classes   = "Class 3"
    supported_speeds    = "1 Gbit, 2 Gbit, 4 Gbit, 8 Gbit"
    symbolic_name       = "HPAK344A FW:v8.02.00 DVR:v8.07.00.33.40.0-k"
    system_hostname     = ""
    tgtid_bind_type     = "wwpn (World Wide Port Name)"
    uevent              = 
    vport_create        = <store method only>
    vport_delete        = <store method only>

    Device = "host2"
    Device path = "/sys/devices/pci0000:40/0000:40:03.0/0000:41:00.0/host2"
      fw_dump             = 
      nvram               = "ISP "
      optrom_ctl          = <store method only>
      optrom              = 
      reset               = <store method only>
      sfp                 = ""
      uevent              = "DEVTYPE=scsi_host"
      vpd                 = ""

# yum install oracle-database-server-12cR2-preinstall
Loaded plugins: langpacks, ulninfo
ol7_latest/x86_64/primary                                                                                    |  32 MB  00:00:33     
ol7_latest                                                                                                              23913/23913
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-server-12cR2-preinstall.x86_64 0:1.0-3.el7 will be installed
--> Processing Dependency: ksh for package: oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64
--> Processing Dependency: libaio-devel for package: oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64
--> Running transaction check
---> Package ksh.x86_64 0:20120801-34.el7 will be installed
---> Package libaio-devel.x86_64 0:0.3.109-13.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                                             Arch               Version                        Repository              Size
====================================================================================================================================
Installing:
 oracle-database-server-12cR2-preinstall             x86_64             1.0-3.el7                      ol7_latest              19 k
Installing for dependencies:
 ksh                                                 x86_64             20120801-34.el7                ol7_latest             883 k
 libaio-devel                                        x86_64             0.3.109-13.el7                 ol7_latest              12 k

Transaction Summary
====================================================================================================================================
Install  1 Package (+2 Dependent packages)

Total download size: 914 k
Installed size: 3.2 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/ol7_latest/packages/libaio-devel-0.3.109-13.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Public key for libaio-devel-0.3.109-13.el7.x86_64.rpm is not installed
(1/3): libaio-devel-0.3.109-13.el7.x86_64.rpm                                                                |  12 kB  00:00:00     
(2/3): oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64.rpm                                          |  19 kB  00:00:00     
(3/3): ksh-20120801-34.el7.x86_64.rpm                                                                        | 883 kB  00:00:17     
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                51 kB/s | 914 kB  00:00:17     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Importing GPG key 0xEC551F03:
 Userid     : "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>"
 Fingerprint: 4214 4123 fecf c55b 9086 313d 72f9 7b74 ec55 1f03
 Package    : 7:oraclelinux-release-7.4-1.0.4.el7.x86_64 (@anaconda/7.4)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : ksh-20120801-34.el7.x86_64                                                                                       1/3 
  Installing : libaio-devel-0.3.109-13.el7.x86_64                                                                               2/3 
  Installing : oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64                                                         3/3 
  Verifying  : libaio-devel-0.3.109-13.el7.x86_64                                                                               1/3 
  Verifying  : oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64                                                         2/3 
  Verifying  : ksh-20120801-34.el7.x86_64                                                                                       3/3 

Installed:
  oracle-database-server-12cR2-preinstall.x86_64 0:1.0-3.el7                                                                        

Dependency Installed:
  ksh.x86_64 0:20120801-34.el7                                 libaio-devel.x86_64 0:0.3.109-13.el7                                

Complete!
[root@localhost ~]# 

asm

[root@localhost yum.repos.d]#  yum install kmod-oracleasm -y
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package kmod-oracleasm.x86_64 0:2.0.8-19.0.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                          Arch                     Version                               Repository                    Size
====================================================================================================================================
Installing:
 kmod-oracleasm                   x86_64                   2.0.8-19.0.1.el7                      ol7_latest                   278 k

Transaction Summary
====================================================================================================================================
Install  1 Package

Total download size: 278 k
Installed size: 1.4 M
Downloading packages:
kmod-oracleasm-2.0.8-19.0.1.el7.x86_64.rpm                                                                   | 278 kB  00:00:05     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : kmod-oracleasm-2.0.8-19.0.1.el7.x86_64                                                                           1/1 
  Verifying  : kmod-oracleasm-2.0.8-19.0.1.el7.x86_64                                                                           1/1 

Installed:
  kmod-oracleasm.x86_64 0:2.0.8-19.0.1.el7                                                                                          

Complete!
[root@localhost yum.repos.d]# yum install oracleasm-support -y
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package oracleasm-support.x86_64 0:2.1.11-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                              Arch                      Version                         Repository                     Size
====================================================================================================================================
Installing:
 oracleasm-support                    x86_64                    2.1.11-1.el7                    ol7_latest                     84 k

Transaction Summary
====================================================================================================================================
Install  1 Package

Total download size: 84 k
Installed size: 265 k
Downloading packages:
oracleasm-support-2.1.11-1.el7.x86_64.rpm                                                                    |  84 kB  00:00:02     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : oracleasm-support-2.1.11-1.el7.x86_64                                                                            1/1 
Note: Forwarding request to 'systemctl enable oracleasm.service'.
Created symlink from /etc/systemd/system/multi-user.target.wants/oracleasm.service to /usr/lib/systemd/system/oracleasm.service.
  Verifying  : oracleasm-support-2.1.11-1.el7.x86_64                                                                            1/1 

Installed:
  oracleasm-support.x86_64 0:2.1.11-1.el7                                                                                           

Complete!
[root@localhost yum.repos.d]# 

# rpm -ivh oracleasmlib-2.0.12-1.el7.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:oracleasmlib-2.0.12-1.el7        ################################# [100%]

本文固定链接: http://t.yjsec.com/index.php/2018/03/01/399/ | 下一站

该日志由 admin 于2018年03月01日发表在 Linux, ORACLE 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: Oracle 12cR2 RAC | 下一站

Oracle 12cR2 RAC:等您坐沙发呢!

发表评论

快捷键:Ctrl+Enter