Write 10 Chef Cookbooks to test your chef programming skills

chef-cookbooks

  1. Write a cookbook using you can install apache http server in CentOs and Ubuntu, enable the services and start the service.
  2. Write a recipe using template resources to create a file, but only if an attribute has a specific value.
    1. Write a recipe to create a file using a string, but not if “/etc/passwd” exists?
  3. Write a cookbook to unzip a file, and then move a files from one location to another using batch, bash chef resources?
  4. Create a role and assign any two cookbooks to role and setup a 2 nodes assigned to role and conerse the role.
  5. Write a cookbook using install version of latest tomcat and deploy jenkins.war files into war.
  6. Write a 4 cookbooks php, mysql, apache and webapp respectively and map a dependency between them and install a sample web application.
  7. Write a cookbook to install git, wget, zip in RHEL and Ubuntu.
  8. Write a cookbook in which create a file using a string, but only if “/etc/passwd” exists
  9. Write a coobook to run a batch file that unzips and then moves files from one location to another.
Tagged : / / / / / / / / / /

Write 10 Chef Cookbooks to test your chef programming skills

chef-cookbooks-to-test-your-chef-programming-skills

  1. Write a cookbook using you can install apache http server in CentOs and Ubuntu, enable the services and start the service.

  2. Write a recipe using template resources to create a file, but only if an attribute has a specific value.

  3. Write a recipe to create a file using a string, but not if “/etc/passwd” exists?

  4. Write a cookbook to unzip a file, and then move a files from one location to another using batch, bash chef resources?

  5. Create a role and assign any two cookbooks to role and setup a 2 nodes assigned to role and conerse the role.

  6. Write a cookbook using install version of latest tomcat and deploy jenkins.war files into war.

  7. Write a 4 cookbooks php, mysql, apache and webapp respectively and map a dependency between them and install a sample web application.

  8. Write a cookbook to install git, wget, zip in RHEL and Ubuntu.

  9. Write a cookbook in which create a file using a string, but only if “/etc/passwd” exists

  10. Write a coobook to run a batch file that unzips and then moves files from one location to another.

Tagged : / / / / / / / / / /

Jenkins Remote access API Example | Jenkins Tutorial

jenkins-remote-access-api-example
Jenkins Remote access API Example
Jenkins provides machine-consumable remote access API to its functionalities. Currently it comes in three flavors:
XML
JSON with JSONP support
Python
Remote access API is offered in a REST-like style. That is, there is no single entry point for all features, and instead they are available under the “…/api/” URL where “…” portion is the data that it acts on.
For example, if your Jenkins installation sits at http://ci.jruby.org/, visiting http://ci.jruby.org/api/ will show just the top-level API features available – primarily a listing of the configured jobs for this Jenkins instance.
Or if you want to access information about a particular build, e.g. http://ci.jruby.org/job/jruby-base/lastSuccessfulBuild/, then go to http://ci.jruby.org/job/jruby-base/lastSuccessfulBuild/api/ and you’ll see the list of functionalities for that build.
Remote API can be used to do things like these:
Retrieve information from Jenkins for programmatic consumption.
trigger a new build
create/copy jobs
Jobs with parameters, Also see Parameterized Build.
Simple example – sending “String Parameters”:
curl -X POST JENKINS_URL/job/JOB_NAME/build \
  –data token=TOKEN \
  –data-urlencode json='{“parameter”: [{“name”:”id”, “value”:”123″}, {“name”:”verbosity”, “value”:”high”}]}’
Check Jenkins Job Status via REST API
job_status=`curl https://jenkins/view/job/other-job/lastBuild/api/json | grep “\”result\”:\”SUCCESS\””`
if [ -n "$job_status" ] then     # Run your script commands here else   echo "BUILD FAILURE: Other build is unsuccessful or status could not be obtained."   exit 1 fi
How to restart Jenkins manually?
To restart Jenkins manually, you can use either of the following commands:
(jenkins_url)/safeRestart – Allows all running jobs to complete. New jobs will remain in the queue to run after the restart is complete.
(jenkins_url)/restart – Forces a restart without waiting for builds to complete.
Reference
Tagged : / / / / / / /

Top 20 DevOps Questions you must prepare before Interview | scmGalaxy

