Minggu, 24 Maret 2019

Problem : Cant boot After recovering root Pool snapshots in newrpool : no pool_props

Problem :
=========
{0} ok boot newrpoolhrdb02
NOTICE: Entering OpenBoot.
NOTICE: Fetching Guest MD from HV.
NOTICE: Starting additional cpus.
NOTICE: Initializing LDC services.
NOTICE: Probing PCI devices.
NOTICE: Finished PCI probing.


SPARC T5-4, No Keyboard
Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.35.3, 63.0000 GB memory available, Serial #83497796.
Ethernet address 0:14:4f:fa:13:44, Host ID: 84fa1344.



Boot device: /virtual-devices@100/channel-devices@200/disk@4 File and args:

no pool_props

Evaluating:
The file just loaded does not appear to be executable.

solustion
========
recreate snapshot and restore again

Problem : S7-2L panic when ok boot rcdrom

Dear team,

we get panic system when we try to re-install this machine using rcdrom
{0} ok boot rcdrom
Boot device: /pci@300/pci@1/pci@0/pci@2/usb@0/hub@2/storage@1/disk@0 File and args:
SunOS Release 5.11 Version 11.3 64-bit
Copyright (c) 1983, 2016, Oracle and/or its affiliates. All rights reserved.
NOTICE: Can not read the pool label from ''
NOTICE: zfs_do_tboot: failed to import root pool, error 5.
NOTICE: spa_get_bootfs: can not get bootfs name
Cannot mount root on /pci@300/pci@1/pci@0/pci@2/usb@0/hub@2/storage@1/disk@0,0:a fstype zfs

panic[cpu0]/thread=20012000: vfs_mountroot: cannot mount root

Warning - stack not written to the dumpbuf
000000002000fa00 genunix:main+1dc (208a1c00, 20122eb8, 202f68c0, 0, 0, 1)
%l0-3: 0000000000000000 00000000203be000 0000000000000000 0000000010071400
%l4-7: 0000000020122c00 0000000010071400 0000000000000000 0000000000000000

Deferred dump not available.
dump subsystem not initialised
rebooting...

please help me to solve this issue

regards
Sysadmin

solution
======
ACTION PLAN (What, Why)
-------------------------------------------------------
Hi Sysadmin,

Please check the ILOM config:-

-> ls

/SP/services/kvms/host_storage_device
Targets:
remote

Properties:
mode = miniroot
status = operational

Commands:
cd
show

-> help mode
Properties:
mode : KVMS host storage mode
mode : Possible values = miniroot,remote,disabled
mode : User role required for set = a

If the mode is set to miniroot, then change it to "disabled".

-> set mode=disabled

After that, need to do reset-all in OBP. Then connect local iso image in KVMS storage of remote console, and do reset-all again before trying to boot rcdrom.

"reset-all" seems to be redundant but it is possible to run into various errors without doing it when using rcdrom.

Kind regards,
Oracle Support


----
referensi :
SPARC S7/T7 rKVM Storage redirection fails to boot with sol-11_3-text-sparc.iso (Doc ID 2102941.1)

How to upgrade firmware ILOM by Command Line Interface {CLI}

  1. Download TFTP server for Windows by Ph. Jounin (if you use windows desktop)
  2. start TFTP server
  3.  

    from CLI
    =========
    -> load -source tftp://172.17.254.161/ILOM-3_0_6_15_f_r101655-Sun_Fire_X4150_X4250_X4450.pkg
    NOTE: An upgrade takes about 6 minutes to complete. ILOM
          will enter a special mode to load new firmware. No
          other tasks can be performed in ILOM until the
          firmware upgrade is complete and ILOM is reset.

          You can choose to postpone the server BIOS upgrade until the
          next server poweroff. If you do not do that, you should
          perform a clean shutdown of the server before continuing.

    Are you sure you want to load the specified file (y/n)? y
    Preserve existing configuration (y/n)? y
    Delay BIOS upgrade until next server poweroff (y/n)? y
    .........................................................................................................................................................

    Firmware update is complete.
    ILOM will now be restarted with the new firmware.
  4. wait until ILOM reboot if self 

Kamis, 09 November 2017

