此内容没有您所选择的语言版本。
Chapter 3. Associating Objects with the Default Organization and Location
3.1. Creating a New Domain 复制链接链接已复制到粘贴板!
For Web UI Users
Navigate to Infrastructure
In the Domain tab:
-
Name - The domain name. In this example, this is "
example.com". -
Description - A plain text description of the domain. For this example:
ACME’s example domain. - DNS Capsule - The capsule to use for DNS assignments. For this example, use the Satellite Server’s Integrated Capsule.
-
Name - The domain name. In this example, this is "
In the Locations tab:
-
Select the locations that use this domain. For example, select the
New Yorklocation.
-
Select the locations that use this domain. For example, select the
In the Organizations tab:
-
Select the organizations that use this domain. For example, select
ACME.
-
Select the organizations that use this domain. For example, select
For CLI Users
Create the domain with the following command:
hammer domain create --name "example.com" \ --description "ACME's example domain" \ --dns_id 1 --locations "New York" \ --organizations "ACME"
# hammer domain create --name "example.com" \
--description "ACME's example domain" \
--dns_id 1 --locations "New York" \
--organizations "ACME"
In this example, the --dns-id option uses 1, which is the ID of the Satellite Server’s Integrated Capsule.
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 $ORG --domain domain_name
$ hammer organization add-domain --name $ORG --domain domain_nameCopy to Clipboard Copied! Toggle word wrap Toggle overflow Associate the domain to your location.
hammer location add-domain --name $LOCATION --domain domain-name
$ hammer location add-domain --name $LOCATION --domain domain-nameCopy to Clipboard Copied! Toggle word wrap Toggle overflow
3.3. Configuring the Subnet 复制链接链接已复制到粘贴板!
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.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Create a subnet using static IP addresses.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteYou cannot set the discovery proxy using Hammer CLI.