devops-interview-questions

  1. What do you understand about DevOps? Can you please define it in your terminologies?

  2. What are the ways, DevOps will help the Software Projects and Team?

  3. What is Continuous Integration? Share your approach which you applied in your projects in order to implement CI.

  4. What is difference between Continuous Delivery and Continuous Deployment?

  5. How Jenkins will help to implement CI and what are the capabilities what Jenkins has so we call Jenkins is a CI tool?

  6. How is DevOps different from Agile / SDLC?

  7. What are the advantages of DevOps for the organization?

  8. Whether DevOps can be implemented only by DevOps Engineer in a project? If not, Why we should hire you?

  9. How would you deploy a software to 5000 systems? Do you know how you would go about large-scale deployments?

  10. How would you trace a binary deployment back to the source code ? How would you structure such a build ?How do you plan capacity for your CI/CD servers ?

  11. Which are the top DevOps tools? Which tools have you worked on? How do all these tools work together?

  12. Explain your understanding and expertise on both the software development side and the technical operations side of an organization you have worked with in the past.

  13. What is agile development and Scrum ?

  14. Can we consider DevOps as an agile methodology ?

  15. What is DevOps engineer’s duty with regards to Agile development ?

  16. How people communicate or the tools that you choose to deploy?

  17. How would you make software deployable?

  18. How do you manage dependencies ?

  19. What are the branching strategy you follow and why?

  20. Discuss your experience building bridges between IT Ops, QA and development.

Tagged : / / / / / / / / /

Platforms where you can find DevOps, Trainers, Coach, Training and Instructors easily

find-devops-coach-training-and-instructors

If you are related with Software industry or if you are in IT, you must heard about the word “DevOps”. It is a small word which consist the whole process or life-cycle inside of software development these days. So, it’s must for every software and IT professionals and students to know about the DevOps complete process and its best practices because without this you cannot get your project done which means your business or your job will be suffer. So who wants to lose their business or job? No one!!! Right! So here comes the Question how can you save your business or job? Of course by learning and implementing DevOps in your work environment and for that you need DevOps trainers or I would like to say Quality trainers.  So, if you want to know where you can get the training, trainers or instructors or  coach for DevOps than keep reading this article.

Before going further, let’s see what is DevOps?

It is a culture that improves the IT services delivery agility on the basis of continuous collaboration, communication and integration. It might sound straightforward but it’s a little more complex than that. It’s identifies the connections among ideas, tools and subject of development of software and IT operations, using rapid iterations and continuous improvement. In other words operations and developers teams work together to get the result faster without sacrificing the quality.

Now, let’s see the benefits of DevOps?

 

DevOps improves the organization performances, enhances the profitability and effectiveness of developers and operations groups. If we look on to the benefits of DevOps than the major benefits are

  • Technical benefits: Continuous software delivery
  • Technical benefits: Less complex problems to fix
  • Technical benefits: Faster resolution of problems
  • Business benefits: Faster delivery of features
  • Business benefits: More stable operating environments
  • Business benefits: More time available to add value (rather than fix/maintain)

These are the major benefits of implementing DevOps, but to get these benefits you must know how to start and implement it in your work environment with right set of tools in your arsenal and for that you need Quality DevOps trainers and Coach who can help you to get best out of it. But before searching keep some qualities in your mind a DevOps trainer should have.

“Qualities and skills” should have in a DevOps Trainer

 

1.       Experience: – You should find DevOps trainer or coach that has successfully embraced a DevOps culture on a large scale and also has experience in industry.
 
2.       Knowledge: – You need an expert to guide you, to share dos and don’ts and to give rules and best practices so you comprehend when not to compromise.
 
3.       Personal Abilities:- Trainer ought to be patience, flexibility, empathy, ability to nurture others, creativity, commitment to the work and also the ability to be a team player
 
4.       Simplifying Ability: – Illustrate complex concepts you must draw comparisons to a variety of easily recognizable elements.
 
5.       Create an Environment :- An experienced trainer is attuned to his or her own energy level and that of the class
 
6.    Motivational Skills: – In order to create as many organic learning moments as possible a trainer has to encourage participants to learn themselves.
 
