Skip to main content

Posts

Showing posts from April, 2023

What is PaaS, IaaS and SaaS?

  Infrastructure Platform as a Service (iPaaS) Integration Platform as a Service (iPaaS) is a suite of cloud services enabling the development, execution, and governance of integration flows connecting any combination of on-premises and cloud-based processes, services, applications, and data within individuals or across multiple organizations.   Ease of use Comprehensive integration of toolsets   Level of support   Readiness to support protocols Flexibility Ability to process, clean, and transform data in formats like XML and JSON; Performance when handling large-scale data operations and concurrent executions; Support for real-time processing and batch data integration; Monitoring for failures, latency, resource utilization, and workflow performance;   Security mechanisms for access control, data encryption, and single sign-on integrations   Infrastructure as a Service (IaaS)     I s a business model that delivers IT infrastructure like computing, storage, and network resources on a p

HOW TO INCREASE RPOOL ADDING NEW DISK SOLARIS 11

  root@solaris:~# echo | format Searching for disks...done  AVAILABLE DISK SELECTIONS:        0. c1d0 <Unknown-Unknown-0001-40.00GB>           /virtual-devices@100/channel-devices@200/disk@0 Specify disk (enter its number): Specify disk (enter its number):   root@solaris:~#  zpool list NAME    SIZE  ALLOC   FREE  CAP  DEDUP  HEALTH  ALTROOT rpool  39.8G  5.98G  33.8G  15%  1.00x  ONLINE  -   root@solaris:~#  zpool status   pool: rpool state: ONLINE   scan: none requested config:           NAME    STATE      READ WRITE CKSUM         rpool   ONLINE        0     0     0           c1d0  ONLINE        0     0     0   errors: No known data errors   Adding a disk 80 GiB                                                                                                                                                                                          #ssh -l root solaris Oracle Corporation      SunOS 5.11      11.4    Aug 2018 root@solaris:~# root@solaris:~# root@solaris:~#  echo | for

HOW TO MIGRATE MYSQL DATABASE

 SOURCE SERVER innobackupex --user=YOURUSER --password=YOURPASSWORD /var/log/backup innobackupex --apply-log /var/log/backup/2022-02-14_11-41-35/ NEW SERVER systemctl stop mysql xtrabackup --copy-back --datadir=/var/lib/mysql --target-dir=/data/2022-02-14_11-41-35 chown -R mysql.mysql /var/lib/mysql systemctl start mysql systemctl status mysql Copy /etc/mysql/my.cnf (Validate parameters starting and stopping db) If you need due to a new version upgrade  root@mysqlposter:~# mysql_upgrade -u YOURUSER -p Enter password: YOURPASSWORD Checking if update is needed. Checking server version. Running queries to upgrade MySQL server. Checking system database. mysql.columns_priv                                 OK mysql.db                                           OK mysql.engine_cost                                  OK mysql.event                                        OK mysql.func                                         OK mysql.general_log                                  OK mysql.gtid_execute

HOW TO KUBERNETES SCRIPT TO HANDLE ISSUES

1. Some Script to do easy KUBERNETES administration   top_pods.sh                                                                                                                                     #!/bin/bash # #Pod List in the ENV echo "#################################" echo "#PODs List that you can select  #" echo "#################################" kubectl get pods | awk '{print $1}' #Select the pod to check echo "#######################" echo "#Select Pods to check #" echo "#######################" echo "Input PodName: " read podname echo "##############################" echo "#CPU and Memory information  #" echo "##############################" # Screen validation for consuming CPU and Memory kubectl top pod $podname --sort-by=cpu oomskill_check.sh                                                                                                                             #!

HOW TO KUBERNETES FLUENTD ISSUES IN GOOGLE CLOUD

1. Connect to the context in the cloud $ gcloud container clusters get-credentials my-sbx-us-central1 --region us-central1 --project my-sbx 2. Check fluentd pods with issues $ for i in `kubectl get pods -A | grep fluentd | awk '{print $2}' `; do echo $i; kubectl logs $i | tail -n 10 | wc -c; done 3. Validate logs  $ kubectl logs pod <pod-name> 4. Delete Pods if you  need $ kubectl delete pod <pod-name>