system in tenant system) access to it.didevXX) users.vctl, because -- as dj.adams keeps saying -- "The future is terminal" 🙂vctl utilityvctl in his post Zen and the Art of SAP Data Intelligence. Episode 3: vctl, the hidden pearl you must know!system tenant as a system user and open System Management. And then go to the Help icon to download VCTL.
Darwin and download the utility to my ~/Tools folder.com.apple.quarantine. Catalina assigned this attribute to the file because it was downloaded from the web.ls -l@ vctl
xattr -d com.apple.quarantine vctl
chmod u+x vctl./vctl whoamiError: invalid session. Did you login? Has your session expired? as I am not logged in yet../vctl login --help
./vctl login https://a00371847c6a6444eb0f3bf4fa2a65c6-mysupersecrethost.supersecretdomain.com system system --insecure
./vctl whoami
--insecure option, as a host in the Trial is using a self-signed certificate.Hint: If you havekubectlinstalled and its context is set to the Data Intelligence's K8s cluster, then you can get the ingress host name fromkubectl get ingress -n datahub -o=jsonpath='{.items[0].status.loadBalancer.ingress[0].hostname}'.
Use it in the login command:
./vctl login https://$(kubectl get ingress -n datahub -o=jsonpath='{.items[0].status.loadBalancer.ingress[0].hostname}') system system --insecure
~/.vsystem/.vsystem_conn.learning, but if you want users to access all connections and data pre-configured for tutorials, then you should create new users in the existing default tenant../vctl tenant create --help
./vctl tenant create learning
./vctl tenant set-strategy learning sdi-default-extension-strategySuccessfully created tenant "learning" and Successfully set strategy "sdi-default-extension-strategy" for tenant "learning"../vctl user create --help
./vctl user create learning didev00 Welcome20 memberSuccessfully created user "learning/didev00".member (not an admin) user didev00 in the tenant learning with the password Welcome20 (although I understand many might say 2020 is not that welcoming...)./vctl policy --help
./vctl policy list-policies --tenant learning
./vctl policy assign sap.dh.metadata --tenant learning didev00
./vctl policy assign sap.dh.developer --tenant learning didev00bash script sapdi_users_create.sh.#!/bin/bash
while getopts n:t:p: option
do
case "${option}"
in
n) NRTOTAL=${OPTARG};;
t) DITENANT=${OPTARG};;
p) DEVPWD=${OPTARG};;
esac
done
NRTOTAL=${NRTOTAL:-'3'}
DITENANT=${DITENANT:-'default'}
DEVPWD=${DEVPWD:-'SAPDI30trial'}
for i in $(eval echo {1..${NRTOTAL}})
do
nr=$(printf "%02d" $i)
didevnr="didev${nr}"
echo "${didevnr} out of ${NRTOTAL} being created..."
./vctl user create ${DITENANT} ${didevnr} ${DEVPWD} member
./vctl policy assign sap.dh.metadata --tenant ${DITENANT} ${didevnr}
./vctl policy assign sap.dh.developer --tenant ${DITENANT} ${didevnr}
doneSAPDI30trial in the default tenant.-n number of users to create starting from didev01-t tenant-p new user's password (same for all newly created users)./sapdi_users_create.sh -n 2 -t learning -p P@$$w0rd$
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 46 | |
| 41 | |
| 38 | |
| 31 | |
| 28 | |
| 28 | |
| 26 | |
| 24 | |
| 24 | |
| 23 |