Archive

Archive for November, 2014

Dynamic reconfiguration of the virtual device on domain failed with error code (-122).

November 20, 2014 Leave a comment

Problem Symptons

root@control:~# ldm remove-vdisk guestdk guest
Dynamic reconfiguration of the virtual device on domain guest
failed with error code (-122).
The OS on domain guest did not report a reason for the failure.
Check the logs on that OS instance for any further information.
Failed to remove vdisk instance

root@control:~# ldm remove-vdisk -f guestdk guest
Dynamic reconfiguration of the virtual device on domain guest
failed with error code (-122).
The OS on domain guest did not report a reason for the failure.
Check the logs on that OS instance for any further information.
Failed to remove vdisk instance
The -f option has no effect because the device cannot be removed safely

Cause: The disk is still in use in domain even though the ZFS filesystem is unmounted.

Fixed: Have to export the zpool of the ZFS filesystem in the guest domain

Procedures:
Login Guest:
root@guest:~# zfs unmount /data
root@guest:~# zpool export data
Login Control Domain
root@control:~#  ldm remove-vdisk -f guestdk guest

Categories: Uncategorized

[ctssd(1883)]CRS-2409:The clock on host XXXXX is not synchronous with the mean cluster time. No action has been taken as the Cluster Time Synchronization Service is running in observer mode.

November 13, 2014 Leave a comment

Today, just finished to install Oracle 12c1 RAC on Solars 11 SPRACH. The GI alertxxxx.log showed the message below

[ctssd(1883)]CRS-2409:The clock on host <hostname> is not synchronous with the mean cluster time. No action has been taken as the Cluster Time Synchronization Service is running in observer mode.

From the oracle support, it explained that it caused by the ntp slew_always not setup to true.

root@XXXX:~# svcprop ntp |grep slew

config/slew_always boolean false
root@XXXX:~# svccfg -s svc:/network/ntp:default setprop config/slew_always=true
root@XXXX:~# svcadm refresh ntp
root@XXX:~# svcprop ntp | grep slew
config/slew_always boolean true

Then, restart the GI for refresh ctssd.

Categories: Uncategorized