Inicio Linux & Systems Networks & Infrastructure Cybersecurity Cloud & DevOps SIEM & Monitoring DFIR & Threat Intel Development & Other Todas las categorias Herramientas

instalar el simulador de NetApp Data ONTAP

instalar el simulador de NetApp Data ONTAP

Tabla de contenidos

Images

Vamos a instalar un pequeño simulador de almacenamiento de Netapp. con el cual podemos hacer pruebas antes de realizarlo en un entorno de producción…

El simulador se puede descargar desde el sitio web oficial (con registro). Esta es la dirección.

Actualmente, esta en su versión 8 para VMWARE… pero como yo no lo tengo instalado y no me apetecía instalarlo…me descargado la versión 7.3.6 que viene en un bonito tar…

Una vez descargada, descomprimimos el tar.

bash
root@netapp:~# tar  xvf 7.3.6-tarfile-v22.tgz

Accedemos al direcctorio comprimido

bash
root@netapp:~# cd simulator/

He iniciamos el asistente de instalación de  Data ONTAP

bash
root@netapp:~/simulator# ./setup.sh

…Y seguimos los pasos…

text
Script version 22 (18/Sep/2007)

Where to install to? [/sim]:

Would you like to install as a cluster? [no]:

Would you like full HTML/PDF FilerView documentation to be installed [yes]:

Continue with installation? [no]: yes

Creating /sim

Unpacking sim.tgz to /sim

tar: sim/maytag.L: time stamp 2011-08-05 19:15:13 is 113305080.709068487 s in the future

tar: sim/bfs.L: time stamp 2011-08-05 19:14:47 is 113305054.708372087 s in the future

tar: sim/.ontapversion: time stamp 2011-08-05 19:14:47 is 113305054.708330649 s in the future

tar: sim/makedisks: time stamp 2011-08-05 19:14:47 is 113305054.708277429 s in the future

tar: sim/makespare: time stamp 2011-08-05 19:14:47 is 113305054.708235547 s in the future

tar: sim/bgrun.sh: time stamp 2011-08-05 19:18:25 is 113305272.708193549 s in the future

tar: sim/,disks/,reservations: time stamp 2011-08-05 19:14:48 is 113305055.68468919 s in the future

tar: sim/,disks/Shelf:DiskShelf14: time stamp 2011-08-05 19:14:47 is 113305054.684040808 s in the future

tar: sim/,disks/v0.16:NETAPP__:VD-100MB________:56191300:261248: time stamp 2011-08-05 19:18:10 is 113305256.244608141 s in the future

tar: sim/,disks/v0.17:NETAPP__:VD-100MB________:56191301:261248: time stamp 2011-08-05 19:18:10 is 113305254.781366245 s in the future

tar: sim/,disks/v0.18:NETAPP__:VD-100MB________:56191302:261248: time stamp 2011-08-05 19:18:09 is 113305252.135188276 s in the future

tar: sim/,serialno: time stamp 2011-08-05 19:14:47 is 113305050.101683191 s in the future

tar: sim/,nvram: time stamp 2011-08-05 19:18:11 is 113305254.073592667 s in the future

Configured the simulators mac address to be [00:50:56:16:6a:60]

Please ensure the simulator is not running.

Your simulator has 3 disk(s). How many more would you like to add? [0]: 9
The following disk types are available in MB:

Real (Usable)

a – 43 ( 14)

b – 62 ( 30)

c – 78 ( 45)

d – 129 ( 90)

e – 535 (450)

f – 1024 (900)
If you are unsure choose the default option a
What disk size would you like to use? [a]: e

Disk adapter to put disks on? [0]:

Use DHCP on first boot? [yes]:

Ask for floppy boot? [no]:

Checking the default route…

You have a single network interface called eth0 (default route) . You will not be able to access the simulator from this Linux host. If this interface is marked DOWN in ifconfig then your simulator will crash.

Which network interface should the simulator use? [default]:

Your system has 353MB of free memory. The smallest simulator memory you should choose is 110MB. The maximum simulator memory is 313MB.

The recommended memory is 512MB.

Your original default appears to be too high. Seriously consider adjusting to below the maximum amount of 313MB.

How much memory would you like the simulator to use? [512]: 256

Create a new log for each session? [no]:

Overwrite the single log each time? [yes]:

Adding 9 additional disk(s).

Complete. Run /sim/runsim.sh to start the simulator.

Instalado.. ahora iniciamos el simulador.

bash
root@netapp:~/simulator# /sim/runsim.sh

runsim.sh script version Script version 22 (18/Sep/2007)

This session is logged in /sim/sessionlogs/log
NetApp Release 7.3.6: Thu Jul 7 00:41:19 PDT 2011

Copyright (c) 1992-2011 NetApp.

