Arquivo para setembro, 2007

Comandos basicos a serem utilizados na HMC para abertura de console Unix (Linux ou AIX) via SSH.

Comandos vtmenu e o rmvterm
Exemplos
Continuar Lendo »

Anúncios

Filesets necessários:

[server:root:/:] lslpp -l | grep -i cifs
bos.cifs_fs.rte 5.3.0.50 COMMITTED Runtime for SMBFS
bos.cifs_fs.smit 5.3.0.0 COMMITTED SMIT Interface for SMBFS

Montagem via smitty/smit

[server:root:/:] smitty cifs_fs

smitty-cifs_fs01

Tela Add/Mount a CIFS FileSystem

smitty-cifs_fs02

Montando via linha de comando:

[server:root:/:] mount -v cifs -n [IP_DO_SERVIDOR]/[USUARIO]/[SENHA] -o uid:0250,fmode:0775 [COMPARTILHAMENTO_WIN] /mnt

1) Verificando o status do sysdump


# sysdumpdev -l
primary /dev/lg_dumplv
secondary /dev/sysdumpnull
copy directory /var/adm/ras
forced copy flag TRUE
always allow dump FALSE
dump compression ON

2) Verificando o tamanho estimado para o dump

# sysdumpdev -e
0453-041 Estimated dump size in bytes: 1016279859

3) Verificando o tamanho da Área de DUMP

3.1) Encontrando o lv de dump

# lsvg -l rootvg | grep sysdump
lg_dumplv           sysdump    96    96    1    open/syncd    N/A

3.2) Verificando o tamanho dos PPs

# lslv lg_dumplv
LOGICAL VOLUME:     lg_dumplv              VOLUME GROUP:   rootvg
LV IDENTIFIER:      000c6a8d00004c000000011533b4b782.10 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       opened/syncd
TYPE:               sysdump                WRITE VERIFY:   off
MAX LPs:            512                    PP SIZE:        32 megabyte(s)
COPIES:             1                      SCHED POLICY:   parallel
LPs:                96                     PPs:            96
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    32
MOUNT POINT:        N/A                    LABEL:          None
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?:     NO

3.3) Calculando o tamanho da área em Mb

# echo 96*32 | bc
3072

4) Se quiser gerar um dump basta executar o comando abaixo *** ISSO VAI REINICIAR O SERVIDOR ***

# sysdumpstart -p

5) Gerando o SNAP com o DUMP

# snap -r
# snap -gfktLDc

Ele vai gerar o arquivo:
/tmp/ibmsupt/snap.pax.Z

Contate agora o seu fornecedor.

losf for AIX

http://aixpdslib.seas.ucla.edu/packages/lsof.html

1. Descomprimir


[server:root:/home/kairoa:] uncompress lsof.4.76.tar.Z

2. Descompactar


server:root:/home/kairoa:] cd /
[server:root:/:] tar xvf ~kairoa/lsof.4.76.tar
x ./usr/local/bin/lsof, 612041 bytes, 1196 media blocks.
x ./usr/local/man/man8/lsof.8, 110489 bytes, 216 media blocks

 1. Guarde um PV existente no VG com nome atual~


kairoserver:root:/:] lspv | grep vg02 | tail -1
hdisk93 00c3cabb03b15fdd vg02 active

2. Coloque o VG em varyoff


[kairoserver:root:/:] varyoffvg vg02

3. Exportar o VG


[kairoserver:root:/:] exportvg vg02

4. Importando o VG com o novo nome


[kairoserver:root:/:] importvg -y vgnew02 hdisk93
vgnew02