分类: 服务器与存储
2008-12-03 13:00:25
转至我的网站iamworker.com
一些概念性的东西:
DS8100
The DS8100 (Models 921 and 931) features a dual two-way processor complex and support for one expansion model.
DS8300
The DS8300 (Models 922, 932, 9A2, and 9B2) features a dual four-way processor complex and support for up to four expansion models. Models 9A2 and 9B2 support two IBM System Storage System logical partitions (LPARs) in one storage unit.
Completing DS CLI postinstallation
1. Initiate the DS CLI to begin using it in either single-shot, script, or interactive command mode.
2. Set up your required user accounts and passwords.
3. Set your DS CLI default configuration settings.
4. Activate your licensed functions. This includes obtaining your feature activation codes and applying the feature activation codes to your storage unit.
5. Enable the remote support and call home functions for your DS6000 model. You must provide customer contact and network information to enable these functions.
6. Register for the My Support service for your DS6000 model.
7. Configure new fixed block storage. Use the DS CLI to create and modify fixed block extent pools, arrays, ranks, volumes, and volume groups. You can also configure host ports and connections.
You must log into DS CLI to use the
command modes. There are three command modes for the DS CLI:
Single-shot
Interactive
Script
Setting up user
accounts
The admin account is set up automatically at the time of
installation. It is accessed using the user name admin and the default
password admin. This password
is temporary and expires after its initial use. You must change the password
before you can use any of the other functions. There are 7 groups the
administrator can assign to a user. A user can be assigned to more than one user
group. The groups and the associated functions allowed by the assignment are as
follows:
Admin
op_volume
op_storage
op_copy_services
service
monitor
no_access
1.Log into the DS CLI application in interactive command mode.
2.Issue the following command from the dscli
command prompt to assign a user to an account with a default password: dscli>mkuser -pw AB9cdefg -group
service,op_copy_services testuser
3.Press Enter and observe the processing result. A successful process returns the following display: Sun Aug 11 02:23:49 PST 2004 IBM DS CLI
Version
User Name testuser successfully created.
整个划分逻辑卷给AIX系统的完整过程:
The DSCLI command syntax is:
dscli
-user |
#
/opt/ibm/dscli/dscli -user admin -passwd article123 -hmc1 198.162.1.2
lssi
Date/Time:
May 15, 2008 4:50:04 AM CDT IBM DSCLI Version: 5.2.400.426
Name
ID Storage Unit Model WWNN
State ESSNet
============================================================================
-
IBM.2107-7516231 IBM.2107-7516230 922 5005076303FFC150 Online
Enabled |
# lsdev
-Cc adapter | grep fc
fcs0
Available 1Z-08 FC Adapter
|
# lscfg
-vl fcs0 | grep -w "Network Address"
Network
Address.............10000000C9427D30 |
#
$DSCLIcmd mkhostconnect -dev IBM.2107-7516231 -wwname 10000000C9427D30
-profile \"IBM pSeries - AIX\" Node1
Date/Time:
May 13, 2008 1:23:14 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
CMUC00012I
mkhostconnect: Host connection 0060 successfully
created. |
#
$DSCLIcmd lshostconnect -dev IBM.2107-7516231 | grep Node1
Node1
0060 10000000C9427D30 - IBM pSeries - AIX 0 -
all |
#
$DSCLIcmd mkvolgrp -dev IBM.2107-7516231 Node1_vg
Date/Time:
May 13, 2008 1:40:12 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
CMUC00030I
mkvolgrp: Volume group V77 successfully
created. |
#
$DSCLIcmd lslss -dev IBM.2107-7516231
Date/Time:
May 13, 2008 1:43:50 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
ID Group
addrgrp stgtype confgvols
==================================
08
0 0 fb 2
09
1 0 fb 33
0A
0 0 fb 20
0D
1 0 fb 8
10
0 1 fb 51
11
1 1 fb 189 |
#
$DSCLIcmd lsfbvol -dev IBM.2107-7516231 -lss 05
Date/Time:
May 13, 2008 1:46:23 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
Name D
accstate datastate configstate deviceMTM datatype extpool cap (2^30B)
cap
(10^9B) cap (blocks)
=============================================================================
PPRC0003 050D
Online Normal Normal 2107-900 FB 512 P1 - 1.0 1953152
PPRC0004 050E
Online Normal Normal 2107-900 FB 512 P1 - 1.0 1953152
PPRC0005 050F
Online Normal Normal 2107-900 FB 512 P1 - 1.0 1953152
PPRC0006 0510
Online Normal Normal 2107-900 FB 512 P1 - 1.0 1953152
PPRC0007 0511
Online Normal Normal 2107-900 FB 512 P1 - 1.0 1953152
PPRC0008 0512
Online Normal Normal 2107-900 FB 512 P1 - 1.0 1953152
PPRC0009 0513
Online Normal Normal 2107-900 FB 512 P1 -
1.0 1953152 |
#
$DSCLIcmd mkfbvol -dev IBM.2107-7516231 -extpool P1 -type ds -cap 10
0514
Date/Time:
May 13, 2008 1:59:24 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
CMUC00025I
mkfbvol: FB volume 0514 successfully
created. |
#
$DSCLIcmd mkfbvol -dev IBM.2107-7516231 -extpool P1 -type ds -cap 10
0515-0518
Date/Time:
May 13, 2008 2:10:55 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
CMUC00025I
mkfbvol: FB volume 0515 successfully created.
CMUC00025I
mkfbvol: FB volume 0516 successfully created.
CMUC00025I
mkfbvol: FB volume 0517 successfully created.
CMUC00025I
mkfbvol: FB volume 0518 successfully
created. |
# $DSCLIcmd
chvolgrp -action add -volume 0515-0520 IBM.2107-7516231/V77
Date/Time:
May 13, 2008 2:44:08 AM CDT IBM DSCLI Version: 5.2.400.426
CMUC00031I
chvolgrp: Volume group V77 successfully
modified. |
#
$DSCLIcmd chhostconnect -dev IBM.2107-7516231 -volgrp V77 0060
Date/Time:
May 13, 2008 2:46:35 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
CMUC00013I
chhostconnect: Host connection 0060 successfully modified.
|
# lsdev
-Cc disk | grep -e 2107 -e 1750
hdisk2 Available
1Z-08-02 IBM MPIO FC 2107
hdisk3 Available
1Z-08-02 IBM MPIO FC 2107
hdisk4 Available
1Z-08-02 IBM MPIO FC 2107
hdisk5 Available
1Z-08-02 IBM MPIO FC 2107 |
# lsdev
-Cc adapter | grep fc
fcs0
Available 1Z-08 FC Adapter |
# lscfg
-vl fcs0 | grep -w "Network Address"
Network
Address.............10000000C9427D30 |
#
$DSCLIcmd lshostconnect -dev IBM.2107-7516231 $Delim | grep -w
10000000C9427D30
Node1:0060:10000000C9427D30:-:IBM
pSeries - AIX:0:V77:all |
#
DSCLIcmd=/opt/ibm/dscli/dscli -user admin -passwd article123 -hmc1 198.162.1.2
#
Delim="-fmt delim -delim ":" -bnr off -hdr off"
#
$DSCLIcmd mkhostconnect -dev IBM.2107-7516231 -wwname 10000000C9427D30
\
-profile \"IBM pSeries - AIX\" Node1
Date/Time:
May 13, 2008 1:23:14 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
CMUC00012I
mkhostconnect: Host connection 0060 successfully created.
#
$DSCLIcmd lshostconnect -dev IBM.2107-7516231 | grep Node1
Node1
0060 10000000C9427D30 - IBM pSeries - AIX 0 - all
#
$DSCLIcmd mkvolgrp -dev IBM.2107-7516231 Node1_vg
Date/Time:
May 13, 2008 1:40:12 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
CMUC00030I
mkvolgrp: Volume group V77 successfully created.
#
$DSCLIcmd lslss -dev IBM.2107-7516231
Date/Time:
May 13, 2008 1:43:50 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
ID Group
addrgrp stgtype confgvols
==================================
08
0 0 fb 2
09
1 0 fb 33
0A
0 0 fb 20
0D
1 0 fb 8
10
0 1 fb 51
11
1 1 fb 189
13
1 1 fb 31
#
$DSCLIcmd lsfbvol -dev IBM.2107-7516231 -lss 05 $Delim \
| awk ' FS=":" { print $2" "$8 }' | sort -rn | head -1
0513
P1
Note: In
the above output 0520 is the MAX volumeid and P1 is the extentpool
to which
the lss 05 belongs to.
#
$DSCLIcmd mkfbvol -dev IBM.2107-7516231 -extpool P1 -type ds -cap 10
0514
Date/Time:
May 13, 2008 1:59:24 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
CMUC00025I
mkfbvol: FB volume 0514 successfully created.
#
$DSCLIcmd mkfbvol -dev IBM.2107-7516231 -extpool P1 -type ds -cap 10
0514-0518
Date/Time:
May 13, 2008 2:10:55 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
CMUC00025I
mkfbvol: FB volume 0514 successfully created.
CMUC00025I
mkfbvol: FB volume 0515 successfully created.
CMUC00025I
mkfbvol: FB volume 0516 successfully created.
CMUC00025I
mkfbvol: FB volume 0517 successfully created.
CMUC00025I
mkfbvol: FB volume 0518 successfully created.
# $DSCLIcmd
chvolgrp -action add -volume 0515-0520 IBM.2107-7516231/V77
Date/Time:
May 13, 2008 2:44:08 AM CDT IBM DSCLI Version: 5.2.400.426
CMUC00031I
chvolgrp: Volume group V77 successfully modified.
#
$DSCLIcmd chhostconnect -dev IBM.2107-7516231 -volgrp V77 0060
Date/Time:
May 13, 2008 2:46:35 AM CDT IBM DSCLI Version: 5.2.400.426 DS:
IBM.2107-7516231
CMUC00013I
chhostconnect: Host connection 0060 successfully modified.
#cfgmgr
# lsdev
-Cc disk | grep -e 2107 -e 1750
hdisk2 Available
1Z-08-02 IBM MPIO FC 2107
hdisk3 Available
1Z-08-02 IBM MPIO FC 2107
hdisk4 Available
1Z-08-02 IBM MPIO FC 2107
hdisk5 Available
1Z-08-02 IBM MPIO FC 2107
hdisk6 Available
1Z-08-02 IBM MPIO FC 2107
|