Verifying the pre-condition
It is always a good idea to work with a functioning system before moving to the next set of steps. This will help you avoid the situation where subsequent actions start to fail. Throughout this book, we will highlight such strategies and provide you with guidance so that you’ll be successful.
Tip
The following set of commands can help you verify any pre-conditions and ensure that you are working with a properly functioning Management Hub.
- Verify that
HZN_ORG_ID
andHZN_EXCHANGE_USER_AUTH
are set in your working shell:env | grep HZN
You should expect to see
HZN_ORG_ID
andHZN_EXCHANGE_USER_AUTH
as defined environment variables. - Check that the
hzn
CLI is installed and the Edge agent is running.hzn version
You should expect to see text output similar to the following:
Horizon CLI version: 2.30.0-1491 Horizon Agent version: 2.30.0-1491
- Verify that you can access the Management Hub:
hzn exchange version
You should expect to see text output...