# lspv
hdisk39         00f64a87e6f52281                    None
# rendev -l hdisk39 -n hdisk40
hdisk40
# lspv
hdisk40         00f64a87e6f52281                    None
#

cf. devreset - device 정보를 초기화

'IBM Power' 카테고리의 다른 글

nmon.sh  (0) 2012.08.17
dog 프로세스...  (0) 2012.08.16
vios에서 보이는 virtual adapter의 slot 번호 찾기...  (0) 2012.08.07
chfs로 filesystem size변경  (0) 2012.07.24
Director Storage Control 기동/종료  (0) 2012.07.24
블로그 이미지

Melting

,

$ lsdev -slots

# Slot                        Description       Device(s)
U8202.E4B.064A89P-V21-C21     Virtual I/O Slot  ent2
U8202.E4B.064A89P-V21-C22     Virtual I/O Slot  vhost0
U8202.E4B.064A89P-V21-C23     Virtual I/O Slot  vhost1
U8202.E4B.064A89P-V21-C24     Virtual I/O Slot  vhost2

$

최신 HMC 에서는 아래와 같이 조회가능 ...




'IBM Power' 카테고리의 다른 글

dog 프로세스...  (0) 2012.08.16
aix 6.1 이상에서 hdisk 순서변경하기 rendev  (0) 2012.08.08
chfs로 filesystem size변경  (0) 2012.07.24
Director Storage Control 기동/종료  (0) 2012.07.24
CLI를 통한 LPM 수행하기...  (0) 2012.07.20
블로그 이미지

Melting

,

cat /opt/ibm/director/version.srv


블로그 이미지

Melting

,


-- lsi -- 

# cat /.profile

export PATH=/opt/lsi/pegasus/bin:$PATH

export LIBPATH=/opt/lsi/pegasus/lib:$LIBPATH

export LD_LIBRARY_PATH=/opt/lsi/pegasus/lib:/opt/lsi/openssl/lib:/opt/lsi/openslp/lib:$LD_LIBRARY_PATH

export PEGASUS_HOME=/opt/lsi/pegasus

export PEGASUS_ROOT=/opt/lsi/pegasus


# cat /opt/lsi/pegasus/cimserver_current.conf (cimserver_planned.conf)

httpPort=25988

slp=true

httpsPort=25989

registerExternalOpenSLP=false

enableAuthentication=true

enableHttpsConnection=true

enableHttpConnection=true


# cat /opt/lsi/pegasus/providers/array/ArrayHosts.txt  (DSXX Storage IP)

180.24.56.101   


# /opt/lsi/pegasus/bin/cimserver -s
# /opt/lsi/pegasus/bin/cimserver



<< Director Server >> 

# smcli mkdatasource -c storage -t http -i 100.0.0.125 -p 25988 -u root -w root -n "/interop"

      > DS 시리즈 등록시 (잘 않되면 Director Console에서 SMIS로 discover)

      > /interop의 namespace는 솔루션에 따라 상이



-- brocade --

# 설치시 Port 35988 입력...

# /opt/SMIAgent/agent/server/jserver/bin/Configurationtool.sh 

# cat /opt/SMIAgent/agent/server/jserver/bin/provider.xml

      ...

<connection created_by_agent="true" address="10.0.0.77" user="admin" address_type="IPv4" password="cCa8n6boHOd6segnW84QrA==" protocol="RPC" login_scheme="Non SecureSAN" num_rpc_handles="5" is_password_encrypted = "true" timeout = "60" multiple_connections="True"/>

      ...


#  /opt/SMIAgent/agent/server/jserver/bin/stop_server -s http://localhost:35988/interop  (SMI-S Agent 종료)

# /opt/SMIAgent/agent/server/jserver/bin/start_server (SMI-S Agent 기동)

# smcli mkdatasource -c fabric -t http -i 100.0.0.125 -p 35988 -u root -w root -n "/interop"

     > Brocade SW 등록시


-------------
Type별 정리

-------------

    > SVC Type

smcli rmdatasource -c svc -f /.ssh/id_rsa -v V7000 -i 10.0.0.103

smcli mkdatasource -c svc -f /.ssh/id_rsa -v V7000 -i 10.0.0.103


    > Brocade SAN SW : Brocade

smcli rmdatasource -c fabric -t http -i 10.0.0.145 -p 35988

smcli mkdatasource -c fabric -t http -i 10.0.0.145 -p 35988 -u admin -w admin -w admin -n "/interop"


    > IBM DS Storage(DS 4XXX) : LSI

smcli rmdatasource -c storage -i 10.0.0.125 -t http -p 25988

smcli mkdatasource -c storage -t http -i 10.0.0.125 -p 25988 -u root -w root -n "/interop"


    > storage status check

smcli dumpstcfg


    > svc 사용시 flash copy enable

smcli mksvcsshrsap -s "SVC-2145-SCE_SVC-IBM" -u admin -f /.ssh/id_rsa

smcli rmsvcsshrsap


-------------




'Systems Director' 카테고리의 다른 글

Director Server 삭제  (0) 2012.08.16
Director version 정보보기...  (0) 2012.08.02
Director User 계정 unlock  (0) 2012.07.25
Director 이미지 백업...  (0) 2012.07.24
SMI-S Provider 사용을 위한 DS 시리즈 펌웨어...  (0) 2012.07.20
블로그 이미지

Melting

,

smcli chuser -m unlock -u $username

블로그 이미지

Melting

,

chfs -a size=+512M /filesystem_name
chfs -a size=+1G /filesystem_name
chfs -a size=-512M /filesystem_name


블로그 이미지

Melting

,

/opt/ibm/director/StorageControl/bin/startStorageControl.sh

/opt/ibm/director/StorageControl/bin/stopStorageControl.sh



블로그 이미지

Melting

,

# smstop

# /opt/ibm/director/StorageControl/bin/stopStorageControl.sh

# stopsrc -s cas_agent
# stopsrc -s platform_agent
# stopsrc -s cimsys
          
# su - dirinst1
$ /opt/ibm/director/db2/bin/db2 
db2 => LIST ACTIVE DATABASES
SQL1611W  No data was returned by Database System Monitor.


# alt_disk_install -CBO hdisk1
   bootlist -m normal -o
   alt_disk_install -X
       (or) # mksysb -i /mksysb/sysdir63.mksysb


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
복구
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
mksysb로 복구된 이미지는 director관련 프로세스가 기동시 제외되므로 /etc/inittab에서 : 주석을 제거해 주어야 함

# reset_diragent_keys 
   > (UID, GUID, SSH key 재생성)


# startsrc -s cimsys
# startsrc -s platform_agent
# startsrc -s cas_agent
      (or)  /opt/ibm/director/agent/runtime/agent/bin/endpoint.sh start
# /opt/ibm/director/StorageControl/bin/startStorageControl.sh
# smstart


블로그 이미지

Melting

,

# dmidecode -t [type]

Valid type keywords are:

  bios
  system
  baseboard
  chassis
  processor
  memory
  cache
  connector
  slot



블로그 이미지

Melting

,

http://www-01.ibm.com/support/docview.wss?uid=nas78e01b9b73e4bc8ee86257834002881cf 

http://www.ibm.com/developerworks/forums/thread.jspa?threadID=391858 




블로그 이미지

Melting

,