Browsed by
Tag: tools

dcli and how to shutdown vCSA

dcli and how to shutdown vCSA

Sometimes You want to shutdown vCSA or PSC gracefully, but You don’t have an access to GUI through vSphere Client or VAMI. How to do it in CLI? I’m going to show You right now using dcli, because I’m exploring a potential of this tool and I can’t get enough. Open an SSH session to vCSA and log in as root user. Run dcli command in an interactive mode. dcli +i Use shutdown API call, to shutdown an appliance, giving…

Read More Read More

0 Shares
VCSA Tools – Part 1 – journalctl. Better way for vCSA log revision.

VCSA Tools – Part 1 – journalctl. Better way for vCSA log revision.

There’s a plenty of great CLI tools in VCSA that modern vSphere administrator should know, so I decided to share my knowledge and describe them in the series of articles. The first one is journalctl. A tool that simplifies and quickens the VCSA troubleshooting process. Below I’m presenting how I’m using it, to filter the logs records. Log in to VCSA shell and run the commands below, regarding to the result you want to achive. The logs from the current…

Read More Read More

0 Shares
dcli and orphaned VMs in vCenter Server inventory

dcli and orphaned VMs in vCenter Server inventory

The orphaned VMs in vCenter inventory is an unusual view in experienced administrator’s Web/vSphere Client window. But in large environments, where many people manage hosts and VMs it will happen sometimes. You do know how to get rid of them using traditional methods described in VMware KB articles and by other well known bloggers, but there’s a quite elegant new method using dcli. This handy tool is available in vCLI package, in 6.5/6.7 vCSA shell and vCenter Server on Windows…

Read More Read More

0 Shares