Este contenido no está disponible en el idioma seleccionado.
Chapter 3. Associating Objects with the Default Organization and Location
3.1. Creating a New Domain Copiar enlaceEnlace copiado en el portapapeles!
Use this procedure to create a new domain.
For Web UI Users
- Navigate to Infrastructure > Domains and click Create Domain.
- In the DNS Domain field, enter the full DNS domain name.
- In the Fullname field, enter the plain text name of the domain.
- Click the Parameters tab.
- Click Add Parameter and fill in the Name and Value fields.
- Click the Locations tab, and add the location where the domain resides.
- Click the Organizations tab, and add the organization that the domain belongs to.
- Click Submit to save the changes.
For CLI Users
Use the hammer domain create command to create a domain:
# hammer domain create --name "domain_name.com" \
--description "My example domain" \
--dns-id 1 --locations "Default_Location" \
--organization "Default_Organization"
In this example, the --dns-id option uses 1, which is the ID of the Satellite Server’s Integrated Capsule.
3.2. Associating the Domain with the Default Organization Copiar enlaceEnlace copiado en el portapapeles!
Associating the Domain with the Default Organization Using the Web UI
-
On the Main Menu, click Infrastructure
Domains. - Select the domain in the Description column.
- On the Locations tab, click Default_Location to add it to the Selected items list.
- On the Organizations tab, click Default_Organization to add it to the Selected items list.
- Click Submit.
Associating the Domain with the Default Organization Using Hammer ClI
Associate the domain to your organization.
$ hammer organization add-domain --name "Default_Organization" --domain "domain_name.com"Associate the domain to your location.
$ hammer location add-domain --name "Default_Location" --domain "domain-name.com"
3.3. Configuring the Subnet Copiar enlaceEnlace copiado en el portapapeles!
Configuring the Subnet Using the Web UI
-
On the Main Menu, click Infrastructure
Subnets. Click New Subnet and enter the information specific to your environment.
If you use DHCP, enter the following information:
- Name: Provisioning_Net
- Network address: 172.17.13.0
- Network mask: 255.255.255.0
- Gateway Address: 172.17.13.1
- Primary DNS Server: 172.17.13.2
- Secondary DNS Server: Leave blank
- IPAM: None
- Start of IP Range: 172.17.13.100
- End of IP Range: 172.17.13.150
- VLAN ID: Leave blank
- Boot Mode: DHCP
If you use static IP addresses, enter the following information:
- Name: Provisioning_Net
- Network address: 172.17.13.0
- Network mask: 255.255.255.0
- Gateway Address: 172.17.13.1
- Primary DNS Server: 172.17.13.2
- Secondary DNS Server: Leave blank
- IPAM: None
- Start of IP Range: 172.17.13.100
- End of IP Range: 172.17.13.150
- VLAN ID: Leave blank
- Boot Mode: Static
- Click Submit.
- Click Provisioning_Net to edit the subnet.
- On the Domains tab, select example.org.
- On the Capsules tab, change the TFTP and Discovery Proxy capsule to reflect the host name of the Satellite Server.
- On the Locations tab, select Default_Location under All items to associate the domain with the default location.
- On the Organizations tab, select Default_Organization under All items to associate the domain with the default organization.
Configuring the Subnet Using Hammer CLI
Create a subnet.
Create a subnet using DHCP.
# hammer subnet create --name Provisioning_Net \ --organization "Default_Organization" \ --locations 'RDU' \ --domain-ids 1 \ --boot-mode DHCP \ --network 172.17.13.0 \ --mask 255.255.255.0 \ --ipam None \ --dns-primary 172.17.13.1 \ --gateway 172.17.13.1 \ --from 172.17.13.100 \ --to 172.17.13.150 \ --tftp-id 1Create a subnet using static IP addresses.
# hammer subnet create --name Provisioning_Net \ --organization "Default_Organization" \ --locations 'RDU' \ --domain-ids 1 \ --boot-mode Static \ --network 172.17.13.0 \ --mask 255.255.255.0 \ --ipam None \ --dns-primary 172.17.13.1 \ --gateway 172.17.13.1 \ --from 172.17.13.100 \ --to 172.17.13.150 \ --tftp-id 1NoteYou cannot set the discovery proxy using Hammer CLI.