oracle orachk & exachk, what's new in 12.1.0.2.7
TRANSCRIPT
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle ORAchk/EXAchk What’s New in 12.1.0.2.7
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
3
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
–Automated risk identification and proactive notification before business is impacted
–Health Checks based on most impactful reoccurring problems across Oracle customer base
–Runs in your environment – no need to send anything to Oracle
–Scheduled email Health Check reports
–Findings can be integrated into other tools of choice
ORAchk & EXAchk
Engineered Systems
Non Engineered Systems
EXAchk
ORAchk
Common Framework
Lightweight & non intrusive Health Check framework for the Oracle stack
4
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
Easier to Configure and Maintain Large Enterprise-Wide Collection Data
Keep Track of Changes to the Attributes of Important Files
Quickly Find Which Checks Require Privileged Users
Broader Stack Support
Easier to Run EXAchk on Exadata Storage Servers
New Health Checks
1
2
3
4
5
5
6
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
Easier to Configure and Maintain Large Enterprise-Wide Collection Data
Keep Track of Changes to the Attributes of Important Files
Quickly Find Which Checks Require Privileged Users
Broader Stack Support
Easier to Run EXAchk on Exadata Storage Servers
New Health Checks
1
2
3
4
5
6
6
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
1. Select the Administration icon then choose Assign System to Business Unit
2. Press the Bulk Mapping button
7
Bulk Map Systems to Business Units • If you have a large number of systems, these can be mapped quickly to business units in Collection Manager via an XML bulk upload
3. Upload a mapping XML a) Press the Generate XML File (Current Mapping) button b) Download the resulting XML file underneath, which will contain your current system to
business unit mappings c) Amend the XML to show mappings you desire d) Upload new Mapping XML via Upload Mapping (XML File) button
1 2
3
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
1. Select the Administration icon then choose Manage Users, User Roles and assign System to users
2. To disable the automatic capture of users details press the button Don’t Capture User Details (When Login)
3. If you want to re-enable the automatic capture of user details press the button Capture User Details (When Login)
Selectively Capture Users During Login • By default users logging in via LDAP authentication
are captured and provided the DBA role • You can choose to disable this automatic capture.
Note: This means you will need to manually create users instead and assign the necessary role. 1
2
3
8
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
$ ./orachk -setdbupload all
Enter value for
RAT_UPLOAD_CONNECT_STRING:(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myserver44.acompany.com
)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orachkcm.acompany.com)))
Enter value for RAT_UPLOAD_PASSWORD:******
Database upload parameters successfully stored in orachk_wallet. orachk run will keep
uploading the collections in database until it is unset using ./orachk -unsetdbupload
all/<env variable name>
9
Configure Details for Upload of Collection Results • Collection Manager upload configuration only requires connection string & connection password
• The required connection details can be specified using –setdbupload
• You will then be prompted to enter the values for the connection string and password
• These values will be stored in the encrypted wallet file.
./orachk -setdbupload all ./exachk -setdbupload all or
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
$ ./orachk –getdbupload
RAT_UPLOAD_CONNECT_STRING =
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myserver44.acompany.com)(PORT=1521))(CONNECT_DATA
=(SERVER=DEDICATED)(SERVICE_NAME=orachkcm.acompany.com)))
RAT_UPLOAD_PASSWORD = ******
RAT_UPLOAD_USER = ORACHKCM
RAT_ZIP_UPLOAD_TABLE = RCA13_DOCS
10
Configure Details for Upload of Collection Results • To see the values which have been set in the wallet use –getdbupload :
./orachk -getdbupload ./exachk -getdbupload or
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Tip: To configure many ORAchk/EXAchk instances
1. Create wallet once with: -setdbupload all then enter values when
prompted
2. Copy resulting wallet to each ORAchk/EXAchk location
The environment variable RAT_WALLET_LOC can also be used to point to
the location of the wallet directory.
$ ./orachk -checkdbupload
Configuration is good to upload result to database.
• Verify ORAchk/EXAchk can make successful connection to the database for upload using –checkdbupload:
• If connection details are set ORAchk/EXAchk will attempt to upload the results at the end of Health Check collection
11
Configure Details for Upload of Collection Results
./orachk -checkdbupload ./exachk -checkdbupload or
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Other Upload Parameters Note Set by default Description
RAT_UPLOAD_USER The user to connect as (default is ORACHKCM)
RAT_UPLOAD_TABLE The table name to store non-zipped collection results
RAT_PATCH_UPLOAD_TABLE The table name to store non-zipped patch results
RAT_UPLOAD_ORACLE_HOME The ORACLE_HOME used during establishing connection and uploading. (Uses GI HOME discovered by ORAchk/EXAchk by default)
RAT_UPLOAD_TABLE & RAT_PATCH_UPLOAD_TABLE
Only needed if you are using your own custom application to view collection results, rather than Collection Manager.
• If you are using your own custom application to view collection results, rather than Collection Manager, follow this process:
1. Set default parameters:
– This will prompt you for and set the RAT_UPLOAD_CONNECT_STRING & RAT_UPLOAD_PASSWORD
2. Set optional parameters for RAT_UPLOAD_TABLE & RAT_PATCH_UPLOAD_TABLE
12
Configure Details for Upload of Collection Results
./orachk –setdbupload all ./exachk –setdbupload all
./orachk -setdbupload RAT_UPLOAD_TABLE,RAT_PATCH_UPLOAD_TABLE
./exachk -setdbupload RAT_UPLOAD_TABLE,RAT_PATCH_UPLOAD_TABLE
or
or
Note: RCA13_DOCS is no longer configurable if you wish to use Collection Manager
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Uploaded collections are now purged from Collection Manager
• By default collections older than 3 months are purged
• To adjust or disable the collection purging frequency:
1. Select the Administration icon then choose Manage Email Server & Job Details
2. Select the appropriate option for purge frequency
13
Purging Old Collections
1 2
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
Easier to Configure and Maintain Large Enterprise-Wide Collection Data
Keep Track of Changes to the Attributes of Important Files
Quickly Find Which Checks Require Privileged Users
Broader Stack Support
Easier to Run EXAchk on Exadata Storage Servers
New Health Checks
1
2
3
4
5
14
6
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Track changes to the attributes of important files with –fileattr – Looks at all files & directories within Grid Infrastructure and Database homes by default
– The list of monitored directories and their contents can be configured to your specific requirements
– Use –fileattr start to start the first snapshot
15
Keep Track of Changes to the Attributes of Important Files
$ ./orachk -fileattr start
CRS stack is running and CRS_HOME is not set. Do you want to set CRS_HOME to
/u01/app/11.2.0.4/grid?[y/n][y]
Checking ssh user equivalency settings on all nodes in cluster
Node mysrv22 is configured for ssh user equivalency for oradb user
Node mysrv23 is configured for ssh user equivalency for oradb user
List of directories(recursive) for checking file attributes:
/u01/app/oradb/product/11.2.0/dbhome_11203
/u01/app/oradb/product/11.2.0/dbhome_11204
orachk has taken snapshot of file attributes for above directories at:
/orahome/oradb/orachk/orachk_mysrv21_20160504_041214
./orachk –fileattr start ./exachk –fileattr start or
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 16
Keep Track of Changes to the Attributes of Important Files
• Include other directories with –includedir <directories> using a comma separated list of directories
./orachk –fileattr start includedir “/home/oradb,/etc/oatab”
./exachk –fileattr start includedir “/home/oradb,/etc/oatab”
or
• Exclude the default discovered directories with –excludediscovery
./orachk –fileattr start includedir “/home/oradb,/etc/oatab” -excludediscovery
./exachk –fileattr start includedir “/home/oradb,/etc/oatab” -excludediscovery
or
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Note: • Use the same arguments with check that you used with start • Will proceed to perform standard health checks after attribute checking • File Attribute Changes will also show in HTML report output
• Compare current attributes against first snapshot using –fileattr check
17
Keep Track of Changes to the Attributes of Important Files
$ ./orachk -fileattr check -includedir "/root/myapp/config" -excludediscovery
CRS stack is running and CRS_HOME is not set. Do you want to set CRS_HOME to
/u01/app/12.2.0/grid?[y/n][y]
Checking for prompts on myserver18 for oragrid user...
Checking ssh user equivalency settings on all nodes in cluster
Node myserver17 is configured for ssh user equivalency for root user
List of directories(recursive) for checking file attributes:
/root/myapp/config
Checking file attribute changes...
.
"/root/myapp/config/myappconfig.xml" is different:
Baseline : 0644 oracle root /root/myapp/config/myappconfig.xml
Current : 0644 root root /root/myapp/config/myappconfig.xml
…etc
…etc
./orachk –fileattr check ./exachk –fileattr check or
• Results of snapshot comparison will also be shown in the HTML report output
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Keep Track of Changes to the Attributes of Important Files • To prevent standard health checking after attribute checking add –fileattronly:
• To use a different snapshot baseline use –baseline:
• To remove all snapshot use –fileattr remove
18
./orachk –fileattr check –fileattronly ./exachk –fileattr check –fileattronly or
./orachk -fileattr check -baseline <snapshot> ./exachk -fileattr check -baseline <snapshot> or
./orachk -fileattr remove ./exachk -fileattr remove or
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
Easier to Configure and Maintain Large Enterprise-Wide Collection Data
Keep Track of Changes to the Attributes of Important Files
Quickly Find Which Checks Require Privileged Users
Broader Stack Support
Easier to Run EXAchk on Exadata Storage Servers
New Health Checks
1
2
3
4
5
19
6
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 20
Quickly Find Which Checks Require Privileged Users
ORAchk Health Check Catalog EXAchk Health Check Catalog
• New Filter Privileged User in both catalogs
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
Easier to Configure and Maintain Large Enterprise-Wide Collection Data
Keep Track of Changes to the Attributes of Important Files
Quickly Find Which Checks Require Privileged Users
Broader Stack Support
Easier to Run EXAchk on Exadata Storage Servers
New Health Checks
1
2
3
4
5
21
6
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Broader Stack Support
• Health Check support has been broadened to include – Linux Operating System Health Checks (ORAchk only)
– External ZFS Storage Appliance Health Checks (EXAchk on Exalogic only)
– Oracle Enterprise Manager Cloud Control 13.1. • Shown in existing Enterprise Manager section of the HTML report
22
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• VMPScan report is included on Linux systems
– ORAchk only
– Summary shown in HTML report
– Full report available within
• <collection>/reports and
• <collection>/outfiles/vmpscan
23
Broader Stack Support
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Support added to run Health Checks on External ZFS Storage Appliances
– EXAchk on Exalogic Systems only
– Results show in External ZFS Storage Appliance section
24
Broader Stack Support
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
Easier to Configure and Maintain Large Enterprise-Wide Collection Data
Keep Track of Changes to the Attributes of Important Files
Quickly Find Which Checks Require Privileged Users
Broader Stack Support
Easier to Run EXAchk on Exadata Storage Servers
New Health Checks
1
2
3
4
5
25
6
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Easier to Run EXAchk on Exadata Storage Servers
• EXAchk now can be run from Exadata storage server even if no ssh connectivity from database server to storage server
• If a cell is locked EXAchk can unlock it – Exadata, SuperCluster and Zero Data Loss Recovery Appliance only
– Use –unlockcells and –lockcells
26
./exachk -unlockcells <all | -cells [cell names or cell IPs separated by comma]>
./exachk -lockcells <all | -cells [cell names or cell IPs separated by comma]>
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
Easier to Configure and Maintain Large Enterprise-Wide Collection Data
Keep Track of Changes to the Attributes of Important Files
Quickly Find Which Checks Require Privileged Users
Broader Stack Support
Easier to Run EXAchk on Exadata Storage Servers
New Health Checks
1
2
3
4
5
27
6
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
New Health Checks
• New Health Checks have been added across the stack
28
– Oracle Exadata
– Oracle SuperCluster
– Oracle Exalogic
– Oracle ZFS Storage
– Linux
– Oracle Solaris Cluster
– Oracle Database & Grid Infrastructure
– Oracle Enterprise Manager Cloud Control OMS & Repository
• To see new checks for specific systems see
– ORAchk Health Check Catalog
– EXAchk Health Check Catalog
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
More Info:
ORAchk: Doc 1268927.2 EXAchk: Doc 1070954.1
29
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
30
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 31