Dell 8 manual Customizing Linux Template, Rm /lib/udev/rules.d/75-persistent-net-generator.rules

Page 31

NOTE: Additional lines may be present in the puppet.conf file for your system. It is not necessary to delete any information from this file. You just need to ensure the previously noted section is present in the file.

Customizing Linux Template

Perform the following task to customize Linux template:

1.Ensure all instructions have been completed for VMware or Hyper-V virtual machines as noted in the previous section.

a.Install VMware tools (VMware only)

b.Install puppet agent and ensure it is configured to run on startup

c.Make sure ASM appliance and virtual machine time are synchronized by NTP.

d.Make sure DNS is configured for “dellasm” to resolve.

e.Make sure puppet.conf file has updated configuration to point to “dellasm” as server.

2.Copy puppet certname scripts puppet_certname.sh and puppet_certname.rb to the virtual machine.

a.You can find the puppet certificate name scripts for Linux (puppet_certname.sh and

ppet_certname.rb) in /opt/asm-deployer/scripts on ASM appliance. You can move these files to /var/lib/razor/repo-store. The ASM appliance location /var/lib/razor/repo-store is a share that can be mounted to your virtual machine if the virtual machine has network connectivity to the ASM appliance

NOTE: The INI file version in the puppet certificate name script must be 2.0.2.

b.On a Linux virtual machine, you must copy these scripts to /usr/local/bin. Make sure the permissions are set on these scripts to at least read and execute. To do this, run the following commands:

chmod 755 /usr/local/bin/puppet_certname.sh chmod 755 /usr/local/bin/puppet_certname.rb

3.Make sure the virtual machine has access to the internet, as this will be required to download and install the necessary ruby gem files. If your virtual machine will not have access to the internet, then download the ruby gem files for “inifile” and “hashie” and place them in the /usr/local/bin directory where you copied the puppet certname scripts.

4.You must update the Network Interfaces so that it will not be associated with the base virtual machine MAC address (varies based on OS, examples below). To update it, run the following: RHEL/CentOS:

rm /etc/udev/rules.d/70-persistent-net.rules rm/lib/udev/rules.d/75-persistent-net-generator.rules

sed -i "/^HWADDR/d" /etc/sysconfig/network-scripts/ifcfg-eth0

Debian/Ubuntu:

rm /lib/udev/rules.d/75-persistent-net-generator.rules

5.Configure cronjob to execute the puppet_certname.sh script and restart or start the puppet service. Type the following commands:

crontab –e

a.Add the following line to this file and then save and exit the file.

@reboot /usr/local/bin/puppet_certname.sh; /etc/init.d/puppet restart

31

Image 31
Contents Active System Manager Version 8.0 Quick Installation Guide Page Contents Configuring Dhcp or PXE on External Servers Accessing Online Help What is New in this ReleaseAbout this Document Licensing Other Documents You May NeedImportant Note ASM Port and Protocol Information Information Prerequisites Installing Active System MangerDeployment Prerequisites Page Page MXL Prerequisites for M1000e with MXL, S5000, and CompellentInterface range fi 0/0 7 no shut Prerequisites for Rack Server, S5000, and Compellent Dcbx port-role auto-downstream Prerequisites for Rack Server, S5000, Brocade and Compellent Interface vlan Vlan ID Create Vlan for FCoE Exit Feature fcoe feature npiv feature lacp Prerequisites for Rack Server, Cisco Nexus, and Compellent Interface vfc101 Conf feature npv Resource Create VSAN-instantiate it in the Vsan database FC feature needs to be enabled on the MXL Deploying ASM from VMware vSphere Client System Center Virtual Machine Manager Scvmm PrerequisitesDeploying ASM using Scvmm Deploying ASM on Hyper-V host Configuring Static IP Address in the Virtual Appliance Changing Dell Administrator PasswordConfiguring ASM Virtual Appliance as PXE Boot Responder Customizing Virtual Machine Templates for VMware and Hyper-V Main Server=dellasm Master Agent Rm /lib/udev/rules.d/75-persistent-net-generator.rules Customizing Linux TemplateCrontab -l Customizing Windows TemplatePage Adding NetApp Ruby SDK Configuring NetApp Storage Component Enable Http or HTTPs for NFS sharePage Completing Initial Configuration Page Deploying WinPE on the Virtual Appliance Adding OS Image Repositories Page Page Create the Dhcp User Class Configure Dhcp on Windows 2012 Dhcp ServerConfigure Dhcp on Windows 2008 Dhcp Server Create the Boot File Scope OptionCreate the Dhcp Policy Create the Dhcp User Class Configuring Dhcp for Linux Sample Dhcp Configuration
Related manuals
Manual 36 pages 54.81 Kb