Get problem when install OSC 4.3 SRU 8.4.0

root@clusternode1:/export/home/admin# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F file:///repo-full/repo/
solaris origin online F file:///repo-incr/
ha-cluster origin online F file:///osc-repo-full/repo/
ha-cluster origin online F file:///osc-repo-incr/repo/
root@clusternode1:/export/home/admin# pkg install ha-cluster-full
Packages to install: 92
Services to change: 10
Create boot environment: No
Create backup boot environment: Yes


pkg: The following packages require their licenses to be accepted before they can be installed or updated:
----------------------------------------
Package: pkg://solaris/developer/java/jdk-7@1.7.0.151.15,5.11:20170713T203336Z

License: BCL
License requires acceptance.

To indicate that you agree to and accept the terms of the licenses of the packages listed above, use the --accept option. To display all of the related licenses, use the --licenses option.

solution
-----------
root@clusternode1:/export/home/admin# pkg install --accept ha-cluster-full
Packages to install: 92
Services to change: 10
Create boot environment: No
Create backup boot environment: Yes

DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 92/92 7626/7626 314.4/314.4 0B/s

PHASE ITEMS
Installing new actions 10979/10979
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Updating package cache 2/2
root@clusternode1:/export/home/admin#

How to install Solaris cluster framework 4.1

root@SMJKT-PRFND01:/mnt# mount -F hsfs sol-11_1-repo-full.iso /repo-full/
root@SMJKT-PRFND01:/mnt# mount -F hsfs sol-11_1_11_4_0-incr-repo.iso /repo-incr/
root@SMJKT-PRFND01:/mnt#

root@SMJKT-PRFND01:/mnt/SunCluster/progs/SunCluster/4.1# mount -F hsfs osc-4_1-ga-repo-full.iso /osc-repofull/

root@SMJKT-PRFND01:/mnt/SunCluster/progs/SunCluster/4.1# mount -F hsfs osc-4_1_2-1-repo-incr.iso /osc-repoincr/

root@SMJKT-PRFND01:/mnt/SunCluster/progs/SunCluster/4.1# pkg set-publisher -g file:///osc-repofull/repo ha-cluster
root@SMJKT-PRFND01:/mnt/SunCluster/progs/SunCluster/4.1# pkg set-publisher -g file:///osc-repoincr/repo ha-cluster


root@node1:/mnt/SunCluster/progs/SunCluster/4.1# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F file:///net/192.168.1.10/mnt/repo/
solaris origin online F file:///repo-full/repo/
solaris origin online F file:///repo-incr/repo/
ha-cluster origin online F file:///osc-repofull/repo/
ha-cluster origin online F file:///osc-repoincr/repo/


root@node1:/mnt# /usr/bin/pkg install ha-cluster-full
Packages to install: 73
Create boot environment: No
Create backup boot environment: Yes
Services to change: 7

DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 73/73 9089/9089 73.0/73.0 0B/s

PHASE ITEMS
Installing new actions 11941/11941
Updating package state database Done
Updating image state Done
Creating fast lookup database Done
root@node1:/mnt#

How to remove metaset cluster 3.x

check disk group
# cldg status

check diskset
# metaset

command from 1st node
=================
remove diskset from 2nd node
remove DID disk from diskset
remove diskset from 1st node


example
=======
root@andromeda1 # metaset

Set name = datacopy, Set number = 3

Host Owner
andromeda1 Yes
andromeda2

Mediator Host(s) Aliases
andromeda1
andromeda2

Driv Dbase

d1 Yes

Set name = zonecl03, Set number = 4

Host Owner
andromeda1 Yes
andromeda2

Driv Dbase

d7 Yes

root@andromeda1 # metaset -s zonecl03 -d -h andromeda2
root@andromeda1 # metaset -s zonecl03 -f -d /dev/did/rdsk/d7
root@andromeda1 # metaset -s zonecl03 -d -h andromeda1
root@andromeda1 # metaset

root@andromeda1 # metaset -s datacopy -t

Set name = datacopy, Set number = 3

Host Owner
andromeda1 Yes
andromeda2

Mediator Host(s) Aliases
andromeda1
andromeda2

Driv Dbase

d1 Yes
root@andromeda1 #