Starting boot on Wed Jan 2 07:41:49 GMT 2008

Wed Jan 2 07:41:49 GMT [iomem.init.fail:CRITICAL]: Failed to initialize caching module (model name , serial number , part number ) in slot 1.

Wed Jan 2 07:41:55 GMT [shelf.config.multipath:info]: All attached storage on the system is multi-pathed.

Wed Jan 2 07:41:55 GMT [fmmb.current.lock.disk:info]: Disk v4.16 is a local HA mailbox disk.

Wed Jan 2 07:41:55 GMT [fmmb.current.lock.disk:info]: Disk v4.17 is a local HA mailbox disk.

Wed Jan 2 07:41:55 GMT [fmmb.instStat.change:info]: normal mailbox instance on local side.

Wed Jan 2 07:41:56 GMT [raid.cksum.replay.summary:info]: Replayed 0 checksum blocks.

Wed Jan 2 07:41:56 GMT [raid.stripe.replay.summary:info]: Replayed 0 stripes.

sparse volume upgrade done. num vol 0.

Vdisk Snap Table for host:0 is initialized

Wed Jan 2 07:41:58 GMT [vol.language.unspecified:info]: Language not set on volume vol0. Using language config «C». Use vol lang to set language.

Wed Jan 2 07:41:58 GMT [rc:notice]: The system was down for -113305597 seconds

Wed Jan 2 07:41:59 GMT [useradmin.added.deleted:info]: The role ‘compliance’ has been added.

Wed Jan 2 07:41:59 GMT [useradmin.added.deleted:info]: The group ‘Backup Operators’ has been modified.

/etc/rc is missing. Running configuration dialog.
Wed Jan 2 07:42:07 GMT [dhcp.contacting.Server:info]: Contacting DHCP server.

Configuring onboard ethernet ns0.

Contacting DHCP server.

Ctrl-X to skip DHCP search …

Wed Jan 2 07:42:08 GMT [netif.linkUp:info]: Ethernet ns0: Link up.

Configuring ns0 using IP 192.168.1.17 netmask 255.255.255.0.

ifconfig ns0 up netmask 255.255.255.0 192.168.1.17

add net default: gateway 192.168.1.1

Wed Jan 2 07:42:12 GMT [dhcp.Config.Success:info]: DHCP configuration was successful.

NetApp Release 7.3.6: Thu Jul 7 00:41:19 PDT 2011

System ID: 0099923240 ()

System Serial Number: 987654-32-0 ()

System Storage Configuration: Multi-Path

System ACP Connectivity: NA

Model Name: Simulator

Processors: 1

slot 0: NetApp Virtual SCSI Host Adapter v0

12 Disks: 5.0GB

1 shelf with LRC

slot 1: NetApp Virtual SCSI Host Adapter v1

slot 2: NetApp Virtual SCSI Host Adapter v2

slot 3: NetApp Virtual SCSI Host Adapter v3

slot 4: NetApp Virtual SCSI Host Adapter v4

12 Disks: 5.0GB

1 shelf with LRC

slot 5: NetApp Virtual SCSI Host Adapter v5

slot 6: NetApp Virtual SCSI Host Adapter v6

slot 7: NetApp Virtual SCSI Host Adapter v7

slot 8: NetApp Virtual SCSI Host Adapter v8

4 Tapes: VT-100MB

VT-100MB

VT-100MB

VT-100MB
Please enter the new hostname []: redorbitanetapp

Do you want to enable IPv6? [n]:

Do you want to configure virtual network interfaces? [n]:

Please enter the IP address for Network Interface ns0 [192.168.1.17]:

Please enter the netmask for Network Interface ns0 [255.255.255.0]:

Please enter media type for ns0 {100tx-fd, auto} [auto]:

Please enter the IP address for Network Interface ns1 []: 192.168.1.18

Please enter the netmask for Network Interface ns1 [255.255.255.0]:

Please enter media type for ns1 {100tx-fd, auto} [auto]:

Would you like to continue setup through the web interface? [n]:

Please enter the name or IP address of the IPv4 default gateway [192.168.1.1]:
Please enter the name or IP address of the IPv4 default gateway [192.168.1.1]:

The administration host is given root access to the filer’s

/etc files for system administration. To allow /etc root access

to all NFS clients enter RETURN below.

Please enter the name or IP address of the administration host:

Please enter timezone [GMT]:

Where is the filer located? []:

What language will be used for multi-protocol files (Type ? for list)?:

language not set
Do you want to run DNS resolver? [n]:
Do you want another nameserver? [n]:

Do you want to run NIS client? [n]:

This system will send event messages and weekly reports to NetApp Technical Support. To disable this feature, enter «options autosupport.support.enable off» within 24 hours. Enabling Autosupport can significantly speed problem determination and resolution should a problem occur on your system. For further information on Autosupport, please see: http://now.netapp.com/autosupport/

