Login to the vRealize Orchestrator client

clip_image001

Select the workflow view> Expand library

clip_image002

There are some predefined workorders in these folders.Under SSH foder there is workorder to run SSH command


We can just right click & duplicate this WF

clip_image003

Once you duplicate the WF. We can edit it

clip_image004

Go to the presentation tab

clip_image005

Select the Varialbe Command and edit as following.(/etc/init.d/hostd restart

clip_image006

Select the user name

clip_image007

Add default value as root

clip_image008

clip_image009

Add yes as a default value for (boolean)passwordAuthentication Do you want to use password authentication?

clip_image010

Add our root password of ESX hosts as a default value of Password Authentication

clip_image011

Save & close the WF

Right click & start WF

clip_image012

Give host name for runbook

clip_image013

We can click on submit button

clip_image014

We can see the output. It has been restarted hostd service

clip_image015

Advertisements