Oracle 19c backup fails : ORA-00245: control file backup failed; in Oracle RAC, target might not be on shared storage

 

Error:

ORA-00245: control file backup failed; in Oracle RAC, target might not be on shared storage


Solution:

Enable shared control file:

1.    Configure the snapshot controlfile to a shared disk like (ACFS/NFS/DNFS):

RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/SHARED_Folder/snapcf_KRISHNA.f';

2.    In case of ASM use

RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+ASM_DATA/snapcf_CNTRL.f';

PostgreSQL: FATAL: XX000: could not write init file

 Error:

PostgreSQL: FATAL: XX000: could not write init file


when accessing VEEAM console

Solution:

Check the free space on the windows machine where VEEAM installed
Increase space on the drive

RMAN configuration for oracle database backup

 1)Enable archive log

SQL> Conn sys/<pass>@TargetDB as sysdba;

SQL> Shut immediate;

SQL> Startup mount;

SQL> alter database archivelog;

SQL> alter database open;

SQL> archive log list;


2)Create RECO database and create user:

SQL> Conn sys/<pass>@RECODB as sysdba;
SQL> CREATE USER rman IDENTIFIED BY cat
TEMPORARY TABLESPACE temp
DEFAULT TABLESPACE users
QUOTA UNLIMITED ON users;  2    3    4

User created.

SQL> GRANT RECOVERY_CATALOG_OWNER TO rman;

Grant succeeded.
SQL> grant select on v_$instance to rman;

Grant succeeded.

SQL>

3)Create Recovery Catalog

C:\Users\Administrator>rman catalog rman/cat@RECODB


RMAN>  create catalog;

recovery catalog created

RMAN> connect target sys/dba@ORCL

connected to target database: ORCL (DBID=1702363306)


3)Register Recovery Catalog to database

RMAN> register database;

database registered in recovery catalog
starting full resync of recovery catalog
full resync complete

RMAN> exit


ovirt virtualization manager not showing disks to install the Operaing system

    Once you attach an OS ISO and start the windows installation and when you reach the hard disk selection time you will see no disks listed.

To proceed further do below steps:

1.Download windows disk drivers from:

    https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.248-1/

    downlaod .iso file

2.Upload the image to Storage domain of the ovirt

3.When you are in the driver page:

   from Virtual machine -> select 3 dots on the top -> choose "Change CD" ->select the ovrt driver iso (that we uploaded now)

 from the console Browse the option :

   and driver from vistore:Win10->Amd64 folder:


4.Now rescan and you will see disk listed

5.Go back to the "change CD" change to OS and now in console you will see "Next" option enabled





How to Open KVM oVirt Virtual machine console from windows

 

To open virtual machine console from ovirt manager (KVM)


1. Download and Install ovirt-viewer from the below link:

    https://virt-manager.org/download

2.From browser open ovirt engine and login to administrator portal

3.Right click the virtual machine and choose "Console"

4.Console file be getting created on your windows->downloads

5.Right click the file ->Properties and change the file "Opens With:" as a new program and browse till

c:\program files->ovirt-viewer-> "Remote-Viewer" type

5.Now double click on the "Console.vv" file


will open the console:



SSH Passwordless connection between 2 linux hosts

 


In Host1:

# ssh-keygen -t rsa

#ssh-copy-id root@<Host2>


Thats all:

Now from Host1 try login with below command and it wont ask password.

 # ssh root@Host2 

Install ovirt engine on OEL7

 Steps:

Login to OEL7 with ssh and run below commands

  1. yum install https://yum.oracle.com/repo/OracleLinux/OL7/ovirt42/x86_64/ovirt-release42.rpm
  2. yum install ovirt-engine
  3. Make sure host name is DNS resolvable FQDN
  4. run "engine-setup" and provide all the 15 answers
  5. if any failure check the log and re-run with existing answer file using:
             engine-setup --config-append /var/lib/ovirt-engine/setup/answers/20240710113710-setup.conf
   Login to the ovirt-engine using:

              http://<FQDN>:80/ovirt-engine
              https://<FQDN>:443/ovirt-engine

ovirt-engine login fails virtualization manager "The redirection URI for client is not registered."

 

Error:

Once we install the ovirt-Engine on Linux and when try to access:

https://<IP>/ovirt-engine getting error:

 The redirection URI for client is not registered.


Solution:

1. Create a new configuration file:
   /etc/ovirt-engine/engine.conf.d/99-sso.conf and include the following:
   SSO_CALLBACK_PREFIX_CHECK=false

2. Restart the oVirt Engine service:
   systemctl restart ovirt-engine

Note: This action will disable the additional security check for the callback prefix.

How to increase ESXi webclient login user application timeout

 To increase the default 15min timeout to 2hr Login to the esxi webclient on the right top corner ->Click the User login tab Select "...