Press the return key to continue.
his system will send event messages and weekly reports to NetApp Technical Support. To disable this feature, enter «options autosupport.support.enable off» within 24 hours. Enabling Autosupport can significantly speed problem determination and resolution should a problem occur on your system. For further information on Autosupport, please see: http://now.netapp.com/autosupport/

Press the return key to continue.
The Shelf Alternate Control Path Management process provides the ability

to recover from certain SAS shelf module failures and provides a level of

availability that is higher than systems not using the Alternate Control

Path Management process.

Do you want to configure the Shelf Alternate Control Path Management interface for SAS shelves [n]: Setting the administrative (root) password for redorbitanetapp …
New password:

Retype new password:
Wed Jan 2 07:49:48 GMT [passwd.changed:info]: passwd for user ‘root’ changed.

Wed Jan 2 07:49:48 GMT [dfu.firmwareUpToDate:info]: Firmware is up-to-date on all disk drives

Wed Jan 2 07:49:48 GMT [sfu.firmwareUpToDate:info]: Firmware is up-to-date on all disk shelves.

Wed Jan 2 07:49:48 GMT [tapemc.alias.addOK:info]: Alias st0 automatically added for tape device WWN[0:042:424200:000000].

Wed Jan 2 07:49:48 GMT [tapemc.alias.addOK:info]: Alias st1 automatically added for tape device WWN[0:142:424200:000000].

Wed Jan 2 07:49:48 GMT [tapemc.alias.addOK:info]: Alias st2 automatically added for tape device WWN[0:242:424200:000000].

Wed Jan 2 07:49:48 GMT [tapemc.alias.addOK:info]: Alias st3 automatically added for tape device WWN[0:342:424200:000000].

Wed Jan 2 07:49:48 GMT [netif.linkUp:info]: Ethernet ns1: Link up.

Wed Jan 2 07:49:48 GMT [perf.archive.start:info]: Performance archiver started. Sampling 23 objects and 208 counters.

add net default: gateway 192.168.1.1: entry already exists

There are 9 spare disks; you may want to use the vol or aggr command

to create new volumes or aggregates or add disks to the existing aggregate.

Wed Jan 2 07:49:50 GMT [rc:info]: Registry is being upgraded to improve storing of local changes.

Wed Jan 2 07:49:50 GMT [rc:info]: Registry upgrade successful.

Wed Jan 2 07:49:51 GMT [mgr.boot.disk_done:info]: NetApp Release 7.3.6 boot complete. Last disk update written at Fri Aug 5 17:28:35 GMT 2011

Wed Jan 2 07:49:51 GMT [mgr.boot.reason_ok:notice]: System rebooted after a halt command.

This process will enable CIFS access to the filer from a Windows(R) system.

Use «?» for help at any prompt and Ctrl-C to exit without committing changes.

Your filer does not have WINS configured and is visible only to

clients on the same subnet.

Do you want to make the system visible via WINS? [n]: Ipspace «acp-ipspace» created

A filer can be configured for multiprotocol access, or as an NTFS-only

filer. Since multiple protocols are currently licensed on this filer,

we recommend that you configure this filer as a multiprotocol filer

(1) Multiprotocol filer

(2) NTFS-only filer

election (1-2)? [1]: 1

CIFS requires local /etc/passwd and /etc/group files and default files

will be created. The default passwd file contains entries for ‘root’,

‘pcuser’, and ‘nobody’.

Enter the password for the root user []:

Retype the password:

Mismatch – try again.

Enter the password for the root user []:

Retype the password:

The default name for this CIFS server is ‘REDORBITANETAPP’.

Would you like to change this name? [n]:

Data ONTAP CIFS services support four styles of user authentication.

Choose the one from the list below that best suits your situation.

(1) Active Directory domain authentication (Active Directory domains only)

(2) Windows NT 4 domain authentication (Windows NT or Active Directory domains)

(3) Windows Workgroup authentication using the filer’s local user accounts

(4) /etc/passwd and/or NIS/LDAP authentication

Selection (1-4)? [1]: 4

What is the name of the Workgroup? [WORKGROUP]:

Wed Jan 2 07:52:16 GMT [passwd.changed:info]: passwd for user ‘root’ changed.

CIFS – Starting SMB protocol…

Welcome to the WORKGROUP Windows(R) workgroup

CIFS local server is running.

Password:

redorbitanetapp> Wed Jan 2 07:52:36 GMT [console_login_mgr:info]: root logged in from console

redorbitanetapp>

Listoo!!!!! ya tenemos nuestro entorno de pruebas de netapp, si vais a montar un cluster… necesitáis licencia. ajaja

Un saludo, rokitoh!

Comentarios