Acronis Storage 2.
Copyright Statement Acronis International GmbH, 2002-2016. All rights reserved. ”Acronis” and ”Acronis Secure Zone” are registered trademarks of Acronis International GmbH. ”Acronis Compute with Confidence”, ”Acronis Startup Recovery Manager”, ”Acronis Active Restore”, ”Acronis Instant Restore” and the Acronis logo are trademarks of Acronis International GmbH. Linux is a registered trademark of Linus Torvalds. VMware and VMware Ready are trademarks and/or registered trademarks of VMware, Inc.
Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2. Preparing for PXE Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2.1 Choosing Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2.2 Installing Software on the PXE Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.
CHAPTER 1 Introduction This guide explains how to install Acronis Storage over network using a preboot execution environment (PXE) server. To install Acronis Storage 2.0 over a network, you need to complete the following steps: 1. Prepare for installation from a PXE server. 2. Create a kickstart file. 3. Install Acronis Storage. 4. Optionally, configure the management panel node or register storage nodes in the management panel. These steps are explained in the following chapters in detail.
CHAPTER 2 Preparing for PXE Installation The process of preparing for installation over network with a PXE server includes multiple steps described below in detail. 2.1 Choosing Servers First, you should decide on the servers to participate in the PXE installation. You need these servers: • PXE server. This is a server allowing your servers to boot and install Acronis Storage over the network.
2.2. Installing Software on the PXE Server 2.2 Installing Software on the PXE Server Next, you are supposed to install the necessary software on the PXE server. First of all, you need to install a Linux operating system on the server. There are no specific requirements for which operating system to use, so you can choose any (e.g., CentOS 6 or Fedora 17).
Chapter 2. Preparing for PXE Installation user = root server = /usr/sbin/in.tftpd server_args = -v -s /tftpboot per_source = 11 cps = 100 2 flags = IPv4 } Once you are done, save the file. 2. Copy the following files to the /tftpboot directory (if this directory does not exist, create it under the root (/) directory): • vmlinuz • initrd.img • menu.c32 • pxelinux.0 These files are necessary to start the installation of Acronis Storage.
2.4. Setting Up a DHCP Server 5. Restart the xinetd service: # /etc/init.d/xinetd restart 6. If necessary, configure your firewall on the PXE server to allow access to the TFTP server. Note: When running the TFTP server, you might get the “Permission denied” error. In this case, you may try to fix the problem by running the following command on the server: # restorecon -Rv /tftboot/. 2.4 Setting Up a DHCP Server Now you can proceed with configuring a DHCP server.
Chapter 2. Preparing for PXE Installation Note: For EFI-based systems, the file you need to edit has the name of /tftpboot/pxelinux.cfg/efidefault or /tftpboot/pxelinux.cfg/. Assuming that you have the installation files in the /var/www/html/astor directory on the HTTP server with the IP address of 198.123.123.
CHAPTER 3 Installing Acronis Storage 2.0 Now that you have prepared all the servers, you can start the Acronis Storage installation: 1. Restart the Acronis Storage server after configuring its BIOS settings to boot from the network. Note: If you plan to perform an unattended installation of Acronis Storage, you need to additionally create a kickstart file. For more details, see Creating a Kickstart File on page 8. 2.
CHAPTER 4 Creating a Kickstart File If you plan to perform an unattended installation of Acronis Storage, you can use a kickstart file. A kickstart file is a simple text file containing the information used by the Acronis Storage installer to install and configure your physical server. The format of kickstart files used in Acronis Storage installations is similar to that used to perform unattended installations of Red Hat Enterprise Linux (RHEL).
4.2. Acronis Storage Kickstart Options Option Description firstboot --enable Starts the Setup Agent the first time the system is booted. keyboard Sets the system keyboard type. lang Sets the language to use during installation and the default language to use on the installed system. rootpw --iscrypted Sets the system’s root password. selinux --disabled Disables SElinux. services --enabled=”chronyd” Enables time synchronization via NTP. timezone Sets the system time zone.
Chapter 4. Creating a Kickstart File Parameter Description network --bootproto=dhcp Specifies the method to obtain network configuration with. --device= Specifies the network adapter to configure. --ipv6=auto --activate Sets the network adapter’s IPv6 address and activates the adapter in the installer environment. 4.
4.4. Specifying Acronis Storage Components to Install yum reinstall vzlinux-release -y %end 4.3.3 Add-on Script To enable kernel crash dumping during the installation, add the following lines to the end of the kickstart file: %addon com_redhat_kdump --enable --reserve-mb=’auto’ %end 4.4 Specifying Acronis Storage Components to Install Finally, you need to specify which Acronis Storage components you need to install on the node: • management panel with or without storage, • storage.
Chapter 4. Creating a Kickstart File %addon com_vstorage --management --storage --bare %end If you do not want to install the storage component on the same node, omit the --storage option. 2. Once the installation is complete, execute the following command on the node to configure the management panel component: echo | /usr/libexec/vstorage-ui-backend/bin/configure-backend.sh \ -x -i where • • •
4.5. Kickstart File Example • is the token that can be obtained in the management panel, • is the IP address of the private network interface on the node with the management panel. To install the storage component without running scripts afterwards, specify the token and the IP address of the node with the management panel in the kickstart file. For example: %addon com_vstorage --storage --token= --mgmt-node-addr= %end 4.
Chapter 4. Creating a Kickstart File # Set the encrypted root password for the server. rootpw --iscrypted xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # Disable SELinux. selinux --disabled # Enable time synchronization via NTP. services --enabled=”chronyd” # Set the system time zone. timezone America/New_York # Configure the bootloader. Set the target device for the system as the first # drive in the BIOS boot order and write the boot record to mbr.
4.6. Copying the Kickstart File %end # Uncomment to install the management panel and storage components without # running scripts on the node after installation. If you do not intend to # install the storage component, remove the --storage parameter. # Specify the external and internal IP addresses for the management panel. #%addon com_vstorage --external-iface=10.0.2.15 --internal-iface=10.0.2.15 --password=xxxxxxxxx \ --management --storage #%end # Uncomment to install the management panel and storage.
Chapter 4. Creating a Kickstart File Note: For EFI-based systems, the file you need to edit has the name of /tftpboot/pxelinux.cfg/efidefault or /tftpboot/pxelinux.cfg/. Assuming that the HTTP server has the IP address of 198.123.123.198, the /var/www/html DocumentRoot and the full path to your kickstart file on this server is /var/www/html/astor/ks.cfg, your default file may look like the following: default menu.