Just to elaborate on this: the reason the article doesn't include the -hostname and -password options is that when I was writing the article, I unwittingly set a couple of environment variables, and forgot to unset them. The environment variables are:
XGRID_CONTROLLER_PASSWORD and XGRID_CONTROLLER_HOSTNAME. If you set these, you do not need to keep using hte -hostname and -password options.
To set them, type the following commands on the command line, or add them to your shell configuration file: