Ansible Tomcat installation Contd We are suppose to continue from system d unit file creation Refer Here We need to copy tomcat.service file from ansible control node to remote nodes. Refer Here for the module used Refer Here for the changes done Now we need to reload the daemon, enable and start the service Refer… Continue reading DevOps Classroomnotes 04/Jan/2023
Month: January 2023
Azure Classroomnotes 04/Jan/2023
Azure VM Migration Contd Discovering Hyper V Vms Ensure you have azure migrate project created Lets start discovering Hyper V Vms After the zip file is downloaded, Extract and run the commands as shown in the document Refer Here After script execution is finished, lauch Azure Configuration Manager Now verify the applicance using project key… Continue reading Azure Classroomnotes 04/Jan/2023
AWS Classroomnotes 03/Jan/2023
AWS Database Migration Exercise: Create a mysql server on ubuntu Refer Here. Check if you can connect to mysql from your laptop Install Azure Data Studio Refer Here Ensure mysql extension is installed import employees database Refer Here Create an rds mysql free tier Create a replication instance Create source endpoint Create target endpoint Create… Continue reading AWS Classroomnotes 03/Jan/2023
DevOps Classroomnotes 03/Jan/2023
Ansible Playbook to automate the tomcat installation Lets try to install tomcat 10 on ubuntu 22.04 Refer Here Refer Here for the changes made to create a tomcat user On execution of the playbook we got an issue with tomcat group not present Refer Here for the changes to fix the group not existing and… Continue reading DevOps Classroomnotes 03/Jan/2023
Azure Classroomnotes 03/Jan/2023
Creating Virtual Machines using Vagrant Vagrant is used to create virtual machines in various hypervisors Refer Here for vagrant documentation. Search vagrant boxes Refer Here For the virtual machine for migration lets create an ubuntu 20.04 lets use the box generic/ubuntu1804 mkdir ubuntu cd ubuntu vagrant init generic/ubuntu1804 vagrant up –provider hyperv * Note: If… Continue reading Azure Classroomnotes 03/Jan/2023
AWS Classroomnotes 02/Jan/2023
Installing SQL Server on Windows Server We were unable to access due to ip configuration Refer Here to fix the problem. Enable TCP/IP In Properties of TCP/IP IPALL: Enter 1433 as the tcp port Now we have source endpoint working Now lets start the migration Migration has 3 major options Migrate data: used for one… Continue reading AWS Classroomnotes 02/Jan/2023
AWS Classroomnotes 31/Dec/2022
AWS RDS Migration We have microsoft SQL Developer Edition (on-premises) Lets create the destination/target which is microsoft SQL server developer Wait till the db is created Lets create Replication Instance in DMS Wait for the Replication instance to be created Now create a source endpoint As of now source endpoint is not working need to… Continue reading AWS Classroomnotes 31/Dec/2022
DevOps Classroomnotes 02/Jan/2023
Ansible Contd…. Lets try to install tomcat 10 on ubuntu 22.04 Refer Here Ansible WOW (Ways of Working) Ensure your manual steps are working For each step try to find a module which can help expressing desired state. Manual Steps sudo apt update sudo apt install openjdk-11-jdk -y java -version sudo useradd -m -U -d… Continue reading DevOps Classroomnotes 02/Jan/2023
Azure Classroomnotes 02/Jan/2023
Nested Virtualization in Azure To simulate Hyper-V server we will be creating a Windows Server 2016 with nested virtualization support. Setup Create a Virtual machine with D2_v3 with Windows Server 2016 Now to create Hyper-V vms inside the Windows server Refer Here Add Hyper-V Roles from Server Manager Select a Ethernet (Virtual Ethernet) and create… Continue reading Azure Classroomnotes 02/Jan/2023
