VigStor.208_Quick_Start_Guide_v1.1

VigStor.208_Quick_Start_Guide_v1.1
WASABI SYSTEMS INC.
Wasabi Storage Builder® for NAS
Quick Start Guide
Release v1.1 December 2006
How to Contact Wasabi
Wasabi Systems Inc.
500 E. Main Street, Suite 1520
Norfolk, VA 23510 USA
EMAIL: info@wasabisystems.com
PHONE: +1 (757) 248-9601
FAX: +1 (509) 461-7283
URL: http://www.wasabisystems.com/
Font Conventions
This manual uses the following highlighting conventions:
Boldface indicates graphical user interface (GUI) controls such as the names of
menus and fields, the text found within the fields, or drop box entries and
selections.
Bold Helvetica indicates buttons.
Italics indicates book titles and emphasized words.
Courier font indicates code samples. Example:
n
n
n
n
syslog
n
Blue Courier font indicates complete Internet addresses (URLs). Example:
http://www.wasabisystems.com/
Copyright © 2005 Wasabi Systems Inc., 500 East Main Street, Suite 1520, Norfolk, VA, 23510. All rights reserved.
This product or document is protected by copyright and distributed under licenses restricting its use,
copying, distribution, and decompilation. No part of this product or document may be reproduced in any
form by any means without prior written authorization of Wasabi Systems Inc. and its licensors, if any. Parts
of the product may be derived from Berkeley BSD systems, licensed from the University of California; full
license and copyright information is available at: http://www.netbsd.org/Goals/redistribution.html.
DOCUMENTATION IS PROVIDED “AS IS” AND ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT, ARE
DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS HELD TO BE LEGALLY
INVALID.
Wasabi®, the Wasabi logo, Flashware®, and Storage Builder® are registered trademarks of Wasabi
Systems Inc. All other brand and product names are trademarks of their respective owners.
ii „ Wasabi Storage Builder® for NAS: Quick Start Guide
Contents
Introduction ...................................................................................................... 1
Using the Graphical User Interface................................................................. 3
Logging In .................................................................................................... 3
Navigating the GUI....................................................................................... 4
Configuration ................................................................................................... 5
Network Setup ................................................................................................ 6
Date and Time ................................................................................................ 9
Security ......................................................................................................... 10
System Access ............................................................................................. 12
RAID Configuration ....................................................................................... 13
File System ................................................................................................... 18
Windows Shares ........................................................................................... 20
NFS Setup .................................................................................................... 27
Command Line Interface ............................................................................... 31
Using the Command Line Interface ..............................................................
Logging in ..................................................................................................
Command History and Command Line Editing ..........................................
Commands....................................................................................................
exit .............................................................................................................
history ........................................................................................................
hostname ...................................................................................................
ifconfig........................................................................................................
ping ............................................................................................................
route ...........................................................................................................
shutdown....................................................................................................
32
32
33
34
34
34
34
35
36
37
37
Wasabi Storage Builder® for NAS: Quick Start Guide „ iii
Contents
iv „ Wasabi Storage Builder® for NAS: Quick Start Guide
1
Introduction
Congratulations on your purchase of a file server based on Wasabi Storage Builder® for
NAS v1.1.
Your Storage Builder for NAS based server includes a Graphical User Interface (GUI).
All supported features are configured using a standard web browser.
This Quick Start Guide is designed to help you configure Wasabi Storage Builder for
NAS for basic operation with Microsoft Windows (CIFS) and UNIX (NFS) clients.
Basic system operation is established by configuring the following areas:
Network
Date and Time
Security (optional)
System Access (optional)
RAID
File System
CIFS (optional for NFS-only users)
NFS (optional for CIFS-only users)
n
n
n
n
n
n
n
n
Following the steps presented in the Configuration chapter will result in a functional
server that can be accessed by CIFS and NFS clients.
In each area of the setup, we’ve selected the options designed to minimize the time
required to configure the server as well as the need for additional components and the
Wasabi Storage Builder® for NAS: Quick Start Guide „ 1
Introduction
technical skills required to configure them.
We will configure a single network interface on the server using DHCP to automatically
assign an IP address to the interface. The RAID subsystem will be configured with a
single RAID-5 array using the minimum number of disks and a single file system will be
built on the array. A CIFS share is created and configured using share-level security with
minimal security to avoid the need for a Windows server and the associated system
management expertise. Finally, the NFS setup exports a single file system that can be
accessed by any NFS client on the network.
During the setup process, you will see expert menu items or buttons on some of the
pages. When selected, these expose more detailed configuration parameters that may be
needed to be modified from their default settings in certain installations. For example,
clicking the expert button on the network interface setup page will expand the page to
expose a drop down menu to control the speed and duplex, checkboxes to enable or
disable hardware assisted checksums and text boxes to select the maximum transmission
unit (MTU) and add alias IP addresses on the interface.
Since the parameters exposed by the expert mode menu items and buttons are not
required for basic server operation, this document will not attempt to guide the user
through the expert mode configuration options.
For a more complete description of Wasabi Storage Builder for NAS, refer to the Wasabi
Storage Builder® for NAS User’s Manual.
2 „ Wasabi Storage Builder® for NAS: Quick Start Guide
Using the Graphical User Interface
Using the Graphical User Interface
This section briefly describes logging in and navigating the Graphical User Interface
(GUI). For a more complete description of the GUI, refer to the Wasabi® Storage
Builder® for NAS User’s Manual.
Logging In
The default IP address of the Wasabi Storage Builder for NAS server is 192.168.1.10.
This is set on interface wm0. Make sure that interface wm0 on the server has been
physically connected to the network and apply power to the server. Enter the default
address (192.168.1.10) into your browser and you will be presented with a dialog box
that will accept the administrator name and password required to gain access to the
Storage Builder for NAS system administration pages.
WARNING: If for some reason your browser cannot connect with the Storage Builder for
NAS server using the default IP address of 192.168.1.10, you should go
immediately to Chapter 3, “Command Line Interface” on page 31 and use the
ifconfig command to examine the state of the network interface connected
to the network. If multiple network interfaces are part of your NAS server, it
may be that the wrong one is connected to the network, or that the default IP
address needs to be changed to resolve a conflict.
The default administrator name is admin and the default administrator password is not
set, so enter admin into the Name: box, leave the Password: box empty, and click the
Log In button to complete the log in process.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 3
Introduction
Navigating the GUI
After the log in process has been completed the Storage Builder for NAS system
administration opening page will appear in the browser. This page contains several key
elements. The green bar shows the name of the server (SB-NAS is the default) on the left
and a Help link on the right. The Help link is sensitive to the context of the page being
displayed; clicking the link with the opening page displayed will open a new browser
window and fill it with an extended page of general help text. The GUI uses hierarchical
menus. A menu navigation bar appears on the left side of the screen.This is called the left
side-bar menu. In order to see what Storage Builder for NAS has to offer, click the
Expand button above the System Configuration Menu to expand all the menu items.
You may also expand individual sections by clicking on the “+” (plus sign). Click the
Collapse button to close the entire tree; click on the appropriate “-” (minus sign) to close
an open section. Finally, the bottom of the opening page shows a Messages section. This
is where informational, warning and error messages will be displayed while you are
using the system administration pages.
4 „ Wasabi Storage Builder® for NAS: Quick Start Guide
2
Configuration
The following sections will describe all the steps required to configure your NAS
appliance. Basic system operation is established by configuring the following areas:
Network
Date and Time
Security (optional)
System Access (optional)
RAID
File System
CIFS (optional for NFS-only users)
NFS (optional for CIFS-only users)
n
n
n
n
n
n
n
n
Following the steps presented here will result in a functional server that can be accessed
by CIFS and NFS clients.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 5
Configuration
Network Setup
This section describes how to use the Network Setup Wizard to configure the server
name and network parameters for Storage Builder for NAS.
1. Navigate to the System ConfigurationJNetwork Setup Wizard menu item.
This page will allow you to set the server name and configure the Domain Name
Service (DNS) and Network Information Service (NIS) parameters.
2. Enter the desired name for the server in the Host Name field.
In this example, demo-server is the name for the server. The Help link will
provide information about valid server names.
3. In the Domain Name Service (DNS) area, select a DNS setting. DNS is a service
provided by another host to translate host names generated by this server into IP
addresses that this server can then use to access other hosts. In this example, select
the Obtain DNS servers automatically using DHCP radio button. However,
DNS is not required for basic server functionality.
6 „ Wasabi Storage Builder® for NAS: Quick Start Guide
Network Setup
4. Scroll down as required to access the Network Information Service (NIS) area.
Since NIS is not required for basic server operation select the Don’t use NIS radio
button.
5. Click Next. This will take you to the next page in the wizard where the network
interfaces will be configured.
The Mode drop down menu allows you to disable an interface, to automatically
configure the interface using DHCP, or to manually assign an IP address to the
interface. Note the display of Link Status at the bottom of each network interface
section; this is useful to verify that the interface of interest is physically connected
to a network.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 7
Configuration
6. In this example, Obtain IP address using DHCP is selected for interface wm0,
and interface wm1 is disabled. Make your selections.
7. When all interfaces have been configured, click Finish to complete the
configuration of the basic network setup.
NOTE The Previous button can be clicked to return to the server name, DNS and
NIS configuration page without making changes to the interfaces.
8 „ Wasabi Storage Builder® for NAS: Quick Start Guide
Date and Time
Date and Time
To set the date and time zone:
1. Click the Date and Time menu item to display the time configuration page.
2. Use the Time zone scroll box to select the time zone that the NAS appliance will
be used in.
You can configure the server to use the Network Time Protocol (NTP) to
synchronize time or set and keep time locally. If you choose to keep time locally,
you must use the Date and Time boxes to manually enter the current date and
time for the time zone the server will be used in.
3. Select to synchronize or keep time locally. In this example, Set and keep time
locally is selected.
4. Click Finish to commit your changes to the configuration.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 9
Configuration
Security
To configure the security settings:
1. Click on the Security menu item to configure some (optional) security settings.
This page will allow you to select a nonstandard port for use in accessing the
administrative (HTTP) interface or completely disable HTTP access, requiring all
access via the secure HTTP interface (HTTPS).
2. Enable or disable HTTP. Since the default HTTP port is used in most cases, we
have left the default selection of Enable HTTP on Port 80.
In the Other Access area, access via the secure shell (SSH) and secure FTP
10 „ Wasabi Storage Builder® for NAS: Quick Start Guide
Security
(SFTP) protocols can be disabled, or the SSH Ports changed from the default (22).
Access can also be granted to the insecure Telnet and FTP protocols.
3. Make your access selections.
In this example, we have left the default selections for both sections, which is
usually the desired configuration.
4. At the bottom of the page the root and support passwords can be changed. It is
good security practice to change these from their defaults (password and
SuPpOrT, respectively) and you should consult the security guidelines at your
company to choose these passwords.
5. Click Finish to commit your changes to the configuration.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 11
Configuration
System Access
To customize the credentials and privileges for users:
1. Click on the System Access menu item. For basic server operation, you only need
to change the default passwords for each of the default (Administrator, Backup
and Non-Administrator) users. In each case, the default for each user is no
password.
2. For each user, select the user in the scroll box, enter and confirm a password, and
click the Save Changes button to apply the password for that user.
This completes the basic network, security and user access configuration for the server.
At this point, the system administration pages must be used to configure and initialize a
RAID LUN for access by Microsoft (CIFS) and UNIX (NFS) clients.
12 „ Wasabi Storage Builder® for NAS: Quick Start Guide
RAID Configuration
RAID Configuration
To configure the RAID settings:
1. Click the RAID Setup Wizard menu item to display the first of several RAID
setup pages. The drop down menu at the top of the page allows selection of the
proper controller; information about the selected controller is displayed in the
Information section of the page.
The Parameters section of the page provides drop down menus to allow selection
of the Rebuild rate and Verify rate parameters for the selected controller.
2. Select the Rebuild rate and Verify rate parameters.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 13
Configuration
3. When the appropriate controller parameter selections have been made, click Next
to advance to the next page.
The next page displays all the physical disks attached to the RAID controller
selected on the previous page. The drop down State menu allows each disk to be
configured as Online, Offline or Spare.
4. Select state for each disk.
In this example, all the disks are Online.
14 „ Wasabi Storage Builder® for NAS: Quick Start Guide
RAID Configuration
5. After verifying or selecting the desired state for all the physical disks attached to
the controller, click Next to advance to the next page.
The next page allows the configuration of a RAID array.
6. Select Create New Array from the Action drop down menu. The page will
advance to allow specification of the type of array to be created.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 15
Configuration
7. Now use the drop down menu under the New Array banner to select the type of
new array to be created.
In this example, RAID level 1 (mirroring) has been selected, and the Member
check boxes are checked to indicate the physical disks (on Ports 0 and 1) to be
included in the array.
16 „ Wasabi Storage Builder® for NAS: Quick Start Guide
RAID Configuration
The Cache and Ignore ECC errors on rebuild parameters can be turned Off or
On by using the corresponding radio buttons. The Capacity and the Disks
needed boxes will be updated based on the capacity and type of array selected.
8. When all the parameters associated with the array have been selected, click Done
to actually configure the array.
When the array has been created a confirmation page will be displayed with
A new disk array was created in the Messages section.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 17
Configuration
File System
The array has been created and must now be initialized with a file system.
1. Select the File Systems menu item to display the file system configuration page.
The array we just created, Device sd0, has a State of Unknown, which means it is
ready to be initialized.
2. Use the drop down Action menu to Initialize the array.
3. Enter a name in the Name field (used in subsequent operations to refer to this
array). You may also enter a comment in the Comment field (for your reference
only).
18 „ Wasabi Storage Builder® for NAS: Quick Start Guide
File System
4. After filling in the fields, click Initialize to initialize the array with a file system.
After the array has been initialized a confirmation message is displayed in the
Messages section.
5. The array must now be mounted. Use the Action drop down menu to Mount the
array.
When the disk has been successfully mounted a confirmation message is
displayed in the Messages section and the State of the array is now shown as
Mounted.
An array has been created and initialized with a file system and the file system has been
mounted. All that remains is to make the file system available to clients via a Windows
Share and/or an NFS Export.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 19
Configuration
Windows Shares
If your installation doesn’t involve Windows clients, you can skip this section and
proceed directly to setting up UNIX Exports.
To setup Windows shares:
1. Open the Windows Shares (CIFS) menu item and click on the Setup Wizard
menu item to start the step-by-step configuration for CIFS.
The opening page allows CIFS to be Disabled or Enabled.
2. Make the appropriate selection and click Next.
The next page of the wizard will allow optional configuration to support an
existing Windows Internet Naming Service (WINS) server.
20 „ Wasabi Storage Builder® for NAS: Quick Start Guide
Windows Shares
3. If you have a WINS server, enter the name or IP address of the WINS server in the
text field. Otherwise, leave the field empty. Remember, Help is always available
in the wizard.
4. Click Next to continue.
The next page allows selection of the CIFS Security Model. There are four
possible CIFS security models for the server. Some of the models assume the
presence of at least one Microsoft server and may require additional Microsoft
system management expertise. Share-level security, selected in this example,
offers weak security but requires a relatively simple configuration procedure.
For more information to help you determine the CIFS security model which best
matches the security requirements of your installation, click Help or one of the
“?” (question mark) buttons to the right of the security model.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 21
Configuration
5. Click Next to continue.
The next page allows you to enter the name of the Workgroup the Storage
Builder for NAS will belong to.
6. Enter a name for the Workgroup.
In this example, the Workgroup name is TestGroup.
7. Click Next to continue.
The next page allows Encrypted Passwords to be enabled or disabled. Note the
comments on the page regarding the use and expectation for encrypted passwords
among the various Windows clients.
8. Select Enable Encrypted Passwords or Disable Encrypted Passwords.
In the example, Enable Encrypted Passwords is selected.
22 „ Wasabi Storage Builder® for NAS: Quick Start Guide
Windows Shares
9. Click Next to continue.
The next page displays the network interfaces that will be used by the server for
serving Windows (CIFS) clients. Since only one interface (wm0) was enabled in
our example, Storage Builder for NAS tells us that wm0 will be used to access the
CIFS shares.
10. Click Next to continue.
The final page displays the details of the CIFS server parameters, or only those
changed from the default, that will be committed to the configuration.
11. Click Finish to complete the CIFS setup.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 23
Configuration
12. With basic CIFS setup complete, click on the Shares Wizard menu item to create
a new CIFS share.
13. Enter the share name in the New share name field and click
Create a new Windows share to begin the process.
In the example above, testshare is the new share name.
The next page of the Shares Wizard allows you to select the file system and
directory to share.
14. If one does not exist, you can either share the root of the selected file system or
use the Create Directory button to create a directory to share.
24 „ Wasabi Storage Builder® for NAS: Quick Start Guide
Windows Shares
15. Enter a comment, and select your access settings for the share.
In this example, we’ve made sure the Read-only access checkbox is not selected
because we want to write to this share from the client. We have selected the
Browseable (visible in users’ browse lists) checkbox because we want this share
to appear in the users’ browsers, and have entered a Comment for the testshare
share.
16. Click Next to advance to the next page.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 25
Configuration
The next page allows configuration of Guest Access to the share. A guest is
anyone that tries to access the share without a valid username/password. In this
example, we’ve decided to allow guest access to the share.
17. Click Finish to complete the configuration of the share.
Clicking the Next button allows more advanced configuration of the share, but for
basic operation (and this example) click the Finish button.
Congratulations: basic configuration of a Windows share is complete.
At this point, the testshare share should be visible to client computers in the same
workgroup as the server.
26 „ Wasabi Storage Builder® for NAS: Quick Start Guide
NFS Setup
NFS Setup
If your installation doesn’t involve NFS clients, you can skip this section.
To setup NFS:
1. Expand the UNIX Exports (NFS) menu item and then click Setup to configure
NFS.
The page that is displayed allows you to enable or disable the NFS server in
Storage Builder for NAS. If NFS is enabled on this page, you can also select the
Number of NFS daemons (server processes) that will be used by the server and
optionally elect to Allow PCNFS clients. PCNFS clients are Windows clients
with special NFS client software installed to allow them to access NFS servers.
A basic configuration will use the default number of NFS daemons (4) but some
applications may experience higher performance if a larger number of daemons
are used.
2. Check the radio button for Use NFS. or Don’t use NFS.
For this example, Use NFS is selected, and the default number of daemons has
been accepted.
3. Click Finish to complete the NFS setup.
4. The next step is to click the Export Wizard menu item to configure the NFS
export. This is what actually gets exported for NFS clients to mount and access.
The first page allows selection of the file system to export.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 27
Configuration
5. Since only one file system (/testdisk) has been mounted, select it.
6. Click Export Selected File Systems to continue to the next page.
The next page permits control over which clients or netgroups will be allowed
access to the export. In this example, we’ve decided to allow any client to access
the export, but we could restrict access to a particular Client, Netgroup or even
Network.
Check boxes are provided to restrict access to Read only, to Allow mounting of
all subdirectories or to Allow requests from non-reserved ports (select this if
your NFS clients are using AIX or OS X).
7. Make your selections on this page.
In this example, only the radio button for Clients is checked.
28 „ Wasabi Storage Builder® for NAS: Quick Start Guide
NFS Setup
8. At the bottom of the page, use the Map root to drop down menu to determine
how client requests are mapped by the server.
In this example, we’ve decided to Map root to requests from the client to the root
and wheel user group on the server. This will cause operations from root on a
client to be treated as root by the server.
9. Click Finish to complete the basic NFS set up.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 29
Configuration
At this point an NFS client should be able to mount the export by issuing a
command similar to:
mount 192.168.1.1:/testdisk /mnt
but you should consult the man pages or other documentation for your NFS client
to determine the exact syntax of the command to mount an NFS export.
30 „ Wasabi Storage Builder® for NAS: Quick Start Guide
3
Command Line Interface
The Command Line Interface (CLI) is designed for network configuration bootstrapping
and troubleshooting. It features a command set that will be familiar to Unix users.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 31
Command Line Interface
Using the Command Line Interface
This section describes how to use the Command Line Interface (CLI). Although the CLI
includes several commands that can be helpful in initial network setup, these should only
be used to gain GUI access to your Storage Builder for NAS server.
NOTE: Configuration changes made using the CLI will not “stick” across system
restarts and in general are not recommended by Wasabi except as required to
access the server with a browser.
Logging in
After your Storage Builder for NAS server has booted, the CLI will present a login
prompt.
NetBSD/i386 (SB-NAS) (console)
login
Enter the username and password to log in. The username is “root.” If the GUI has not
been used to change the root password, enter “password.” Once you have logged in, you
will be presented with the CLI prompt:
login: root
Password: password
***********************************************************************
*
Storage Builder for NAS
*
***********************************************************************
* The use of the command line interface is NOT supported by Wasabi. *
*
Proceed at your own risk.
*
***********************************************************************
SB-NAS 21:53:21 /root #
32 „ Wasabi Storage Builder® for NAS: Quick Start Guide
Using the Command Line Interface
Command History and Command Line Editing
The CLI includes a command history buffer with command line editing. Emacs-style
editing keys are used.
Command
Action
CTRL-P
Previous line
CTRL-N
Next line
CTRL-B
Back one character
CTRL-F
Forward one character
CTRL-A
Go to beginning of line
CTRL-E
Go to end of line
In addition, the following Unix shell editing keys are used:
Command
Action
CTRL-W
Delete previous word
CTRL-U
Erase line
Wasabi Storage Builder® for NAS: Quick Start Guide „ 33
Command Line Interface
Commands
The CLI includes the following commands:
exit
The exit command logs you out of the CLI.
SB-NAS 21:53:21 /root # exit
logout
NetBSD/i386 (SB-NAS) (console)
login:
history
The history command shows the command history buffer.
SB-NAS
1
2
3
SB-NAS
22:14:59 /root # history
exit
hostname
history
22:14:59 /root #
hostname
The hostname command displays the hostname of your Storage Builder for NAS
appliance.
SB-NAS 22:14:57 /root # hostname
SB-NAS
SB-NAS 22:14:59 /root #
34 „ Wasabi Storage Builder® for NAS: Quick Start Guide
Commands
ifconfig
The ifconfig command displays and sets network interface parameters. To list all
available network interfaces, use the –a option.
SB-NAS 22:15:36 /root # ifconfig -a
wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0<>
address: 00:30:48:73:5f:12
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255
wm1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0<>
address: 00:30:48:73:5f:13
media: Ethernet autoselect (none)
status: no carrier
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33220
inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
bond0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0<>
address: 00:00:00:00:00:00
media: Ethernet autoselect (autoselect)
bond1: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0<>
address: 00:00:00:00:00:00
media: Ethernet autoselect (autoselect)
bond2: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0<>
address: 00:00:00:00:00:00
media: Ethernet autoselect (autoselect)
bond3: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0<>
address: 00:00:00:00:00:00
media: Ethernet autoselect (autoselect)
SB-NAS 22:19:37 /root #
Wasabi Storage Builder® for NAS: Quick Start Guide „ 35
Command Line Interface
To set the address of an interface, you must provide interface, address_family, address
and netmask parameters. For example, the following command would be used to set
interface wm1 to use an IP address of 10.0.0.1 with a netmask of 255.255.255.0:
SB-NAS 22:21:19 /root # ifconfig
SB-NAS 22:19:37 /root #
wm1 inet 10.0.0.1 netmask 255.255.255.0
You will need to use the ifconfig command to set the IP address of an interface if for
some reason the default IP address of 192.168.1.10 is inaccessible to your browser.
ping
The ping command sends ICMP ECHO_REQUEST packets to other hosts on the
network. Use Ctrl-c to stop the ping command. For example, the following command
sequence pings the host named “router.”
SB-NAS 22:27:30 /root # ping router
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=255 time=2.135 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=0.749 ms
^C
----192.168.0.1 PING Statistics---2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.749/1.442/2.135/0.980 ms
SB-NAS 22:27:38 /root #
If you wish to bypass any DNS look-up for the specified host, use the –n option:
SB-NAS 22:27:30 /root # ping -n 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=255 time=2.135 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=0.749 ms
^C
----192.168.0.1 PING Statistics---2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.749/1.442/2.135/0.980 ms
SB-NAS 22:27:38 /root #
36 „ Wasabi Storage Builder® for NAS: Quick Start Guide
Commands
route
The route command manipulates the routing tables on your Storage Builder for NAS
server. To set the default route if it is not already set, use the add sub-command. For
example, to add a new default route to 192.168.0.1, the following command would be
used:
SB-NAS 22:27:30 /root # route add default 192.168.0.1
add net default: gateway 192.168.0.1
SB-NAS 22:27:38 /root #
To change the default route if it has already been set, use the change sub-command. For
example, to change the default route to 192.168.1.1, the following command would be
used:
SB-NAS 22:27:30 /root # route change default
change net default: gateway 192.168.1.1
SB-NAS 22:27:38 /root #
192.168.1.1
shutdown
Use the shutdown command to reboot, halt or power off your Storage Builder for NAS
server. For example, to reboot the server, shutdown would be used with the –r option:
SB-NAS 22:46:45 /root # shutdown -r now
Shutdown NOW!
shutdown: [pid 1549]
SB-NAS 22:47:41 /root #
*** FINAL System shutdown message from root@SB-NAS ***
System going down IMMEDIATELY
Mar 12 22:47:41 SB-NAS shutdown: reboot by root:
System shutdown time has arrived
Use the –h option to halt the server without rebooting and the –p option to power off the
server.
Wasabi Storage Builder® for NAS: Quick Start Guide „ 37
Command Line Interface
38 „ Wasabi Storage Builder® for NAS: Quick Start Guide
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising