Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • VMware vRealize Orchestrator Cookbook
  • Toc
  • feedback
VMware vRealize Orchestrator Cookbook

VMware vRealize Orchestrator Cookbook

By : Langenhan
4.3 (10)
close
VMware vRealize Orchestrator Cookbook

VMware vRealize Orchestrator Cookbook

4.3 (10)
By: Langenhan

Overview of this book

If you are a VMware administrator who is interested in automating your infrastructure, this book is for you. An understanding of basic programming concepts is advised. No previous knowledge of Orchestrator is required, although some previous knowledge of it will allow you to get started more easily.
Table of Contents (9 chapters)
close
8
Index

Working with logs


In this recipe, we will look into how logging works in Orchestrator. You will learn how to create log entries and where they are stored.

Getting ready

We just need a working Orchestrator, and you will need the rights to create new workflows and run them. We will work with the Orchestrator client.

Additionally, we need administrative (root) access to the Orchestrator's operating system.

How to do it...

  1. Create a new workflow.

  2. Drag all log elements from the Log section into the workflow and arrange them as shown here:

  3. Create the following variables:

    Name

    Type

    Section

    Binds with

    logText

    String

    IN

    Transports error text

    logObject

    String

    IN

    Transports object text

  4. Bind each log element with the required in-parameter.

  5. Save and exit the workflow.

  6. Run the workflow and enter two different phrases such as LogText and LogObject.

  7. Check the result of the workflow by clicking on Logs as seen in the following screenshot. Also check the Events tab of the workflow.

  8. Check the log files...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete