katij-uipath / v23.10_Automation_Suite_Upgrade

0 stars 0 forks source link

Add new aliases to all servers in cluster #1

Open katij-uipath opened 1 year ago

katij-uipath commented 1 year ago

On each SERVER NODE review these aliases and add any that aren't already listed:

vi ~/.bashrc

#uipath kubectl for server nodes
export KUBECONFIG="/etc/rancher/rke2/rke2.yaml"
export PATH="$PATH:/usr/local/bin:/var/lib/rancher/rke2/bin"

#uipath current version installer directory
alias ui2310='cd /opt/UiPathAutomationSuite/2023.10.1/installer'

#uipath kick off support bundle script
alias uisb='/opt/UiPathAutomationSuite/support/2023.10.1/support-bundle.sh'

#uipath troubleshooting
alias failed-pods='kubectl get pods -A -o wide | grep -v "1/1" | grep -v "2/2" | grep -v "3/3" | grep -v "4/4" | grep -v Comp'

#uipath change common directory permissions and ownership
alias ui755='chmod -R 755 /opt/UiPathAutomationSuite'
alias ui777='chmod -R 777 /opt/UiPathAutomationSuite'
alias uiroot='chown -R root /opt/UiPathAutomationSuite'

On each AGENT NODE review these aliases and add any that aren't already listed:

vi ~/.bashrc

#uipath kubectl for agent nodes
export KUBECONFIG="/var/lib/rancher/rke2/agent/kubelet.kubeconfig"
export PATH="$PATH:/usr/local/bin:/var/lib/rancher/rke2/bin"

#uipath current version installer directory
alias ui2310='cd /opt/UiPathAutomationSuite/2023.10.1/installer'

#uipath kick off support bundle script
alias uisb='/opt/UiPathAutomationSuite/support/2023.10.1/support-bundle.sh'

#uipath troubleshooting
alias failed-pods='kubectl get pods -A -o wide | grep -v "1/1" | grep -v "2/2" | grep -v "3/3" | grep -v "4/4" | grep -v Comp'

#uipath change common directory permissions and ownership
alias ui755='chmod -R 755 /opt/UiPathAutomationSuite'
alias ui777='chmod -R 777 /opt/UiPathAutomationSuite'
alias uiroot='chown -R root /opt/UiPathAutomationSuite'
katij-uipath commented 1 year ago

.

katij-uipath commented 11 months ago

NonProd: Done on 11, 12, 13, 15, 16, 17 Still need to update 14, 18

KKieffer44 commented 11 months ago

updated on 14 and 18

KKieffer44 commented 11 months ago

There is a typo in the server ones, sending email

katij-uipath commented 11 months ago

I updated the export commands in the task to double quotes as well for future reference.