Flipkart Search

Monday, 24 February 2014

Backing up Oracle VM

Backup is always required for the enterprise products, so is for Oracle VM.
let's start backing up one by one component of oracle VM.
1. Oracle VM manager:  Oracle VM manager is responsible for managing OVS and VMs.
Things need to be backup up for the manager are:
  1. /u01- if possible keep a backup of this folder. This is the folder in which all installers goes.
  2. /u01/app/oracle/ovm-manager-3/.config- This config file is Oracle VM Manager configuration file for database
  3. /etc/sysconfig/ovmm-Oracle VM Manager configuration file for backups-contains UUID for the manager. Incase of reinstall of VM manager it provides UUID of previous installation.
  4. OVS schema- this is the default schema created by the OVM.- if possible take full DB backup
2. Oracle VM Guests and Resources: We don't want to reinstall the VMs in case of any disaster. So need a proper strategies for the VM guests and resources. here are the important files need to be backed up.
  1. /OVS/Repositories/<UUID>/Assemblies-
  2. /OVS/Repositories/<UUID>/ISOs-
  3. /OVS/Repositories/<UUID>/Templates-
  4. /OVS/Repositories/<UUID>/VirtualDisks-
  5. /OVS/Repositories/<UUID>/VirtualMachines/<VirtualMachineUUID>/vm.cfg-

Wednesday, 5 February 2014

Controlling ADF loopback Script

This code controls the ADF loopback script to run on each new window opened, whether its a ADF popup or browser popup.


Monday, 3 February 2014

HTML Formatting / Styling in ADF outputText

HTML Formatting in outputText (Escape Attribute)

For applying styling to some of the content, outputText's escape attribute could be used. Example:-

<af:outputText value="&lt;h2>ADF Tips and Tricks&lt;/h2>"/>
<af:outputText value="&lt;h2>ADF Tips and Tricks&lt;/h2>"

<h2>ADF Tips and Tricks</h2>
ADF Tips and Tricks

Note: You should avoid setting the escape attribute to false unless absolutely necessary. outputFormatted  component is more recommended in such cases.