![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||
Solution Type Technical Instruction Sure Solution 1938558.1 : How to increase repository capacity in the Oracle Private Cloud Appliance
This note describes how to add additional Oracle VM repository capacity in the Oracle Private Cloud Appliance (formerly called Oracle Virtual Compute Appliance) In this Document
Applies to:Private Cloud Appliance - Version 1.0.1 and laterPrivate Cloud Appliance X5-2 Hardware - Version All Versions and later Linux x86-64 Oracle's Private Cloud Appliance ships with an internal ZFS storage appliance intended as a "system disk" for the entire appliance, This includes a default Oracle VM repository named Rack1-Repository and sized at 300GB.. This note shows how to add additional space by enlarging the repository's iSCSI LUN, or by creating a repository on an NFS mountpoint available on the internal ZFS appliance. This can be used to provide up to 8TB of repository capacity. It is important to leave residual disk capacity for other functions. If the PCA multi-tenant feature will be used, then disk capacity must be kept available for each tenant group's repository and pool file systems. For best scale and performance, the recommendation is to use external storage such as an InfiniBand connected ZS3 appliance or Fibre Channel connected FS1. GoalThis note shows how to expand repository capacity in the Private Cloud Appliance (PCA) beyond the default repository allocation. SolutionSeveral methods to increase storage capacity are available if the default 300GB capacity for the Rack1-Repository isn't sufficient. IMPORTANT NOTE: if the PCA will be configured to use multiple tenant groups, then disk space must be left available for the tenant groups' repositories and pool file systems. If Rack1-Repository uses up too much of the internal ZFS storage capacity then it will not be possible to create new tenant groups.
Method 1 - increase the size of the Rack1-Repository iSCSI LUN This method can be used when the Oracle Private Cloud Appliance is initially installed before any compute nodes have been provisioned, using either the ZFS Storage appliance GUI or a command line sequence. While connected to the Private Cloud Appliance using a laptop connected to the internal 192.168.4.0 network,
Alternatively, you can use a command line sequence for the same effect. This example shows the LUN being increased to 2TB.
When the first compute node finishes being provisioned with Oracle VM Server, it will create an ocfs2 file system on the iSCSI LUN, and then create an Oracle VM Repository on it. Method 2 Add an NFS-based repository on the internal ZFS appliance This method is recommended for adding repository capacity on the internal ZS3 appliance after compute nodes have been provisioned. An NFS mount is pre-defined on the ZS3 appliance and can be used for a repository. This is the procedure documented for discovering a file server (http://docs.oracle.com/cd/E35328_01/E35332/html/vmusg-storage-manage.html#vmusg-storage-fs-discover) and then creating a repository (http://docs.oracle.com/cd/E35328_01/E35332/html/vmusg-repo-manage.html)
At this point there is a new repository that can be used to host Oracle VM Assemblies, Templates, ISO Images, virtual disk and VM information. Care should be taken to ensure that the NFS repository contents do not consume all of the ZFS appliance disk capacity, which would have severe impact on system availability. Note also that compute node vmcore dumps are also stored on the ZFS appliance, which further consumes storage. Storage consumption can be monitored by logging into the storage appliance and seeing how much disk space is available:
While logged onto management node, it is possible to log into the ZFS storage appliance and obtain its view of storage capacity, and optionally set a quota on the repository share to prevent it from using all the ZFS storage.
An Oracle VM Manager operation that fills the space quota will cause an error visible in Oracle VM Manager, but this will protect the overall PCA environment from running out of disk space for other purposes. Method 3: Add an iSCSI-based repository on the internal ZFS appliance Log into the ZFS storage appliance as shown in the preceding method and create a new iSCSI LUN. In this example we name it 'auxlun' and give it a size of 2TB
When this is done you have a new iSCSI LUN of the desired size. Now log into the PCA's Oracle VM Manager user interface, select the "Servers and VMs tab", choose a compute node and the perspective "Physical Disks", and click on "Rescan physical disks". When the new scan completes the new LUN and its name (leftmost column) will appear in the list of physical disks. Repeat this for the other compute nodes, and then go to the Repositories tab and use the dialogue to create a new repository: select "Physical Disk", choose the new LUN, and in select all the compute nodes in the "Create a Data Repository" panels. Method 4: Add an external Oracle ZFS Storage appliance This is the recommended procedure for scale, performance and ease of backup. The process is documented in the white paper "Expanding Oracle’s Private Cloud Appliance Using Oracle ZFS Storage Appliance" at http://www.oracle.com/technetwork/server-storage/private-cloud-appliance/expanding-oracle-private-cloud-4305175.pdf It describes how to discover a storage server and configure a repository similar to the above method. Conclusions This note describes how to extend the storage capacity on the Oracle Private Cloud Appliance if the default repository allocation is not sufficient. This can be done by enlarging the repository that is provisioned when the Oracle Private Cloud Appliance is installed, by adding an additional repository, or by adding external storage. Attachments This solution has no attachment |
||||||||||||||
|