on Linux
# watch -n5 kill -USR1 $(pgrep ^dd)
On MacBook
# watch -n5 kill -INFO $(pgrep ^dd)
# cd /u01/app/oracle/ovm-manager-3/bin # ./secureOvmmTcpGenKeyStore.shYou are prompted to enter the following information:
Generate OVMM TCP over SSH key store by following steps: Enter keystore password:passwordRe-enter new password:passwordWhat is your first and last name? [Unknown]:nameWhat is the name of your organizational unit? [Unknown]:unitWhat is the name of your organization? [Unknown]:organizationWhat is the name of your City or Locality? [Unknown]:CityWhat is the name of your State or Province? [Unknown]:StateWhat is the two-letter country code for this unit? [Unknown]:country_codeIs CN=name, OU=unit, O=organization, L=City, ST=State, C=country_codecorrect? [no]:yesEnter key password for <ovmm> (RETURN if same as keystore password):passwordRe-enter new password:password
secureOvmmTcp.sh script, which is in the
same directory as the keystore script above. On the Oracle VM Manager
host, enter:
# ./secureOvmmTcp.shYou are prompted to enter the following information:
Enabling OVMM TCP over SSH service Please enter the OVM manager user name:The username and password entered here are the local Oracle VM Manager authentication credentials to use when logging in from the remote Oracle VM Manager instance.usernameThe local Oracle VM Manager username to use Please enter the OVM manager user password:passwordThe local Oracle VM Manager password to use Please enter the password for TCPS key store :passwordThe keystore password created in the previous script The job of enabling OVMM TCPS service is committed, please restart OVMM to take effect.
# /sbin/service ovmm stop # /sbin/service ovmm start
New Sharing zfs set sharenfs=rw=host1:host2:host3,ro=host4 pool1
unless you really do need to be exporting the filesystems with root
permissions to all those hosts, in which case it's safest to be
explicit:zfs set sharenfs=rw=host1:host2:host3,root=host1:host2:host3,ro=host4 pool1
Modify Existing NFS sharing on ZFS
# zfs get share goweek/ishare
NAME PROPERTY VALUE SOURCE
goweek/ishare share name=ishare,path=/ishare,prot=smb,csc=auto local
goweek/ishare share name=goweek_ishare,path=/ishare,prot=nfs,sec=sys,root=effectivea.goweekend.ca:effectiveb.goweekend.ca:mtata3.goweekend.ca:blue2.goweekend.ca:biserver.goweekend.ca:blue.goweekend.ca:purple.goweekend.ca,prot=smb local
# zfs set share=name=goweek,path=/ishare,prot=nfs,anon=65534,sec=sys,root=effectivea.goweekend.ca:effectiveb.goweekend.ca:mtata3.goweekend.ca:blue2.goweekend.ca:vmtata01.goweekend.ca:blue.goweekend.ca:purple.goweekend.ca:wsdev.goweekend.ca,prot=smb goweek/ishare
name=goweek_ishare,path=/ishare,prot=nfs,anon=65534,sec=sys,root=effectivea.goweekend.ca:effectiveb.goweekend.ca:mtata3.goweekend.ca:blue2.goweekend.ca:vmtata01.goweekend.ca:blue.goweekend.ca:purple.goweekend.ca:wsdev.goweekend.ca,prot=smb
root@sun1:~# svccfg -s system/identity:node listprop config config application config/enable_mapping boolean true config/nodename astring sun1 config/loopback astring sun12. Change to new name
root@sun1:~# svccfg -s system/identity:node setprop config/nodename="sun01" root@sun1:~# svccfg -s system/identity:node setprop config/loopback="sun01"3. Refresh the properties:
root@sun1:~# svccfg -s system/identity:node refresh4. Restart the service:
root@sun1:~# svcadm restart system/identity:node5. Verify changes:
root@sun1:~# svccfg -s system/identity:node listprop config config application config/enable_mapping boolean true config/nodename astring sun01 config/loopback astring sun01
6. Reboot to refresh all cached old host name.