Baremetals
Baremetals server is a dedicated physical server for users. After the baremetal hosts is registered to the cloud management platform, users can create a baremetal server by installing the operating system on the baremetal hosts. The baremetal server exclusively occupies the baremetal hosts resources.
Entry: In the cloud management platform click on the top left corner navigation menu, and click “Compute/Compute/Baremetals” menu item in the left menu bar that pops up to enter the Baremetal page.
-
The top right of the list will show the total number of baremetals and the number of baremetals that are running, shutdown, operation failed, and unknown.
Create Baremetal Server
This function is used to create a new baremetal server.
- On the Baremetal page, click the “Create” button at the top of the list to enter the Create Baremetal page.
- Set the following parameters.
-
Specify Project: Set the project to which the baremetal server belongs.
-
Region: Select the Region and zone.
-
Name: Name of the baremetal server. When creating multiple baremetal servers, except for the first server name, all other server names are represented by name -1~N, and servers and baremetal share common name space.
-
Number of hosts: Set the number of baremetal created.
-
OS: Baremetals only supports Linux OS images.
- Public Image: corresponds to the public image of Linux operating system in the system image list, which is maintained by the administrator.
- Custom Image: A custom image corresponding to the Linux operating system in the system image list, which is usually uploaded by the user.
- Boot from ISO: corresponds to the Linux operating system image in ISO format in the system image list. When selecting an ISO image file, the user is required to install the operating system for the baremetal server.
-
Specifications: The list shows all optional specifications. (i.e. lists all baremetal hosts specification information for the enabled state)
-
Disk Configuration: Click the “Add Disk” button to bring up the Create Disk Configuration dialog box, configure relevant parameters, and click the “OK” button.
-
Select the disk type on the baremetal hosts (HDD:3.6TIB means a disk size of 3.6TiB on the baremetal hosts, disk class HDD), set RAID (including no RAID, RAID0, RAID1, RAID5, RAID10)
-
Set the number of disks, that is, using several disks of the same configuration to do RAID configuration, such as doing RAID0 for disks, disk utilization is 100%; RAID1 for 2 disks, disk utilization is 50%; RAID5 for 3 and more disks, disk utilization is (n-1)/n; RAID10 for 4 and more disks, disk utilization is 50%.
- RAID0 and no RAID have no requirement on the number of disks.
- RAID1 requires at least 2 identical disks.
- RAID5 requires at least 3 identical disks.
- RAID10 requires at least 4 identical disks.
-
After the configuration is finished, the disk partition name and size information will be displayed, and you can modify the partition in the interface by clicking on the “System” green area to update the partition settings or on the “Remaining” gray area to create a new partition, respectively. Partition parameters are as follows.
- Mount point: set the partition mount point, the default system partition mount point is “/”.
- Partition format: Including ext4, xfs, ntfs, swap partition.
- Partition size: Including maximum capacity and manual input, the maximum capacity uses all space on the disk, manual input can set the partition size manually, the unit is GB.
-
-
Administrator password: Set the administrator password, which is the password for the root user in Linux systems.
- Generate random: Generate random administrator password, user can see the copied administrator password in the password column of the server list.
- Associated key: You need to create a new key before associating the key. After associating the key, the user needs to use the private key to log in to the baremetal server remotely.
- Keep image settings: The administrator password is the existing administrator password in the image.
- Custom Password: The administrator password can be set manually.
-
Advanced Configuration: Including network and scheduler policies, which can be left as default.
-
Network: Set the IP address of baremetal. When there are two network cards connected to the network cable in the environment, you can check “Enable bonding”
Description
If the IP subnet selected when creating a new baremetal server is the same as the IP subnet of the baremetal hosts where the baremetal is created, the baremetal will reuse the IP address of the baremetal hosts and will not be assigned a new IP address.
- Specify IP subnet: Select IP subnet, if you want to specify static IP, click “Configure IP manually” button, set IP address, and click “OK” button.
- Specify scheduler tag: Set the scheduler tag and the scheduler tag preference. The set scheduler tag preference will override the default policy on the scheduler tag. Select the optimal IP subnet based on the scheduler tag and scheduling preferences.
- Prefer: Scheduling preference is given to IP subnets that have this tag.
- Avoid: Try to avoid IP subnets with this tag when scheduling.
- Exclude: Exclude IP subnets with this tag from scheduling.
- Require: IP subnets with this tag must be used when scheduling.
-
Description
When the baremetal hosts has two NICs connected to the cable, it will be automatically bound. When the baremetal hosts has more than two NICs connected to the cable, the NIC binding result is not controllable, so please be careful.
-
Scheduler Policy: Select the baremetal hosts by scheduler policy.
- Specify baremetal hosts: Select the baremetal hosts directly.
- Specify scheduler tag: Set the scheduler tag and the preference of the scheduler tag. The set scheduler tag preference will override the default policy of the scheduler tag. Select the corresponding baremetal hosts according to the scheduler tag and scheduler tag preference.
- Prefer: Prefer physical machines with this tag for scheduling.
- Avoid: Avoid physical machines with this tag when scheduling.
- Exclude: Exclude physical machines with this tag from scheduling.
- Require: Physical machines with this tag must be used for scheduling.
- Click the “OK” button to create a baremetal device.
Remote Terminal
This function supports remote connection to the baremetal server using SOL (Serial over LAN) and ssh. SOL means remote connection via serial port. After connecting, you need to log in using the user name and password in the initial account column.
- On the Baremetal page, click the “Remote Terminal” button on the right side of the Baremetal server, and select the drop-down menu “SOL Remote Terminal” menu item to establish a connection to the Baremetal server via the SOL method.
- Click the “Remote Terminal” button on the right side of the baremetal server and select the “SSH IP Address” menu item to establish a web SSH connection with the baremetal server.
- Click the Remote Terminal button on the right column of the baremetal server, select the “SSH IP Address:Any Port” menu item, set the port number in the pop-up dialog box, and click the “OK” button to establish a web SSH connection with the baremetal server.
- Click the “Remote Terminal” button in the operation bar on the right side of the baremetal server, select the drop-down menu “Java Console” menu item, download and open the jnlp file, and connect to the baremetal server.
Instance Status
Power on
This function is used to power on a baremetal server that is in a shutdown state.
Baremetal Start
- On the Baremetal page, click the “More” button on the right-hand column of the baremetal in the “Off” state, and select the “Start” menu item to start the baremetal server.
Batch boot
- Select one or more “shutdown” baremetal in the baremetal list and click the “Start” button at the top of the list to batch start multiple baremetal devices.
Stop
This function is used to shut down a baremetal server that is powered on.
Baremetal Stop
- On the Baremetal page, click the “More” button in the action bar to the right of the baremetal in the “On” state, and select the drop-down menu “Stop” menu item to bring up the action confirmation dialog.
- Click the “OK” button to complete the operation.
Batch shutdown
- Select one or more “On” baremetals in the baremetal list, click the “Stop” button at the top of the list to bring up the operation confirmation dialog.
- Click the “OK” button to complete the operation.
Restart
This function is used to reboot the baremetal server in the power-on state.
Baremetal Restart
- On the Baremetal page, click the “More” button on the right-hand column of the baremetal in the “On” state, select the drop-down menu “Restart” menu item, and the operation confirmation dialog box will pop up.
- Select whether to check the checkbox of Force Restart, and click the “OK” button.
Batch Restart
- Select one or more “On” baremetal in the baremetal list, click the “Restart” button at the top of the list, and the operation confirmation dialog box will pop up.
- Select whether to check the “Force Restart” box and click the “OK” button.
Note
If “Force reboot” is checked, unsaved data in baremetal will be lost.
Instance settings
Modify properties
This function is used to modify the boot media, boot method and whether to enable delete protection for baremetal servers.
Baremetal Modify Properties
- On the Baremetal page, click the “More” button in the action bar on the right side of the baremetal server, and select the drop-down menu “Modify Properties” menu item to bring up the Modify Properties dialog box.
- Set the deletion protection. When the deletion protection is disabled, the baremetal server can be deleted. When delete protection is enabled, the baremetal server cannot be deleted.
- Click the “OK” button to complete the operation.
Multiple baremetal batch modification attributes
- Check one or more baremetal servers in the list of baremetal servers, click the “More” button at the top of the list, and select the drop-down menu “Modify Properties” menu item to bring up the Modify Properties dialog box.
- Set the deletion protection. When the deletion protection is disabled, the baremetal server can be deleted. When delete protection is enabled, the baremetal server cannot be deleted.
- Click the “OK” button to complete the operation.
Reinstall System
This function is used to change the system for the baremetal server.
Note
The reinstallation operation is supported only when the baremetal server is powered off.
- On the baremetal page, click the “More” button on the right side of the baremetal server, and select the “Reinstall System” menu item to bring up the Reinstall System dialog box.
- Select the system image, you can select the image of the same OS from the public image or custom image respectively.
- Set the administrator password, which is the password of the root user in Linux system and the password of the administrator user in Windows OS.
- Random Password: randomly generated administrator password, users can view the copied administrator password in the baremetal list password column.
- Key Pair: A new key needs to be created before associating the key. After associating the key, the user needs to use the private key to log in to the baremetal server remotely.
- Keep image settings: The administrator password is the existing administrator password in the image.
- Custom Password: You can set the administrator password manually.
- The default check box is “Automatically start after reinstallation”, you can uncheck it if you want, click “OK” button to finish the operation.
Synchronize state
When the server is maliciously damaged or operated by illegal brute force, resulting in abnormal service status (such as system crash), it needs to be repaired by the administrator in the background to synchronize the server environment status and provide system-level service repair measures. Or synchronize the running state in case of resource over-allocation.
synchronized state
- On the Baremetal page, click the “More” button in the action bar on the right side of the baremetal server and select the drop-down menu “Sync Status” menu item to synchronize the baremetal status.
Batch Sync Status.
- Check one or more baremetal servers in the list of baremetal servers, click the**_“Batch Action”_** button at the top of the list, and select the drop-down menu **_“Sync Status”_** menu item to synchronize the baremetal status.
Change Project
A project is the owner of a resource. When a baremetal server belongs to a project, all members of the project have access to that baremetal server. You can change the project to which the baremetal server belongs according to the specific usage requirements.
Baremetal Change Project
- On the Baremetal page, click the “More” button in the action bar on the right side of the baremetal server, and select the drop-down menu “Change Project” menu item to bring up the Change Project dialog box.
- After selecting the domain and the items under the domain, click “OK” button to finish the operation.
Batch Change Projects
Batch change projects require that the selected baremetal servers belong to the same domain.
- Check one or more baremetal servers in the baremetal list, click the**_“Batch Action”_** button at the top of the list, and select the drop-down menu **_“Change Project”_** menu item to bring up the Change Project dialog box.
- After selecting the domain and the items under the domain, click the “OK” button to complete the operation.
Create Identical Configuration
This function is used to create a baremetal server with the same configuration.
- On the Baremetal page, click the “More” button in the action bar on the right side of the baremetal server, and select the drop-down menu “Create Identical Configuration” menu item to bring up the Create Identical Configuration dialog box.
- Enter the name, set the quantity, other parameters can be left as default, and click the “OK” button.
Password Key
Reset password
This function is used to update the password of the administrator user on the baremetal server. The administrator password is the password of the root user on Linux systems.
Note
- The password reset operation is supported only when the baremetal server is powered off.
- The reset password operation is not available for baremetal servers that are bound with a key.
- The reset password operation is not supported for baremetal created by ISO boot method.
baremetal password reset
- On the Baremetal page, click the “More” button in the action bar on the right side of the baremetal server, and select the drop-down menu “Reset Password” menu item to bring up the Reset Password dialog box.
- Set the administrator password.
- Randomly Generated: Generate administrator password randomly, users can view and copy the administrator password in the password column of the server list.
- Custom Password: You can set the administrator password manually.
- The default check box is “Start automatically after password reset”, you can uncheck it if you want, click “OK” button to finish the operation.
Batch Reset Password
- Check one or more shutdown baremetal servers in the baremetal list, click the**_“Batch Action”_** button at the top of the list, select the drop-down menu **_“Reset Password”_** menu item, and the Reset Password dialog box will pop up.
- Set the administrator password.
- Generate randomly: Generate administrator password randomly, and users can view the copied administrator password in the password column of the server list.
- Custom Password: You can set the administrator password manually. The default check box is “Start automatically after password reset”, you can uncheck it if you want, click “OK” button to finish the operation.
Bind Key
This function is used to bind the key for the baremetal server. After the key is bound, the user needs to use the private key to log in to the baremetal server, or get the password of the baremetal server on the cloud management platform with the private key. Please create the key before binding the key. A baremetal server only supports binding one key. When binding a key, users cannot see the password information directly in the password column of the baremetal list, and need to enter the private key content to get the password.
Note
- Bind key operations are only supported in the baremetal server shutdown state.
- Bind key operations are not supported for baremetal created via ISO boot.
On the Baremetal page, click the “More” button on the right action bar of the Baremetal Server, select the drop-down menu “Bind Key” menu item to bring up the Bind Key dialog box. 2. Select the key pair, check “Start automatically after binding key” by default, uncheck it as needed, click “OK” button, the baremetal with the bound key needs to use SSH key pair to log in.
Unbind key
This function is used to unbind the baremetal server from the key.
Note
- The unbind key operation is supported only when the baremetal server is powered off.
- Unbind key operation is not supported for baremetal created by ISO boot method.
On the Baremetal page, click the “More” button on the right action bar of the Baremetal Server, and select the “Unbind Keys” menu item to bring up the Bind Keys dialog box. 2. Check “Start automatically after binding key” by default, you can uncheck it if you want, and click “OK” button to finish the operation.
Image
Mount ISO
This function is used to mount ISO for baremetal, only physical machines that support RedFish and can mount optical drives support ISO mounting.
Description
The OneCloud platform currently does not support modifying baremetal boot media, and baremetal with an installed OS cannot be reinstalled directly using the ISO image after mounting the ISO image.
- On the baremetal page, click the “More” button on the right side of the baremetal server, and select the drop-down menu “Mount ISO” menu item to bring up the Mount ISO dialog box.
- Select ISO image, if ISO image is available, please upload ISO image in the system image list or import ISO image from the image market.
- Click “OK” button to complete the mount ISO operation.
Uninstall ISO
This function is used to unmount the mounted ISO image on the baremetal hosts.
- On the Baremetal page, click the “More” button in the action bar on the right side of the baremetal server, select the drop-down menu “Uninstall ISO” menu item, and the action confirmation dialog box will pop up.
- Click the “OK” button to complete the uninstall ISO operation.
Delete
Set the deletion protection
This function is used to set the deletion protection of the baremetal server. When the deletion protection is enabled on the baremetal server, the baremetal server cannot be deleted; when the deletion protection is disabled on the baremetal server, the baremetal server can only be deleted.
baremetal setting deletion protection
- Disable deletion protection.
- Click on the baremetal server name with icon, click the “More” button in the action bar on the right side of the baremetal server, and select the drop-down menu “Delete-Lock Setting” menu item to bring up the Delete-Lock Setting dialog box.
- Select “Disable” delete protection and click “OK” button.
- Enable delete protection.
- When the baremetal server name is not marked with icon, click the “More” button in the action bar on the right side of the baremetal server, select the drop-down menu “Delete-Lock Setting” menu item to bring up the Delete-Lock Setting dialog box.
- Select “Enable” delete protection, and click “OK” button.
Set up batch delete protection
- Disable delete protection.
- Check one or more baremetal servers in the baremetal list, click the “Batch Action” button at the top of the list, select the drop-down menu “Delete-Lock Setting” menu item to bring up the Delete-Lock Setting dialog box.
- Select “Disable” deletion protection, click “OK” button to disable deletion protection for baremetal in batch.
- Enable delete protection.
- Check one or more baremetal servers in the baremetal list, click the “Batch Action” button at the top of the list, select the drop-down menu “Delete-Lock Setting” menu item to bring up the Delete-Lock Setting dialog box.
- Select “Enable” delete protection and click the “OK” button to enable delete protection for baremetal in batch.
Delete
When the baremetal server name item has icon, it means that the baremetal server has deletion protection enabled and the baremetal server cannot be deleted. If you need to delete the baremetal server, you need to disable the deletion protection first before deleting the baremetal server.
Delete
- On the Baremetal page, click the “More” button in the action bar on the right side of the baremetal server, and select the “Delete” menu item to bring up the action confirmation dialog.
- Click the “OK” button to complete the operation.
Batch Delete
- Check one or more baremetal servers in the baremetal list, click the**_“Batch Action”_** button at the top of the list, select the drop-down menu **_“Delete”_** menu item, and the operation confirmation dialog box will pop up.
- Click the “OK” button to complete the operation.
Tag Management
Please see Setting - Tag Management contents.
View baremetal details
This function is used to view the details of baremetal.
- On the baremetal page, click the baremetal name item to enter the baremetal details page.
- The menu item at the top of the details page supports managing operations for baremetal, etc.
- View the following information.
- Basic Information: Including Cloud ID, ID, name, status, domain, project, associated key, platform, created at, updated at, and description.
- Configuration information: Including OS, IP, system image, CPU, memory, system disk, data disk, ISO, GPU, baremetal hosts, SN.
- Other Information: Support to turn on or off the deletion protection.
View network information
This function is used to view the network information of the baremetal server.
- On the baremetal details page, click the “Network” tab to enter the network page.
- View the serial number, NIC name, MAC address, IP address, driver, bandwidth limit, virtual and other information of the baremetal NIC.
- Support modifying bandwidth, replacing IP and customizing data column function.
- Modify Bandwidth: Modify the bandwidth limit of the NIC.
- Click the “Modify Bandwidth” button in the operation column to pop up the Modify Bandwidth dialog box.
- Set the bandwidth, 0 means no limit, and the value range is 0~10000 integers. Click the “OK” button.
- Change IP: Modify the IP address of the server. It supports dynamically assigning IP addresses in the IP subnet or manually specifying IP addresses within the IP subnet.
- Click the “Replace IP” button in the Action column to bring up the Replace IP dialog box.
- Select IP subnet, if you want to specify static IP, click “Configure IP manually” button to set IP address, and click “OK” button.
- Modify Bandwidth: Modify the bandwidth limit of the NIC.
View Disk Information
This function is used to view the disk information on baremetal.
- On the Baremetal Details page, click the Disk tab to enter the Disk page. View the serial number, disk name, size, drive, cache mode, status, storage type, disk type, etc. of the baremetal disk. Support custom data column function.
View monitoring information
This function is used to view the monitoring information of baremetal, and supports setting alerts based on the monitoring information.
- On the baremetal details page, click the “Monitor” tab to enter the monitoring page.
- View the following monitoring information.
- Agent monitoring: Monitoring information obtained when the Agent is installed on bare metal.
- Support to view the bare metal performance monitoring information for the last 1 hour, the last 3 hours and the last 6 hours.
- Monitoring indicators include CPU utilization rate, memory utilization rate, network incoming traffic, network outgoing traffic, disk read rate, disk write rate.
- Temperature monitoring: Temperature-related monitoring information is collected only after the Agent is installed on the bare metal.
- It supports viewing the bare metal performance monitoring information for the last 1 hour, the last 3 hours, and the last 6 hours.
- Monitoring indicators include CPU temperature and disk temperature.
- Agent monitoring: Monitoring information obtained when the Agent is installed on bare metal.
Install Agent
This function is used to install Agent for bare metal in batch.
Prerequisites for Agent installation.
- Bare metal operating system is Linux operating system.
- The bare metal is currently powered on.
- Select one or more bare metals in the bare metal list, click the “Batch Operation” button at the top of the list, select the drop-down menu “Install Agent” menu item, and the Install Agent dialog box will pop up.
- Start to detect the status of bare metal’s unencrypted login.
- When the bare metal can be logged in, click “OK” button to install the Agent.
- When the bare metal is not available, please set the bare metal to the unclassified login status first. Please click the “View” button to check the reason for the failure of detecting the unprotected login.
- If “none publickey” is indicated in the error report, you can set the bare metal as the unencrypted login by setting the unencrypted login function. The configuration parameters for setting the password-free login mode are as follows.
- Setting method: It supports uploading the public key of the platform to bare metal by key, password, script and so on.
- When the setting method is “Key”, please use the root user or the user with sudo password-free privilege to connect to the corresponding bare metal via ssh with the user name and private key, and click “OK” button to start setting and detect whether the bare metal’s password-free login status is changed to The “password” button will start setting up and detecting whether the bare metal “password-free” login status is changed.
- When the setting method is “Password”, please use the root user or a user with sudo password-free privilege to connect to the corresponding bare metal via ssh with the user name and password. Click the “OK” button to start setting up and detecting whether the bare metal password-free login status changes to password-free login.
- When the setting method is “script”, please execute the following script in bare metal with root or sudo privilege, and click “OK” button to start setting and detecting whether the unencrypted login status of bare metal is changed to unencrypted login.
- If “network error” is prompted in the error report, you need to go back to the previous step and select another bare metal, or bind EIP or NAT gateway for this bare metal to make it passable with the platform network.
- If “none publickey” is indicated in the error report, you can set the bare metal as the unencrypted login by setting the unencrypted login function. The configuration parameters for setting the password-free login mode are as follows.
View Baremetal Operation Log
This function is used to view the log information of baremetal related operations.
- On the Baremetal Details page, click the Operation Log tab to enter the Operation Log page.
- Load More Logs: In the Operation Logs page, the list shows 20 operation logs by default. To view more operation logs, please click the “Load More” button to get more logs.
- View Log Details: Click the “View” button on the right column of the operation log to view the log details. Copy details are supported.
- View logs of specified time period: If you want to view the operation logs of a certain time period, set the specific date in the start date and end date at the top right of the list to query the log information of the specified time period.
- Export logs: Currently, only the logs displayed on this page are supported to be exported. Click the upper-right corner of icon, set the export data column in the pop-up export data dialog, and click the “OK” button to export the logs.