7.       Subject Expertise:- An expert DevOps trainer should have excellent understanding of the subject of the training
 
8.       Communication: – A qualified DevOps trainer must have good communication skills for effective delivery.
 

These are the important skills or qualities a DevOps Trainer should have in them.

Now, the real challenge “Where to find DevOps Trainers or Coach”? As we all do “ask Google”, I also did it and find myself lost in the search results. I just got confused by reading them, that’s why I shortlisted few of them and did some more research and I got the result by finding two best platforms for DevOps Trainers.

1. DevOpsTrainer

This is the right platform for searching DevOps Trainers, Instructors and Coach for Individual and Corporate training. The reasons is, this site has a very strong policies and regulations for listing of DevOps trainers. This site contains the list of best trainers for almost all cities worldwide.  Some of them are Amsterdam, Pune, Bangalore, San Diego, Dubai, Singapore, Mumbai, Noida, Hyderabad, Israel, Paris, Madrid, Dublin, Seattle and various others across the world.

2. scmGalaxy

This is one platform where you can find everything related to DevOps. Whether you are looking for DevOps tutorials, Trainers, Coach’s, Instructors, DevOps Community, Forum, DevOps Courses, Certification and Webinars you can get all in one place. scmGalaxy is the largest scm, DevOps, Build & Release community worldwide. They provide all there services worldwide and there dedicated DevOps trainers are well known in the industry.

I recommended these two platforms on the basis of my research, explore them and share your experience and if you know about any other platforms than feel free to share with us in comment box.
Tagged : / / / / / / / / / / / / / / / / / /

How Can You Find An Experienced & Qualified DevOps Trainer?

experienced-qualified-devops-trainer

DevOps is a new trending word in IT industry these days and every IT professionals must heard about it for sure. But for those who heard it for the first time and don’t know much about it, they can find dozens of definitions, of course on Google but in simple words we can say “DevOps is more of a culture than anything else”. DevOps is the transformational strategy you should adopt. It’s eliminating the chunkiness of the traditional relationship between development and operations. It will ask companies to increase the speed up of applications delivery without sacrificing the quality the customers expect. DevOps Improves developers makers strength, Implements automation and creates a feedback from Ops to Dev. Simply means developers and operations teams working together to innovate faster.

DevOps is a big change, it requires mindset and it send the changes across the enterprise but it can be done in a simple manner, if you have the right skill and knowledge. The Individual and organizations have successes by implementing DevOps and seen huge improvement in their productivity and quality.

If we look on the benefits briefly than the following major benefits you can get by implementing DevOps.

·         Technical benefits: Continuous software delivery

·         Technical benefits: Less complex problems to fix

·         Technical benefits: Faster resolution of problems

·         Business benefits: Faster delivery of features

·         Business benefits: More stable operating environments

·         Business benefits: More time available to add value (rather than fix/maintain)

The advantages of DevOps are clear, but the way to change an organization to adopt a DevOps technique presents various difficulties, including how to develop the structure of a group and the culture, what tools to be utilize, how to acquire the abilities, what best practices to implement and how to construct a framework that is dependable and can scale. Here you need an experienced DevOps coach or trainer who can provide you his/her expertise to teach or guide you to learn the DevOps throughout process.

But before going further keep some points in your mind, qualities a devops trainers should have:-

·         Experience of DevOps and the Industry:- You should find DevOps Instructor that has successfully embraced a DevOps culture on a large scale and also has experience in industry.

·         Guidance of Process and Best DevOps Practices:- You need a specialist to guide you, to share dos and don’ts and to give rules and best practices so you comprehend when not to compromise.

·         Personal Abilities:- Trainer ought to be patience, flexibility, empathy, ability to nurture others, creativity, commitment to the work and also the ability to be a team player

·         Simplifying Ability:- Illustrate complex concepts you must draw comparisons to a variety of easily recognizable elements.

·         Create an Environment :- A experienced trainer is attuned to his or her own energy level and that of the class

·         Motivational Skills:- In order to create as many organic learning moments as possible a trainer has to encourage participants to learn themselves.

·         Command of the Subject:- An expert DevOps trainer should have excellent understanding of the subject of the training

·         Communication skills :- A qualified DevOps trainer must have good communication skills for effective delivery


Above mentioned skills are must to have in a DevOps trainer so that you can learn and implement it in a right way.

Now the question arises here where you can find Experienced and qualified DevOps trainers, consultant and mentors in you cities? Because this is a real challenge these days to find qualified DevOps trainers for Individual and Corporate training. So, I did some research to find and I stopped my search on devopstrainer.in. This is a great search portal where you can find qualified and experienced DevOps trainers across the world in many cities like Bangalore, Pune, Hyderabad, Noida, London, Amsterdam, Singapore, San Francisco and many other cities and countries in the world.

Tagged : / / / / / / / / / / / / / /

How Can You Find An Experienced & Qualified DevOps Trainer?

find-experienced-qualified-devops-trainer

DevOps is a new trending word in IT industry these days and every IT professionals must heard about it for sure. But for those who heard it for the first time and don’t know much about it, they can find dozens of definitions, of course on Google but in simple words we can say “DevOps is more of a culture than anything else”. DevOps is the transformational strategy you should adopt. It’s eliminating the chunkiness of the traditional relationship between development and operations. It will ask companies to increase the speed up of applications delivery without sacrificing the quality the customers expect. DevOps Improves developers makers strength, Implements automation and creates a feedback from Ops to Dev. Simply means developers and operations teams working together to innovate faster.

DevOps is a big change, it requires mindset and it send the changes across the enterprise but it can be done in a simple manner, if you have the right skill and knowledge. The Individual and organizations have successes by implementing DevOps and seen huge improvement in their productivity and quality.

If we look on the benefits briefly than the following major benefits you can get by implementing DevOps.

·         Technical benefits: Continuous software delivery

·         Technical benefits: Less complex problems to fix

·         Technical benefits: Faster resolution of problems

·         Business benefits: Faster delivery of features

·         Business benefits: More stable operating environments

·         Business benefits: More time available to add value (rather than fix/maintain)

The advantages of DevOps are clear, but the way to change an organization to adopt a DevOps technique presents various difficulties, including how to develop the structure of a group and the culture, what tools to be utilize, how to acquire the abilities, what best practices to implement and how to construct a framework that is dependable and can scale. Here you need an experienced DevOps coach or trainer who can provide you his/her expertise to teach or guide you to learn the DevOps throughout process.

But before going further keep some points in your mind, qualities a devops trainers should have:-

·         Experience of DevOps and the Industry:- You should find DevOps Instructor that has successfully embraced a DevOps culture on a large scale and also has experience in industry.

·         Guidance of Process and Best DevOps Practices:- You need a specialist to guide you, to share dos and don’ts and to give rules and best practices so you comprehend when not to compromise.

·         Personal Abilities:- Trainer ought to be patience, flexibility, empathy, ability to nurture others, creativity, commitment to the work and also the ability to be a team player

·         Simplifying Ability:- Illustrate complex concepts you must draw comparisons to a variety of easily recognizable elements.

·         Create an Environment :- A experienced trainer is attuned to his or her own energy level and that of the class

·         Motivational Skills:- In order to create as many organic learning moments as possible a trainer has to encourage participants to learn themselves.

·         Command of the Subject:- An expert DevOps trainer should have excellent understanding of the subject of the training

·         Communication skills :- A qualified DevOps trainer must have good communication skills for effective delivery


Above mentioned skills are must to have in a DevOps trainer so that you can learn and implement it in a right way.

Now the question arises here where you can find Experienced and qualified DevOps trainers, consultant and mentors in you cities? Because this is a real challenge these days to find qualified DevOps trainers for Individual and Corporate training. So, I did some research to find and I stopped my search on devopstrainer.in. This is a great search portal where you can find qualified and experienced DevOps trainers across the world in many cities like Bangalore, Pune, Hyderabad, Noida, London, Amsterdam, Singapore, San Francisco and many other cities and counties in the world.

Tagged : / / / / / / / / / / / / / / /

How Can You Find An Experienced & Qualified DevOps Trainer?

 

