Wednesday, May 4, 2016

Oracle VM: How to Move "poolfs/ repository" to a New Storage (Doc ID 1683899.1)

Oracle VM: How to Move "poolfs/ repository" to a New Storage (Doc ID 1683899.1)

GOAL

This document describes about the procedure to move poolfs and repository to new storage and how to decommission the existing pool. In this scenario, we will be covering the approaches for FC/ iSCSI.

SOLUTION

FC Storage

Provision the new FC LUN's on OVM manager GUI using the normal procedure.
1. Find the master server in existing pool on OVM GUI
 Image to check the master server on the pool.
2.  Migrate/ Shutdown the guest machine on any one of the OVS server in pool which is non-master, so that the existing setup won't be disturbed untill the pool is deleted. (Choose only non-master server)
3.  Remove non-master servers from the pool, once the guests are migrated/ shutdown. 
4. Need to have a new VIP for the second pool during migration. The old VIP will  be discarded once the original server pool is deleted. 
5. Create new pool as per the standard procedure and choose the LUN for poolfs from new FC storage and add the deleted server to this new pool. Chances are there for failure in adding the server to pool due to older cluster entires, so please refer this document 1635060.1 if in-case stuck with this error "Exception:Already in cluster".
6. Except master server, all other OVS server should have been removed from the older pool.
7. If any guest machines are running on the master node, then shutdown the guest.
8. First, unpresent the servers from the older repository and release ownership of the repository. Refer this document  1551877.1 for the detailed procedure to release the ownership.
9. Present the repository to the new pool which is using the new storage for poolfs and repository. Refer this document  1551877.1 for the detailed procedure to present to the new pool.
10. Verify repository informations are available once presented to new pool, if yes, then proceed to delete the older server pool. i.e Place the remaining master server in maintenance  mode and remove from the pool, then delete the server and pool.
11. Discover the server and add the server to the new pool and verify the storage/ repository access is presented to all the servers in new pool.
12. Present the new storage repository to new pool and migrate the content from older repository to new repository. For procedure refer here
13. Start the guest machine.

iSCSI 

The steps for iSCSI remains same as FC storage, but care should be taken in access group of the storage initiator, else the iSCSI disk won't be available for the repositories/ poolfs.
Except for generic storage arrays, it is possible to create multiple access groups in order to arrange and restrict physical disk access according to your requirements. The generic iSCSI storage arrays have a single access group  available by default, where you can simply add or remove storage initiators from your Oracle VM Servers.
 If you have generic iSCSI storage, then please make sure all the servers storage initiator's are there in access group at time of creating poolfs/ repositories.
For more details, refer here.

REFERENCES

NOTE:1521931.1 - VMPinfo3 Diagnostic Tool For Oracle VM 3.2 and 3.3 Troubleshooting
http://docs.oracle.com/cd/E35328_01/E35332/html/vmusg-vm-manage.html#vmusg-vm-move-storage 
NOTE:1635060.1 - Oracle VM - Cannot Move Server to Another Server Pool
NOTE:1551877.1 - How to Present a Storage Repository From One Pool to Another at Oracle VM Manager

No comments:

Post a Comment

  How to Change Instance Type & Security Group of EC2 in AWS By David Taylor Updated April 29, 2023 EC2 stands for Elastic Compute Cloud...