Xsan 2 Administrator Guide - Installing Xsan from the Command Line

background image

Installing Xsan from the Command Line

To install Xsan from the command line:

1

Insert the Xsan Install Disc.

2

Open the Terminal application (in /Applications/Utilities/).

3

Enter one of these commands to install the components:

To install the Xsan file system and Xsan Admin application, enter:

Â

$ sudo installer -pkg /volumes/Xsan\ Install\ Disc/Install\ Xsan.mpkg

-target /

To install only the Xsan Admin application, enter:

Â

$ sudo installer -pkg /volumes/Xsan\ Install\ Disc/Install\

XsanAdminApp.pkg/ -target /

background image

110

Appendix B

Using the Command Line

To install Xsan on a computer that has no keyboard or monitor:

1

Log in to a computer that has a keyboard and monitor, and then insert the Xsan Install

Disc.

2

Open the Terminal application (in /Applications/Utilities/).

3

In Terminal, copy the Xsan installer package to the remote computer:

$ scp -r /Volumes/Xsan\ Install\ Disc/Install\ Xsan.mpkg user@

remotehost

:/tmp/

Replace

user

with the name of an administrator user on the remote computer and

remotehost

with the IP address or DNS name of the computer you want to install on.

To install only the Xsan Admin application, enter:

$ scp -r /Volumes/Xsan\ Install\ Disc/Other\ Installs/XsanAdmin.mpkg/

user

@remotehost:/tmp/

4

Log in to the remote computer:

$ ssh user@remotehost

Replace

user

and

remotehost

with the same information as in the previous step.

5

Run the installer on the headless computer:

To install the Xsan file system and Xsan Admin application, enter:

Â

$ sudo installer -pkg /tmp/Install\ Xsan.mpkg -target /

To install only the Xsan Admin application, enter:

Â

$ sudo installer -pkg /tmp/Install\ Xsan.mpkg/Contents/Installers/

XsanAdminApp.pkg/ -target /

To monitor the installation, add the

Â

-verbose

parameter:

$ sudo installer -verbose -pkg /tmp/Install\ Xsan.mpkg -target /