DevOps is a new trending word in IT industry these days and every IT professionals must heard about it for sure. But for those who heard it for the first time and don’t know much about it, they can find dozens of definitions, of course on Google but in simple words we can say “DevOps is more of a culture than anything else”. DevOps is the transformational strategy you should adopt. It’s eliminating the chunkiness of the traditional relationship between development and operations. It will ask companies to increase the speed up of applications delivery without sacrificing the quality the customers expect. DevOps Improves developers makers strength, Implements automation and creates a feedback from Ops to Dev. Simply means developers and operations teams working together to innovate faster.

DevOps is a big change, it requires mindset and it send the changes across the enterprise but it can be done in a simple manner, if you have the right skill and knowledge. The Individual and organizations have successes by implementing DevOps and seen huge improvement in their productivity and quality.

If we look on the benefits briefly than the following major benefits you can get by implementing DevOps.

  •  Technical benefits: Continuous software delivery
  •  Technical benefits: Less complex problems to fix
  •  Technical benefits: Faster resolution of problems
  •  Business benefits: Faster delivery of features
  •  Business benefits: More stable operating environments
  •  Business benefits: More time available to add value (rather than fix/maintain)

The advantages of DevOps are clear, but the way to change an organization to adopt a DevOps technique presents various difficulties, including how to develop the structure of a group and the culture, what tools to be utilize, how to acquire the abilities, what best practices to implement and how to construct a framework that is dependable and can scale. Here you need an experienced DevOps coach or trainer who can provide you his/her expertise to teach or guide you to learn the DevOps throughout process.

But before going further keep some points in your mind, qualities a DevOps trainers should have:-

 

  • Guidance of Process and Best DevOps Practices:- You need a specialist to guide you, to share dos and don’ts and to give rules and best practices so you comprehend when not to compromise.
  • Personal Abilities:- Trainer ought to be patience, flexibility, empathy, ability to nurture others, creativity, commitment to the work and also the ability to be a team player
  • Simplifying Ability:- Illustrate complex concepts you must draw comparisons to a variety of easily recognizable elements.
  • Create an Environment :- A experienced trainer is attuned to his or her own energy level and that of the class
  • Motivational Skills:- In order to create as many organic learning moments as possible a trainer has to encourage participants to learn themselves.
  • Command of the Subject:- An expert DevOps trainer should have excellent understanding of the subject of the training
  • Communication skills :- A qualified DevOps trainer must have good communication skills for effective delivery

 

Above mentioned skills are must to have in a DevOps trainer so that you can learn and implement it in a right way.

Now the question arises here where you can find Experienced and qualified DevOps trainers, consultant and mentors in you cities? Because this is a real challenge these days to find qualified DevOps trainers for Individual and Corporate training. So, I did some research to find and I stopped my search on devopstrainer.in. This is a great search portal where you can find qualified and experienced DevOps trainers across the world in many cities like Bangalore, Pune, Hyderabad, Noida, London, Amsterdam, Singapore, San Francisco and many other cities and counties in the world.

How can you become a successful DevOps Engineer ?

how-to-become-a-devops-engineer

These days in software industry one word is high in trend and that is “DevOps”. Industry experts define DevOps either as a “culture” or “methodology”. But when organizations and companies looking for DevOps expert for their projects or organizations they post job ad like this “Hiring or Looking” for “DevOps Engineer” or “DevOps Architect”. So we can say DevOps is a culture and methodology but it’s a “Role” too.

 

Today DevOps is reforming the software industry. DevOps integrates developers and operation teams in order to improve collaboration and productivity by automation infrastructure, automating workflows and continuously application performance. These days almost all IT organizations are executing DevOps in their software development process from initial product planning stage to security assurance to quality to user’s feedback. They implementing it because it gives them technical and business benefits. It gives them to deploy code more frequently with less failure rates. By implementing DevOps organizations can provide continuous delivery of software’s with less complex problems to fix and faster solutions of the problems which ultimately means faster delivery of the features, more stable operating environments and they can have more time to add value rather than spending time on fixing and maintaining. This is the reason organizations wants to hire DevOps engineers without wasting any time.

 

So, let’s see who can become a DevOps engineer.

 

·         Anyone who is in software development or system operations can become a DevOps engineer.

 

Yes, you read it write, to become a DevOps engineer you does not need educational and formal career track. Either developers who are interested in network operations and deployments or system Admins who have an enthusiasm for scripting and coding, and move into the development side where they can enhance the planning of test and organizations they all can become a DevOps engineers.

