Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1634652.1
Update Date:2017-05-08
Keywords:

Solution Type  Technical Instruction Sure

Solution  1634652.1 :   ODAVP: How to resize the VM shared repository  


Related Items
  • Oracle Database Appliance Software
  •  
  • Oracle Database Appliance
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
  •  




In this Document
Goal
Solution
 The Steps
 1. Check the shared repo device name and size
 2. Resize the shared repo
References


Applies to:

Oracle Database Appliance - Version All Versions and later
Oracle Database Appliance Software - Version 2.8.0.0 to 2.10.0.0
Information in this document applies to any platform.

Goal

The scope of this bulletin is provide the steps resize a VM (Virtual Machine) shared repository on ODA VP (Oracle Database Appliance Virtualize Platform)

Solution

The Steps

1. Check the shared repo device name and size

oakcli show repo [<repo_name> -node <0|1>]

ie:

# oakcli show repo shared1 -node 0
Resource: shared1_0
    AutoStart       :    restore        
    DG              :    DATA           
    Device          :    /dev/asm/shared1-331
    ExpectedState   :    Online         
    MountPoint      :    /u01/app/sharedrepo/shared1
    Name            :    shared1_0      
    Node            :    all            
    RepoType        :    shared         
    Size            :    24000        
    State           :    Online

2. Resize the shared repo

Using acfsutil, issuing

/sbin/acfsutil size
Usage: acfsutil [-h] size [-|+]nnn[K|M|G|T|P] <path>


i.e.:
# acfsutil size +100000m /u01/app/sharedrepo/shared1
acfsutil size: new file system size: 1181116006400 (1126400MB)

You can check the new repo size issuing (the ACFS device name is reported on 'oakcli show repo'):

/sbin/advmutil volinfo <ACFS device name>

ie:
# /sbin/advmutil volinfo /dev/asm/shared1-331
Device: /dev/asm/shared1-331
Interface Version: 1
Size (MB): 124000
Resize Increment (MB): 32
Redundancy: high
Stripe Columns: 4
Stripe Width (KB): 128
Disk Group: DATA
Volume: SHARED1
Compatible.advm: 11.2.0.0.0

 

Note: from ODA sw version 12.1 a new OAKCli command feature is possible:

# oakcli configure repo
Usage:
oakcli configure repo <reponame> -incsize <size>[M|G]  
where:
     reponame              - configures a repo with reponame
     -incsize              - "<size>[M|G]" increases the repo size by <size>
                           - by default unit "M" is considered

 

 

References

<NOTE:1437717.1> - ODA (Oracle Database Appliance): HowTo Resize CloudFS
<BUG:18385437> - LNX64-112-CMT: PLEASE PROVIDE THE RESIZE SHARED REPO COMMAND

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback