2. Initial Setup¶
Depending on the degree of pre-configuration you requested from iXsystems, much of the initial TrueNAS® setup may already be complete.
Note
Always perform the initial TrueNAS® setup in consultation with your iXsystems Support Representative. You can contact iXsystems Support at truenas-support@ixsystems.com. Be sure to have all of your TrueNAS® hardware serial numbers on hand, which are located on the back of the chassis.
This section covers these initial setup steps:
- Packing List: provides an overview of the hardware components.
- Hardware Setup: how to install the TrueNAS® hardware into a rack and connect all necessary expansion shelves.
- Out-of-Band Management: connect and configure the TrueNAS® out-of-band management port.
- Console Setup Menu: access the TrueNAS® console setup menu to configure network interfaces.
2.1. Packing List¶
The TrueNAS® Storage Array supports two expansion shelf models: the E16 Expansion Shelf and the E24 Expansion Shelf. Each is designed to be straightforward to set up.
The TrueNAS® Storage Array comes with a number of necessary accessories. If anything is missing or your TrueNAS® Storage Array arrived in less than pristine condition, immediately take pictures and contact iXsystems support.
Check that your shipment includes the following items:
- TrueNAS® Storage Array
- Up to 16 Populated 3.5” drive trays
- One pair of outer rails, left and right
- Eight thumbscrews
- Two screws
- Two power cables
- One serial to 3.5mm cable
- One faceplate
- One printed guide
Since network cables are highly configuration-dependent, contact your iXsystems Sales Representative if you have any questions regarding the included cables.
Any unused drive bays will be populated with drive tray blanks to maintain proper airflow.
The layout of the storage controller will vary by configuration. Figure 2.1.1 provides an example of the front view of the TrueNAS® Storage Array.
Fig. 2.1.1 Front View
Note the two control panels on either side of the front of the array. The one on the left controls the primary storage controller, and the one on the right controls the secondary storage controller in High Availability models.
Figure 2.1.2 shows the layout of the front panel buttons and indicators.
Fig. 2.1.2 Front Panel Buttons and Indicators
Figure 2.1.3 shows the rear view of the array. If the TrueNAS® Storage Array is configured for High Availability, both storage controller slots will be populated. In a single-controller model, the bottom controller slot will contain a controller slot cover panel.
Fig. 2.1.3 Rear View
Figure 2.1.4 shows a drive tray and the meanings for the LED colors.
Fig. 2.1.4 Drive Tray
2.2. Hardware Setup¶
TrueNAS® Storage Array slide rails support racks with both square and circular hole types. Set the mounting brackets into the correct position for your rack type by pressing the button on the mounting bracket and rotating them in place, as shown in Figure 2.2.1. The square rack style brackets are the default. The circular hole style is the one with a flat surface and screw holes.
Fig. 2.2.1 Rotate Rackmount Bracket
Before installing the TrueNAS® Storage Array, confirm that the rails included with your TrueNAS® Storage Array are long enough for your rack. Examine each rail to find the sides labeled Front and Rear.
For racks with square holes, snap the mounting brackets into the holes at either end of the rail into the mouting holes. Make sure to install the rails with the end labeled Front toward the front of the rack. Refer to Figure 2.2.2 for a detailed view.
Fig. 2.2.2 Installing Rails in Racks with Square Holes
For racks with round holes, secure the rails into the rack at the desired position using the eight thumbscrews included with the rails. Make sure to install the rails with the end labeled Front toward the front of the rack. Refer to Figure 2.2.3 for a detailed view.
Fig. 2.2.3 Installing Rails in Racks with Round Holes
You are now ready to install the TrueNAS® Storage Array into the rack.
Warning
Two people are required to lift a TrueNAS® Storage Array.
Carefully align the TrueNAS® Storage Array inner rail with the notches in the outer rail. Once the rails are aligned, slide the array toward the rack. When the array stops moving, move the pin-lock laches to allow the array to slide the rest of the way into the rack. Refer to Figure 2.2.4 for a detailed view.
Fig. 2.2.4 Push Array into Rack and Release pin-lock Latches
Next, install all of the populated drive trays into the front of the array. Refer to Figure 2.2.5 for a detailed view.
Note
to avoid personal injury, do not install drives into the TrueNAS® Storage Array before racking.
Fig. 2.2.5 Drive Installation Instructions
Both network and storage cabling should be connected before turning on the TrueNAS® Storage Array for the first time.
Network cabling is highly dependent on the exact TrueNAS® model and environment. If you need assistance connecting your TrueNAS® Storage Array to the network, contact your iXsystems Support Representative.
In order to configure and use Out-of-Band Management, you must connect the out-of-band management port before turning on the TrueNAS® Storage Array. Refer to Figure 2.2.6 or the sticker on the storage controller handle for the location of the out-of-band management port.
Fig. 2.2.6 Back Panel Layout
For storage cabling instructions, refer to the instructions in E16 Expansion Shelf or E24 Expansion Shelf, depending upon the TrueNAS® expansion shelf.
Finally, each TrueNAS® Storage Array includes an optional faceplate. To attach the faceplate to the TrueNAS® Storage Array, insert the two tabs on the right side of the faceplate into the holes in the right side handle section. Push the left side of the faceplate down until it clicks into place.
Once all of the other hardware setup steps are complete, plug the power cords into the AC receptacles on the back of the TrueNAS® Storage Array and secure them in place with the wire locks.
Note
Be sure to power on all TrueNAS® storage expansion shelves before powering on the TrueNAS® Storage Array.
Power on the TrueNAS® Storage Array by pressing the top left button on the control panel for each storage controller. Wait thirty seconds after turning on the first storage controller before powering on the second storage controller. This will make it clear which controller will be the active controller in High Availability configurations.
Once the TrueNAS® Storage Array is fully operational, the TrueNAS® logo will act as a global fault light. By default, it is backlit in white. If there are any issues that need to be addressed, the light will turn red. In this case, refer to the Alert section of the TrueNAS® administrative graphical interface for more details about the error condition.
2.3. E16 Expansion Shelf¶
The TrueNAS® E16 expansion shelf is a 3U, 16-bay storage expansion unit designed specifically to work with the TrueNAS® Storage Array. This section will cover setting up an E16 expansion shelf and connecting it to a TrueNAS® Storage Array.
The E16 expansion shelf comes with a number of necessary accessories. If anything is missing or your E16 expansion shelf arrived in less than pristine condition, immediately take pictures and contact iXsystems support.
- TrueNAS® E16 expansion shelf
- Up to 16 populated 3.5” drive trays
- Two power cables
- Two host expansion cables (SAS 8088)
- Inner and outer rails, left and right
- Two sets of screws
- One printed guide
Unused drive bays will be populated with drive tray blanks to maintain proper airflow.
Figure 2.3.1 shows the front view of the TrueNAS® E16 expansion shelf.
Fig. 2.3.1 Front View
Figure 2.3.2 shows the rear view of the TrueNAS® E16 expansion shelf.
Fig. 2.3.2 Rear View
Figure 2.3.3 provides a detailed view of a drive tray and the possible statuses for the LED.
Fig. 2.3.3 Drive Tray
To attach the E16 expansion shelf inner rail to the chassis, remove the inner rail from both rails. Slide the inner and outer rails apart, and then push the pin-lock latch outward to allow the rails to separate completely, as shown in Figure 2.3.4.
Fig. 2.3.4 Separate Inner and Outer Rails
Align the inner rail keyholes to the two hooks near the front of the chassis, then slide the rails forward into place as shown in Figure 2.3.5.
Fig. 2.3.5 Attach Inner Rail to Chassis
Secure the inner rail in place with a small screw from the rail kit. Refer to Figure 2.3.6 for a detailed view.
Fig. 2.3.6 Secure Inner Rail in Place
The TrueNAS® E16 expansion shelf slide rails support racks with both square and circular hole types. Set the mounting brackets into the correct position for your rack type by pressing the button on the mounting bracket and rotating them in place, as shown in Figure 2.3.7. The square rack style brackets are the default. The circular hole style is the one with a flat surface and screw holes.
Fig. 2.3.7 Rotate Rackmount Bracket
Before installing, confirm that the rails included with the TrueNAS® E16 expansion shelf are long enough for your rack. Examine each rail to find the sides labeled Front and Rear.
For racks with square holes, snap the mounting brackets into the holes at either end of the rail into the mouting holes. Make sure to install the rails with the end labeled Front toward the front of the rack. Refer to Figure 2.3.8 for a detailed view.
Fig. 2.3.8 Installing Rails in Racks with Square Holes
For racks with round holes, secure the rails into the rack at the desired position using the eight thumbscrews included with the rails. Make sure to install the rails with the end labeled Front toward the front of the rack. Refer to Figure 2.3.9 for a detailed view.
Fig. 2.3.9 Installing Rails in Racks with Round Holes
You are now ready to install the E16 expansion shelf into the rack.
Warning
Two people are required to lift a TrueNAS® E16 expansion shelf.
Carefully align the TrueNAS® E16 expansion shelf inner rail with the notches in the outer rail. Once the rails are aligned, slide the array toward the rack. When the array stops moving, move the pin-lock laches to allow the array to slide the rest of the way into the rack. Refer to Figure 2.3.10 for a detailed view.
Fig. 2.3.10 Push Expansion Shelf into Rack and Release pin-lock Latches
Next, install all populated drive trays into the front of the expansion shelf as shown in Figure 2.3.11.
Note
to avoid personal injury, do not install drives into the E16 expansion shelf before racking.
Fig. 2.3.11 Drive Installation Instructions
Note the labels on the SAS ports on the back of the TrueNAS® Storage Array and the letter label on the back of the expansion shelf. Using the included SAS cables, connect the In SAS port of the top expander on the E16 expansion shelf to the SAS port with the same letter on the TrueNAS® Storage Array’s primary storage controller (the one in the top slot). If you have a secondary storage controller, connect the In SAS port of the bottom expander to the port with the same letter on the secondary storage controller. Refer to Figure 2.3.12 for a detailed view.
Fig. 2.3.12 Connecting an E16 Expansion Shelf to a TrueNAS® Storage Array
Once all the other hardware setup steps are complete, plug the power cords into the AC receptacles on the back of the E16 expansion shelf and secure them in place with the wire locks. Power on the E16 expansion shelf by pressing the top left button on the control panel.
If you are setting up a TrueNAS® Storage Array for the first time, wait two minutes after powering on all expansion shelves before turning on the TrueNAS® Storage Array.
2.4. E24 Expansion Shelf¶
The TrueNAS® E24 expansion shelf is a 4U, 24-bay storage expansion unit designed specifically for use with the TrueNAS® Storage Array. This section will cover setting up an E24 expansion shelf and connecting it to a TrueNAS® Storage Array.
The E24 expansion shelf comes with a number of necessary accessories. If anything is missing or your E24 expansion shelf arrived in less than pristine condition, immediately take pictures and contact iXsystems support.
- TrueNAS® E24 expansion shelf
- Up to 24 populated drive trays
- Two power cables
- Two host expansion cables (SAS 8088)
- One rail kit
- One printed guide
Unused drive bays will be populated with drive tray blanks to maintain proper airflow.
Figure 2.4.1 shows the front of the TrueNAS® E24 expansion shelf.
Fig. 2.4.1 Front View
Figure 2.4.2 shows the rear view of the TrueNAS® E24 expansion shelf.
Fig. 2.4.2 Rear View
Figure 2.4.3 provides a detailed view of a 3.5” drive tray.
Fig. 2.4.3 Drive Tray
Two rails and three sets of screws are included in the rail kit. Use only the screws labeled for use in the type of rack you have. Take note of the engraved rails at either end of each rail specifying whether they are for the Left (L) or Right (R) and which end is the front and which is the back. With two people, attach each rail to the rack using the topmost and bottommost screw holes. The folded ends of the rails should be inside the corners of the rack. Figure 2.4.4 shows the front left attachments for an L-type rack.
Fig. 2.4.4 Front Left Rail
Figure 2.4.5 shows the rear right attachments for an L-type rack.
Fig. 2.4.5 Rear Right Rail
Next, install the E24 expansion shelf into the rack.
Note
To avoid personal injury, do not install drives into the E24 expansion shelf before racking.
With two people, place the back of the expansion shelf on the rack. Gently push it backwards until the front panels of the expansion shelf are pressed against the front of the rack.
Secure the expansion shelf to the rack by pushing down and tightening the two built-in thumbscrews as indicated in Figure 2.4.6.
Fig. 2.4.6 Secure E24 Expansion Shelf to the Rack
Once the E24 expansion shelf is secured into the rack, insert the included hard drives. To insert a drive, release the handle with the tab on the right side, push it into the drive bay until the handle starts to be pulled back, and then push the handle the rest of the way forward to secure the drive in place.
To connect the E24 expansion shelf to the TrueNAS® Storage Array, note the labels on the SAS ports on the back of the TrueNAS® Storage Array and the letter label on the back of the expansion shelf. Using the included SAS cables, connect the left In SAS port of the left side expander on the E24 expansion shelf to the SAS port with the same letter on the TrueNAS® Storage Array’s primary storage controller (the one in the top slot). If you have a secondary storage controller, connect the left In SAS port of the right side expander to the port with the same letter on the secondary storage controller. Refer to Figure 2.4.7 for a detailed view.
Fig. 2.4.7 Example connection between E24 Expansion Shelf and TrueNAS® Storage Array
Note
If you only have one storage controller, retain your second SAS cable. If you later upgrade TrueNAS® with a second storage controller, you will need it to connect to the E24 expansion shelf.
Before you plug in and power on the E24 expansion shelf, make sure the power switches on both power supplies are set to the Off (Circle) position shown in Figure 2.4.8. Using the power cables provided, connect both power supplies to appropriate power sources. Secure the power cables in place with the plastic locks.
Fig. 2.4.8 E24 Power Supply
Once all the power and storage connections are set up, turn on the expansion shelf by moving the power switches on both power supplies to the On (line) position.
If you are setting up a TrueNAS® Storage Array for the first time, wait two minutes after powering on all expansion shelves before turning on the TrueNAS® Storage Array.
2.5. Out-of-Band Management¶
Before attempting to configure TrueNAS® for out-of-band management, ensure that the out-of-band management port is connected to an appropriate network. Refer to the guide included with your TrueNAS® Storage Array for detailed instructions on how to connect to a network.
Make sure to connect the out-of-band management port before powering on the TrueNAS® Storage Array.
In most cases, the out-of-band management interface will have been pre-configured by iXsystems. This section contains instructions for configuring it from the BIOS if needed. Alternately, if you have already have access to the TrueNAS® administrative graphical interface, the same settings can be configured using the instructions in IPMI.
To access the system BIOS, press F2 at the splash screen when
booting the TrueNAS® Storage Array. This opens the menu shown in
Figure 2.5.1.
Fig. 2.5.1 Initial BIOS Screen
Navigate to the Server Mgmt menu and then BMC LAN Configuration, as shown in Figure 2.5.2.
Fig. 2.5.2 Navigate to BMC LAN Configuration
If you will be using DCHP to assign the out-of-band management IP address, leave the Configuration Source set to Dynamic in the screen shown in Figure 2.5.3. If an IP has been assigned by DHCP, it will be displayed.
Fig. 2.5.3 Configuring a Dynamic IP Address
To instead assign a static IP address for out-of-band management, set the Configuration Source to Static, as seen in the example shown in Figure 2.5.4. Enter the desired IP Address into the IP Address setting, filling out all four octets completely.
Fig. 2.5.4 Configuring a Static IP Address
Next, enter the Subnet Mask of the subnet within which you wish to have access to out-of-band management. An example is seen in Figure 2.5.5.
Fig. 2.5.5 Entering the Subnet Mask
Finally, set the Default Gateway Address for the network to which the out-of-band management port is connected. An example is seen in Figure 2.5.6.
Fig. 2.5.6 Entering the Default Gateway Address
Save the changes you have made, exit the BIOS, and allow the system to boot.
To connect to the TrueNAS® Storage Array using the out-of-band management port, input the configured IP address into a web browser from a computer that is either within the same network or which is directly wired to the array. As seen in Figure 2.5.7, a login prompt will appear.
Fig. 2.5.7 Connecting to the IPMI Graphical Interface
Login using the default Username of admin and the default Password of password.
You can change the default administrative password using the instructions in IPMI.
Once logged in, click the vKVM and Media button at the top right to download the Java KVM Client. Run the client by clicking the Launch Java KVM Client button shown in Figure 2.5.8.
Fig. 2.5.8 Launching the Java KVM Client
When prompted for a program to open the file with, select the Java Web Start Launcher shown in Figure 2.5.9.
Fig. 2.5.9 Configure the Launch Program
When asked if you want to run a program by an unknown publisher, check the box indicating that you understand the risks and press Run. An example is seen in Figure 2.5.10.
Fig. 2.5.10 Respond to Warning
When prompted that the connection is untrusted, as seen in Figure 2.5.11, press Continue.
Fig. 2.5.11 Continue Through this Screen
Once the out-of-band console opens, you can control the TrueNAS® Storage Array as if you were using a directly-connected keyboard and monitor.
2.7. Accessing the Administrative GUI¶
Once the system has an IP address, input that address into a graphical web browser from a computer capable of accessing the network containing the TrueNAS® system. You should be prompted to enter the password for the root user, as seen in Figure 2.7.1.
Fig. 2.7.1 Enter the Root Password
Enter the default password of abcd1234.
Note
You can change the default root password to a more
secure value by going to
Account → Users → View Users.
Highlight the entry for root, click the Modify User
button, enter the new password in the Password and
Password confirmation fields, and click OK
to save the new password to use on subsequent logins.
The first time you log in, the EULA, found in Appendix A, will be displayed along with a box where you can paste the license for the TrueNAS® array. Once you have read the EULA and pasted in the license, click OK. You should then see the administrative GUI as shown in the example in Figure 2.7.2.
Fig. 2.7.2 TrueNAS® Graphical Configuration Menu
Note
If the storage devices have been encrypted, you will be prompted for, and must succesfully enter, the passphrase in order for the data on the disks to be accessible. If the system has also been licensed for High Availability (HA), the passphrase will be remembered as long as either node in the HA unit remains up. However, if both nodes are powered off, you will need to reinput the passphrase when the first node powers back up.
If you are unable to access the IP address from a browser, check the following:
- Are proxy settings enabled in the browser configuration? If so, disable the settings and try connecting again.
- If the page does not load, make sure that you can ping the TrueNAS® system’s IP address. If the address is in a private IP address range, you will only be able to access the system from within the private network.
- If the user interface loads but is unresponsive or seems to be missing menu items, try using a different web browser. IE9 has known issues and will not display the graphical administrative interface correctly if compatibility mode is turned on. If you can’t access the GUI using Internet Explorer, use Firefox instead.
- If you receive “An error occurred!” messages when attempting to configure an item in the GUI, make sure that the browser is set to allow cookies from the TrueNAS® system.
This blog post describes some applications which can be used to access the TrueNAS® system from an iPad or iPhone.
The rest of this Guide describes all of the configuration screens available within the TrueNAS® graphical administrative interface. The screens are listed in the order that they appear within the tree, or the left frame of the graphical interface.
Note
iXsystems recommends that you contact your iXsystems Support Representative for initial setup and configuration assistance.
Once your system has been configured and you are familiar with the configuration workflow, the rest of this document can be used as a reference guide to the features built into the TrueNAS® Storage Array.
Note
It is important to use the graphical interface (or the console setup menu) for all non-ZFS configuration changes. TrueNAS® uses a configuration database to store its settings. If you make changes at the command line, they will not be written to the configuration database. This means that these changes will not persist after a reboot and will be overwritten by the values in the configuration database during an upgrade.