
NOTE: The name '
default
' is reserved for the sample tenant configuration and cannot be used as a
tenant name.
Configuring a Tenant - There are several configuration files that come into play when setting up a new tenant.
These configuration files drive the tenant creation process, and control the other aspects of tenant management.
A tenant created using these configuration files takes on initial configuration, based on the values provided. The
following options can be used if the configuration changes after a tenant has been created:
●
manually configure the tenant VM and its associated resources using standard Linux administrative tools to
match the new configuration
●
remove and re-create the tenant VM using the new configuration
The chosen option depends on the nature of the change and the potential impact of removing and re-creating the
tenant VM.
Configuration Files
●
The Tenant Configuration File - To configure a new tenant, create a new configuration file
in
/etc/sysconfig/uxtenant/tenants
with the name to be used for the tenant VM. There is a sample
configuration provided called
default
in that directory that the be copied and edited. Here is an example:
# Management network adapter
UXTENANT_TENANT_MGMT_IP_ADDR=10.142.150.1
UXTENANT_TENANT_MGMT_IP_ADDR_NETMASK=255.255.0.0
UXTENANT_TENANT_MGMT_IP_ONBOOT=yes
# Operational network adapter
UXTENANT_TENANT_IP_ADDR=172.30.48.7
UXTENANT_TENANT_IP_ADDR_NETMASK=255.255.240.0
UXTENANT_TENANT_IP_ONBOOT=no
UXTENANT_TENANT_IP_GATEWAY=172.30.48.1
UXTENANT_TENANT_IP_DNS1=172.30.84.40
UXTENANT_TENANT_IP_DNS2=172.31.84.40
UXTENANT_TENANT_IP_DOMAIN=us.cray.com
UXTENANT_TENANT_MOUNTS="lustre home"
UXTENANT_TENANT_HOST=login1
In the preceding code block:
○
UXTENANT_TENANT_MGMT_IP_ADDR
is the address of the tenant VM on the Urika-GX management
Ethernet. This should be an address in the range
10.142.150.1
to
10.142.255.254
and must be
unique among all tenant configurations on a single Urika-GX.
○
UXTENANT_TENANT_MGMT_IP_ADDR_NETMASK
is the netmask for the management Ethernet. Leave this
as
255.255.0.0
.
○
UXTENANT_TENANT_MGMT_IP_ONBOOT
is an indication of whether the VM should bring up the
management Ethernet when it boots. Leave this as
yes
.
○
UXTENANT_TENANT_IP_ADDR
is the IP address to be used for reaching the tenant VM from on the
external network or VLAN. It is important that the IP address used here be in the same sub-net that the
external IP address of the host physical node is in, since the external network of the tenant VM is bridged
onto the physical node's external network interface.
○
UXTENANT_TENANT_IP_ADDR_NETMASK
is the netmask for the IP address to be used for reaching the
tenant VM from the external network or VLAN. It is important that the network mask be the same as that
for the external network for the host physical node, since the external network of the tenant VM is bridged
onto the physical node's external network interface.
Security
S3016
190