Skip to content

Latest commit

 

History

History
71 lines (44 loc) · 2.24 KB

sc01-tc04.md

File metadata and controls

71 lines (44 loc) · 2.24 KB

SC01-TC04: Supervisor Cluster Control Plane Access and Logging

The vSphere with Tanzu control plane is a set of virtual machines (3) that gets created when workload management on a vCenter Cluster is Enabled. This set of control plane virtual machines (3) are responsible for serving the Tanzu Kubernetes Grid Service and managing Tanzu Kubernetes Clusters that run within a scoped group of resource limits, similar to vCenter resource groups, called a Supervisor Cluster namespace. At certain times or during troubleshooting it may be necessary to view and collect logs from these Supervisor Cluster control plane virtual machines.


Test Case Summary

This test procedure describes how to ssh to Supervisor Cluster control plane nodes and gain access to their logs.


Prerequisites

  • Completion of SC01-TC01, SC01-TC02
  • vCenter Appliance root credentials
  • SSH enabled on vCenter Appliance

Test Procedure

  1. Using root credentials, initiate an SSH session to the vCenter server.

    ssh root@${VC_APP_IP}
    
  2. After successful authentication, launch BASH shell by entering the command

    shell
    
  3. Tail Workload Management log

    tail -f /var/log/vmware/wcp/wcpsvc.log
    
  4. Next, obtain the token SC_Mgmt_VIP_IP and SC_Root_PWD password with the command

    /usr/lib/vmware-wcp/decryptK8Pwd.py
    

    Then, using the information obtained from the vCenter server, initiate a SSH session to the SC_Mgmt_VIP_IP. For example,

    ssh root@SC_Mgmt_VIP_IP

    When prompted, enter the SC_Root_PWD

  5. Access Management Cluster Deployment Logs

    kubectl logs deployment.apps/capw-controller-manager -n vmware-system-capw manager
    

Additional Logging Information


Status Pass/Fail

  • [ ] Pass
  • [ ] Fail

Return to Test Cases Inventory