Re: command "allssh genesis stop prism" not found in script
@Rinnamo allssh is a shell built-in function that is executed only in interactive shells. Since your script will be running in a non-interactive shell use the following command to execute the same action
ssh nutanix@<cvmip> 'source /etc/profile; for i in $(svmips); do ssh $i "source /etc/profile; genesis stop prism"; done'
In the above command just replace the cvmip with your controller vm ip address