American Megatrends MAN-STOR-ITX27-CLI manual General Server Configuration, Health Configuration

Page 19

General Server Configuration

These commands retrieve the general server information, such as build version, build date and so on. It also allows configuration of a new server name.

 

Command

Argument

Description

 

 

get serverinfo

For example: get serverinfo

Displays the server information

 

 

 

 

such as server name, build version,

 

 

 

 

build date and so on.

 

 

set serverinfo

-n/--name <server name>

Configures the name of the server.

 

 

 

-x/--xml

The length of the servername

 

 

 

 

should be less than 16 characters

 

 

 

For example: set –n newitx serverinfo

and the first character must be

 

 

 

 

alphabetical.

 

 

set serverinfo

-p/--password

System will prompt you to enter

 

 

 

–u/--user{root/cli}

and confirm the new administrator

 

 

 

-x/--xml

(root/cli) password.

 

 

 

 

Password length should be 32 or

 

 

 

 

less characters.

 

 

create dump

 

Creates a dump of the running

 

 

 

 

system that is useful for debugging.

 

 

 

 

The file is placed in /usr/AmiNas.

 

 

Health Configuration

 

 

 

These commands get the health information

 

 

 

 

 

 

 

 

Command

Argument

Description

 

 

get health

-c/--enccount

Gets the number of enclosures

 

 

 

-x/--xml

present in the system.

 

 

 

For example: get –c health

 

 

 

get health

-i/--info –n/--enclosure

Gets the health information

 

 

 

-x/--xml

regarding fan, voltage and

 

 

 

For example: get –i –n 0 health

temperatures for the given

 

 

 

 

enclosure.

 

 

get health

-s/--encstatus

Gets the enclosure status for the

 

 

 

–n/--enclosure (optional)

given enclosure or for all the

 

 

 

-x/--xml

enclosures.

 

 

 

For example: get –s health

 

 

 

 

get –s –n 0 health

 

 

 

get health

-a/--

Gets the enclosure status for all the

 

 

 

-x/--xml

enclosures.

 

 

 

For example: get –x –a health

 

 

Chapter Two: Command Set 13

Image 19 Contents
MAN-STOR-ITX27-CLI 06/07/2010 Revision History Preface Table of Contents Limitations of Liability Limited WarrantyTechnical Support Disclaimer Preface Accessing CLIOverview of CLI NIC-1 Initial SetupThis will list the available RAID LD’s present in the system Volume ConfigurationPage To create a target, use the following commands Similarly a SAN volume can be created as followsNext step is to activate a port for iSCSI traffic Then, to enable the target, use the syntax belowChapter Command SetCLIshow -h Enter For example To find out how the show command works, type These commands configure the way alerts are generated Alert ConfigurationDomain Configuration Date/Time ConfigurationThese commands configure the time zone and date These commands display or clear the event log Event log CommandsThese commands configure the network firewall options Firewall ConfigurationHealth Configuration General Server ConfigurationThese commands get the health information ISCSI Configuration Command Argument Description These commands configure the License License configurationNetwork Controller Configuration NAS Quota Configuration List retrieved will be given for both instead of singly NAS User / Group ConfigurationFor exmaple set -t user -u test1 -p test1 -f Test1 ug Protocol Configuration RAID & Disk Management Commands Command Argument Description Upgrades the firmware for a These commands work on NAS shares and directory Share, Directory & ACL ConfigurationLevel for NT 3provisiontype 0-Thin System Control ConfigurationVolume and Snapshot Commands These commands configure the System controlsCommand Argument Description Command Argument Description These commands configure the UPS for power management UPS ConfigurationXml Synchronous replication For example update -l c0v0 -p 50 -m SyncreplicaFor example Update -l c0v0 -g rg0 syncreplica For example Update -l c0v0 -p 50 -m 172.16.70.102Asynchronous Replication These commands configure asynchronous replicationUtilization bandwidth utilization Command Argument Description Failedduetorollback Command Argument Description Command Argument Description Command Argument Description Example Get -t journalfile -c Cont0 -f jf0 journal Journal Volume ManagementThese commands configure a journal and journal file ExamplePage Continuous Data Protection Recovery WizardThese commands are to view cdp for journal file These commands are used as part of recovery wizardWorkflow queue These commands are used as part of SRMStorage Resource Management List the tasks in report, pendingLocal and Replicated Snapshot validation These commands are used as part of snap validationPage Appendix a Error Codes Code 175 Error in mounting the share 338 License file read write error Code Code Code Code Description Code Description Code Description