mount -t cifs //192.168.1.2/backup1 -o username=xxx,password=xxx,uid=0,gid=0 /mnt/backup1
uid/gid are required to allow for full permissions on my share.
Friday, October 26, 2012
Tuesday, July 03, 2012
How I backup my OVM Repository
--Repository location
[root@hyperfur Repositories]# pwd
/OVS/Repositories
--List of repositories
[root@hyperfur Repositories]# ls
0004fb0000030000dcf6f0c23eee31af
--Tar zip the repository and save and NFS mount
[root@hyperfur Repositories]# tar -cvzf /FREENAS/hyperfur-repos-070312.tar.gz 0004fb0000030000dcf6f0c23eee31af/
--To untar the file use
tar –xvzf filename.tar.gz
Tuesday, June 26, 2012
Starting an Oracle VM image from the commandline
Start an Oracle VM image from the command line with:
xm create -c ./vm.cfg
My VMs are stored on /OVS. Since all the directory names are generated, to find out the one I want to launch, I use "grep -R <vm name> *.cfg"
Sunday, June 10, 2012
Deploying OEM12c Agents on my guest VMs
Using OEM12C my agents wern't deploying from the OEM console. The agent home was getting created during the "agent manual deploy" option from the console. So I run this to install/start the agent on my target maching.
./agentDeploy.sh AGENT_BASE_DIR=/opt/oem12c_agentHome OMS_HOST=192.168.1.105 INVENTORY_LOCATION=/opt/oracle/app/oraInventory AGENT_REGISTRATION_PASSWORD=welcome1 EM_UPLOAD_PORT=7788
Thursday, May 17, 2012
The Oracle Public Yum Site
I needed to access to latest oracle public yum site recently...here it is
http://public-yum.oracle.com/
http://public-yum.oracle.com/
Tuesday, May 15, 2012
mounting an ISO image on FreeNAS 8.0.4
mkdir /mnt/backup1/cdrom
mdconfig -a -t vnode -o readonly -f /mnt/backup1/my.iso mount -t cd9660 /dev/md? /mnt/backup1/cdrom
To Remove:
umount [mount destination] mdconfig -d -u /dev/md?
Sunday, May 13, 2012
To mount an NFS share on OEL5/6
I use this to mount my FreeNAS 8.0.4 NFS share onto my OVM hypervisor for backups:
mount -t nfs 192.168.1.3:/mnt/backup1 /nfsshare