Quantcast
Channel: Sameer Shaik. B.E,M.S,M.B.A,P.M.P,C.S.M
Browsing latest articles
Browse All 191 View Live

Oracle cloud database 12.2 - View backup information

To List the available backups by using bkup_apiAs root user:bkup_api command$ /var/opt/oracle/bkup_api/bkup_api bkup_status-OR- List the available backups by using bkup_api$...

View Article


Oracle Cloud 12c - How to manually backup the database using bkp_api

How to manually backup the database using bkp_apias root :Run /var/opt/oracle/bkup_api/bkup_api bkup_startorTo create a long-term backup, enter the following bkup_api command:...

View Article


Image may be NSFW.
Clik here to view.

Oracle Cloud 12c database - Recover the database from the cloud backup using...

In my previous post I showed you how to backup the Oracle cloud database using bkp_api and console.Post related to...

View Article

Image may be NSFW.
Clik here to view.

Oracle database cloud 12c - Precheck failed for patch [26609783-EE]. Error...

When trying to apply a patch via dbaas tools/console you may get the below error:Precheck failed for patch [26609783-EE]. Error [please upgrade to recommended dbaastools version Fix:-Upgrade the dbaas...

View Article

Image may be NSFW.
Clik here to view.

VCN Local Peering in Oracle Cloud Infrastructure...

I have written a white paper on how to setup and configure VCN Local Peering in OCI and below are the topics that are covered as part of this white paper...Part-1: Configure instances to access...

View Article


Oracle Backup Cloud Assistant bkup_api - API::ERROR KBHS-00715: HTTP error...

When trying to take Oracle Database Cloud Backup using Cloud Backup AssistantI got the below errors.Error:-> API::ERROR  KBHS-00715 HTTP CONNECTION ERROR -> API::ERROR -Detail -> API::ERROR...

View Article

Create new service in Oracle Cloud DBCS system

shaikprod@shaikprod ~/.ssh$ ssh opc@129.213.136.114The authenticity of host '129.213.136.114 (129.213.136.114)' can't be establishe                              d.RSA key fingerprint is...

View Article

Image may be NSFW.
Clik here to view.

AWS Auto Stop Start EC2 Instances

In the below post we will create a simple Lambda function to Auto STOP/START EC2 instances.Step-1Before we create a lambda function we need to have a role that has access to our EC2 instances.Go ahead...

View Article


AWS Deploy custom monitors

So how do you deploy custom monitors in AWS and push them to CloudWatch:By default CloudWatch monitors the below four metrics and if you want to monitor beyond these four metrics then you have to...

View Article


Image may be NSFW.
Clik here to view.

ssh: connect to host XX.XX.XX.XX port 22: Connection refused while connecting...

Issue:While connecting from Windows - 10 to Guest OS - Oracle Linux -7.1  on Oracle Virtual Box - 5.2, you may get the below error.ssh: connect to host XX.XX.XX.XX port 22: Connection...

View Article

Image may be NSFW.
Clik here to view.

AWS Create Images from EBS Snapshots

You can take block volume snapshots for various reasons like for backup/restore, create golden images, create a custom image which will serve for future auto scaling launch templates and may be for...

View Article

Image may be NSFW.
Clik here to view.

AWS Take block volume snapshots at regular intervals

Now using Data Lifecycle manager you can take block volume snapshots at regular intervals without the need of custom scripts and lambda functions.Under block volumes -> Life Cycle Manager -->...

View Article

Image may be NSFW.
Clik here to view.

Azure move pagefile and change drive letter for D drive

In Azure on windows VMs, D:\ drive is reserved for pagefile and any data you store on this drive will be deleted. But there are few apps or you have jobs on your on-prem that have been hard coded to...

View Article


Image may be NSFW.
Clik here to view.

How to update ssh key on a cloud VM

It happens that someone created a VM with a key and either that person isn't there anymore or forgot to share the key with others or somehow lost the key altogether. Whatever the case might be in the...

View Article

Install Azure cli

 How to install azure cli on Ubuntu:I am using wsl (Windows Subsystem for Linux) i.e I have a working Ubuntu v20 on my windows desktop & laptop and can you use my windows machine as a regular linux...

View Article


How to Install terraform on Ubuntu:

 How to install terraform on Ubuntu:samshaik@shaikprod:~$ sudo apt-get install terraform[sudo] password for samshaik:Reading package lists... DoneBuilding dependency treeReading state information......

View Article

How to create cloud infrastructure using terraform scripts.

Here is the sample code to create few resource groups/Network and storage in the cloud.Here is my main.tf file which will call variables file to lookup the variables that I have defined.# Provider...

View Article


Image may be NSFW.
Clik here to view.

How to export VM Image in Azure

How to export VM Image in AzureCreate the snapshot using the below JSON template, if you already have a snapshot then you can skip this step.{  "id":...

View Article

Image may be NSFW.
Clik here to view.

How to import a resource in terraform if not is not being managed already

 If a cloud resource is not being managed by your terraform scripts then in the below post I will show you how you can make terraform mange it.I have a resource already created by ARM templates but now...

View Article

Image may be NSFW.
Clik here to view.

‘D:\home\site\wwwroot\host.json’ is denied.

 Function App will not start or deployment will thrown an error as below:'D:\home\site\wwwroot\host.json' is denied.If you receive a System.UnauthorizedAccessException with a message Access to the path...

View Article

Image may be NSFW.
Clik here to view.

Cloud Security Lifecycle

 By integrating these six components into their security practices, organizations can establish a robust and holistic Azure Cloud Security Lifecycle. This approach helps safeguard cloud assets, respond...

View Article


Get Ports in use on windows

 To get a list of bound ports in use, try this PowerShell command line:Get-NetTCPConnection -State Bound | ForEach-Object {$p =(Get-Process -Id $_.OwningProcess);New-Object -TypeName psobject -Property...

View Article


setup your local k8 environment with kubectl auto completion

 # set alias and make permanentecho 'alias k=kubectl'>> ~/.bashrc # add bash completion for kubectl apt update && apt install -y bash-completion echo 'source <(kubectl completion...

View Article

Kubernetes create a Static Pod:

Kubernetes create a Static Pod:cat my-static-pod.yamlapiVersion: v1kind: Podmetadata:  creationTimestamp: null  labels:    run: static-busybox  name: static-busyboxspec:  containers:  - command:     -...

View Article

Image may be NSFW.
Clik here to view.

Use ingress to route web traffic to your Pods via services

 Basics:The Purpose of a Service in Kubernetes and How It Differs from IngressIn Kubernetes, a Service is used as an abstraction layer (load balancer) that has a set of pods in the backend and provides...

View Article

Browsing latest articles
Browse All 191 View Live