Now, let’s check the skills a DevOps engineer should have:-

·         Knowledge of coding and scripting.

·         Experienced with systems and IT operations

·         Should be comfortable with frequent, incremental code testing and deployment and should be able to adapt ever changing environment.

·         Strong grasp of automation tools

·         They should have skills of Data management.

·         A strong emphasis on business results.

·         Ability to work in team and make them all work together.

·         Should be comfortable with collaboration, communication and reaching ability beyond functional areas.

·         Linux or Windows or Hybrid command line knowledge

·         Must be able to understand and utilize a wide variety of open source technologies and tools.

Now let’s look on the process to become a DevOps engineer.

One who accomplishes the thorough necessities to end up distinctly a DevOps engineer can hope to be enormously rewarded. It’s never been a superior or more gainful time to consider DevOps as a profession way or a career change.

 

One thing is for sure that DevOps is come here to stay and if you wants to become a DevOps engineer than you must need to enhance above mentioned skills. Remember that DevOps is less about doing things in a specific way, and more about advancing the business and giving it a more grounded innovative favorable position.

 

To start your career as a DevOps engineer you must need a mentor or instructor to help you in this and I would like to suggest scmGalaxy which is a one stop portal for DevOps learning where you can find DevOps tutorials, DevOps courses, certifications, trainers, study materials and much more all in one place. They have well designed DevOps courses and certification programs and well known dedicated DevOps trainers who can help you to become a successful DevOps engineers.

 

Tagged : / / / / / / / / / / /

Why organization should enhance DevOps skills of their employee?

organization-employee-devops-skills

It’s not shocking that a lot of organizations struggle when it comes to DevOps execution. DevOps is a new conception which IT organizations use to enhance collaboration between two functions into one. In today’s cutthroat business environment, DevOps comes as an important resolution that helps organizations meet ever-growing business demands.

 

The meaning of DevOps is different for different peoples. Some says it’s a “collaboration of operations and developers” or it’s using automation or it is a toolchain approach or culture or a job title or it’s just a Dev. and Ops. or variety of related things. But if we look onto it, it’s not just a set of tools or not just a culture or job title. We can say It is a way of doing work where people of both operations and developer skill sets work together on projects to create quality products without wasting resources and infrastructure in a short span of time by using best practices of tools.

 

There are many organizations in the world who are adopting DevOps to enhance their employee Performances and revenues and profitability of their business. There are many studies done till date where it is clearly shown that where companies implement the DevOps approach get more done, plain & simple. The greatest change in approach in a DevOps environment is that there is a single group made out of cross functional members including operations architects, business expert, DBA’s, QA, developers and so forth. There are many advantages of collaboration among these different roles delivers.

 

If we look on to benefits there are:-

1. Continuous software delivery

2. Less complex problems to fix

3. Faster resolution of problems

4. Faster delivery of features

5. More stable operating environments

6. More time available to add value (rather than fix/maintain)

 

To accomplish this, Dev and Ops must break the silos and work together with each other, share liability for keeping up the framework that runs the product, and set up the product to keep running on the framework with continuous quality input and delivery automation.

 

In this process there are so many tools and practices used to achieve the results. Source Code Repository, Build Server, Configuration Management, Virtual Infrastructure, Test Automation and Pipeline Orchestration any many more in the process.

 

DevOps is certainly a group activity, however it’s still vital to clearly define once roles and liabilities for accomplishment inside the group. Means to say it is really important for organizations to make sure dev and ops teams are collaborating and sharing responsibilities throughout the software delivery lifecycle from planning all the way to managing the production environment.

 

Now the real problem is that there are various challenges an organization and their employee’s face when they trying to execute DevOps skills because they do not able to overcome the Developers and Operations mentality and unable to do continuous balance and change of work process, they lack of understanding the security and access management, unable to do continuous monitoring, Toochain cashes of Developers and operations and various others problems they face when they try to implement it on their projects. To overcome these challenges organization’s must provide their employees DevOps skills from industry experts. Now to make your job easy I did some research on it and found one portal “DevOps Consulting” where you can get best industry trainers and consultants for corporate and individual training.

Tagged : / / / / / / / / / / / /