How to create metadevice with mirror solaris cluster 3.x

create metaset
# metaset -s diskset -a -h node1
# metaset -s diskset -a -h node2

add DID device
# metaset -s diskset -a DID

create metadevice
# metainit -s diskset dn 1 1 /dev/did/rdsk/1st-DIDs0
# metainit -s diskset dn 1 1 /dev/did/rdsk/2nd-DIDs0
# metainit -s diskset dn -m d-submirror

metainit -s hartis-ds d10 1 1 dev

example

root@andromeda1 # metaset

Set name = datacopy, Set number = 3

Host Owner
andromeda1 Yes
andromeda2

Mediator Host(s) Aliases
andromeda1
andromeda2

Driv Dbase

d1 Yes

root@andromeda1 # metaset -s datacopy -a /dev/did/rdsk/d7
root@andromeda1 #

root@andromeda1 # metaset

Set name = datacopy, Set number = 3

Host Owner
andromeda1 Yes
andromeda2

Mediator Host(s) Aliases
andromeda1
andromeda2

Driv Dbase

d1 Yes

d7 Yes

root@andromeda1 # metainit -s datacopy d100 1 1 /dev/did/rdsk/d1s0
datacopy/d100: Concat/Stripe is setup
root@andromeda1 #

root@andromeda1 # metainit -s datacopy d200 1 1 /dev/did/rdsk/d7s0
datacopy/d200: Concat/Stripe is setup

root@andromeda1 # metainit -s datacopy d10 -m d100
datacopy/d10: Mirror is setup

root@andromeda1 # metastat -s datacopy
datacopy/d10: Mirror
Submirror 0: datacopy/d100
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 104808448 blocks (49 GB)

datacopy/d100: Submirror of datacopy/d10
State: Okay
Size: 104808448 blocks (49 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
d1s0 0 No Okay Yes


datacopy/d200: Concat/Stripe
Size: 104808448 blocks (49 GB)
Stripe 0:
Device Start Block Dbase Reloc
d7s0 0 No Yes

Device Relocation Information:
Device Reloc Device ID
d7 Yes id1,did@n600508b4000138cb0003200000080000
d1 Yes id1,did@n600508b4000138cb00032000000f0000


root@andromeda1 # metastat -s datacopy -p
datacopy/d10 -m datacopy/d100 1
datacopy/d100 1 1 /dev/did/rdsk/d1s0
datacopy/d200 1 1 /dev/did/rdsk/d7s0
root@andromeda1 #

root@andromeda1 # metastat -s datacopy -c
datacopy/d10 m 49GB datacopy/d100
datacopy/d100 s 49GB d1s0
datacopy/d200 s 49GB d7s0


root@andromeda1 # mount /dev/md/datacopy/dsk/d10 /mnt
root@andromeda1 #

root@andromeda1 # metattach -s datacopy d10 d200
datacopy/d10: submirror datacopy/d200 is attached
root@andromeda1 # metastat -s datacopy
datacopy/d10: Mirror
Submirror 0: datacopy/d100
State: Okay
Submirror 1: datacopy/d200
State: Resyncing
Resync in progress: 0 % done
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 104808448 blocks (49 GB)

datacopy/d100: Submirror of datacopy/d10
State: Okay
Size: 104808448 blocks (49 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
d1s0 0 No Okay Yes


datacopy/d200: Submirror of datacopy/d10
State: Resyncing
Size: 104808448 blocks (49 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
d7s0 0 No Okay Yes


Device Relocation Information:
Device Reloc Device ID
d7 Yes id1,did@n600508b4000138cb0003200000080000
d1 Yes id1,did@n600508b4000138cb00032000000f0000

root@andromeda1 # metastat -s datacopy -c
datacopy/d10 m 49GB datacopy/d100 datacopy/d200 (resync-0%)
datacopy/d100 s 49GB d1s0
datacopy/d200 s 49GB d7s0
root@andromeda1 # metastat -s datacopy -p
datacopy/d10 -m datacopy/d100 datacopy/d200 1
datacopy/d100 1 1 /dev/did/rdsk/d1s0
datacopy/d200 1 1 /dev/did/rdsk/d7s0
root@andromeda1 #