Przejdź do głównej zawartości
  • Szybkie i łatwe składanie zamówień
  • Wyświetlanie zamówień i śledzenie stanu wysyłki
  • Tworzenie i dostęp do listy produktów
  • Na firmowej stronie administracji możesz zarządzać witrynami, produktami i danymi kontaktowymi firmy Dell EMC.

iDRAC 8/7 v2.30.30.30 User’s Guide

Configuring option 43 and option 60 on Linux

Update the /etc/dhcpd.conf file. The steps to configure the options are similar to the steps for Windows:
  1. Set aside a block or pool of addresses that this DHCP server can allocate.
  2. Set the option 43 and use the name vendor class identifier for option 60.
                                        option myname code 43 = text;
                                        subnet 192.168.0.0 netmask 255.255.0.0  {
                                        #default gateway
                                        	option routers			192.168.0.1;
                                        	option subnet-mask		255.255.255.0;
                                        	option nis-domain		"domain.org";
                                        	option domain-name		"domain.org";
                                        	option domain-name-servers	192.168.1.1;
                                        	option time-offset		-18000;	# Eastern Standard Time
                                        	
                                        option vendor-class-identifier "iDRAC";
                                           	set vendor-string = option vendor-class-identifier;
                                           	option myname "-f system_config.xml -i 192.168.0.130 -u user -p password -n cifs -s 2 -d 0 -t 500";
                                        
                                        	range dynamic-bootp 192.168.0.128 192.168.0.254;
                                        	default-lease-time 21600;
                                        	max-lease-time 43200;
                                        		}
                                        }
                                     
    The following are the required and optional parameters that must be passed in the vendor class identifier string:
    • Filename (–f) — Indicates the name of the exported Server Configuration Profile XML file. Specifying the filename is optional with iDRAC version 2.20.20.20 or later.
    • Sharename (-n) — Indicates the name of the network share.
    • ShareType (-s) — Indicates the share type. 0 indicates NFS and 2 indicates CIFS.
    • IPAddress (-i) — Indicates the IP address of the file share.
      • NOTE: Sharename (-n), ShareType (-s), and IPAddress (-i) are required attributes that must be passed.
    • Username (-u) — Indicates the user name required to access the network share. This information is required only for CIFS.
    • Password (-p) — Indicates the password required to access the network share. This information is required only for CIFS.
      • NOTE: Example for Linux NFS and CIFS share:
        • NFS:   -f system_config.xml -i 192.168.0.130 -n /nfs -s 0 -d 0 -t 500
        • CIFS:  -f system_config.xml -i 192.168.0.130 -n sambashare/config_files -s 2 -u user -p password -d 1 -t 400
        Ensure that you use NFS2 or NFS3 for NFS network share
    • ShutdownType (-d) — Indicates the mode of shutdown. 0 indicates Graceful shutdown and 1 indicates Forced shutdown.
      • NOTE: The default setting is 0.
    • Timetowait (-t) — Indicates the time the host system waits before shutting down. The default setting is 300.
    • EndHostPowerState (-e) — Indicates the power state of the host. 0 indicates OFF and 1 indicates ON. The default setting is 1.
      • NOTE: ShutdownType (-d), Timetowait (-t), and EndHostPowerState (-e) are optional attributes.
    The following is an example of a static DHCP reservation from a dhcpd.conf file:

    host my_host {

    hardware ethernet b8:2a:72:fb:e6:56; 

      fixed-address 192.168.0.211; 

    option host-name "my_host";

     option myname " -f r630_raid.xml -i 192.168.0.1 -n /nfs -s 0 -d 0 -t 300";

    }

    • NOTE: After editing the dhcpd.conf file, make sure to restart the dhcpd service in order to apply the changes.

Oceń tę zawartość

Trafne
Przydatne
Łatwe do zrozumienia
Czy ten artykuł był przydatny?
0/3000 characters
  Podaj ocenę (od 1 do 5 gwiazdek).
  Podaj ocenę (od 1 do 5 gwiazdek).
  Podaj ocenę (od 1 do 5 gwiazdek).
  Określ, czy artykuł były przydatny, czy nie.
  Komentarze nie mogą zawierać znaków specjalnych: <>()\