DD Perks Rewards for Avid Dunkin Lovers

I’m an avid fan of dunkin donuts. This weekend I was casually checkign my mails and found that I got a mail-in rebate coupoun to enjoy Medium hot or iced latte macchiato at my closest dunkin donut. This is an enticing option that I can’t choose to miss. During that time I found that dunkin donut honors my loyalty in the form of DD Perks Rewards. This is totally new to me and did interest me. Here is what we need to do to avail fullest benefit of Dunkin Donut rewards

Make use of Dunkin Donut mobile App
1) Download dunkin donut mobile app
2) Enroll any DD card in perks on the app using promocode DDLOVE
3) As a good will this will help me enjoy free beverage and start earning rewards
This is possible through online www.ddperks.com as well
1) Get a DD perks card from nearest dunkin donut store. This can be applied online at www.ddperks.com
2) Enroll the card online using promo code DDLOVE
3) This again helps us enjoy free perk of one free coffee and lifetime rewards

Free Oracle Database Articles, Tips, Jobs :

Delivered by FeedBurner

ORA-01081: cannot start already-running ORACLE – shut it down first

We had encountered a situation that demanded us to change the initialization parameter bringing down the database. Oracle database instance is in NOMOUNT mode. After changing initialization parameter, I tried opening database using the STARTUP command. That’s wherein I got ORA-01081 error

SQL> startup;
ORA-01081: cannot start already-running ORACLE – shut it down first
I could not understand why this is happening and found a way to fix the issue
The problem got fixed when I issued STARTUP FORCE command
SQL> startup force;
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size                  1375792 bytes
Variable Size             620757456 bytes
Database Buffers          444596224 bytes
Redo Buffers                4603904 bytes
Database mounted.
Database Opened.

Free Oracle Database Articles, Tips, Jobs :

Delivered by FeedBurner

Will linux shell scripting help you find job

Linux/UNIX the most popular OS from Bell laboratories supports some of worlds best and most popular applications, databases. Most sites that got started before a decade including google, amazon, ebay are run on top of it. Even the most recent popular website facebook.com is hosted in LAMP stack which again is supported on top of Linux.
As such even for QA roles current companies look for candidates with linux command language
So, what is importance of UNIX/LINUX training/
1) You learn what an operating system is and how it interacts with various applications
2) Will get to know more on OS architecture including its different layers including shell, kernel and way they interact with applications
3) learn OS kernel programming, shell scripting
4) Irrespective of holding developer, DBA, tester, application support role it has become common among employers to ask for proficiency in perl, python, ruby on rails, php , shell script (any one or more than one of these) as a mandate skill set for automating their system. Hence shell script training will help you hold on and progress in your career
5) Learn basic unix/linux commands used for file system management
6) If you prefer to break into field of unix system administration it is an ocean
As a whole start learning unix/linux via good trainers. Also, learn the latest versions for you to find the best job

Free Oracle Database Articles, Tips, Jobs :

Delivered by FeedBurner

Oracle database installation capacity planning details

Capacity planning is an essentially important career profile that determines the resource demand in current, future. Personnel from infrastructure teams typically server engineers, DBA do take additional responsibility. Tools from popular vendors like CA BMC assists with capacity planning. This can be easily done using proper excel sheet with details on resources needed for the ongoing project, future project, growing trends etc. Now-a-days information is wealth. Bigdata in a way impacts capacity planning directly and indirectly as predictive trends in online space depends on data usage. This internally translates to capacity planning of the project. As a first step lets see what needs to be considered while planning installation of database. Oracle is a popular brand in use and lets take this exmaple
What is needed for installing an Oracle database?
Proper planning, good documentation, scheduling and appropriate execution is needed for proper installation of an oracle database.
What are the factors to be considered during planning of oracle database installation?
We need to make sure that we have adequate hardware resources, operating system resources, proper environment variable settings during planning oracle database installation
What are the environment variables to be set during oracle database installation?
ORACLE_HOME, ORACLE_BASE,ORACLE_SID,ORACLE_UNQNAME are some environment variables to be set during installation. These values should be obtained from system administration team beforehand and needs to be included in planning document
What is the first factor to be considered while planning an installation?
The first step is going to be capacity planning. This involves planning a database in accordance with availability of resources

Free Oracle Database Articles, Tips, Jobs :

Delivered by FeedBurner

Oracle database can cater bigdata projects

Oracle database has come out with its latest version Oracle database 12c last July and has been adding interesting features to make sure that this robust RDBMS can cater the growing demand of big data and does provide support for JSON the Javascript Object Notation.
Why should oracle provide support for JSON?
MongoDB the most popular NoSQL database is based on document based model wherein documents are stored in JSON format/BSON [Binary form of JSON]. As the demand for bigdata grows, it becomes inevitable for players in RDBMS space to look for ways to support JSON format.
How does Oracle database 12c handle this?
Oracle database 12c does make use of CLOB datatype while storing such information. Lets take a simple example,
create table json_support(id int, json_data clob);
Is this optimal?
Oracle does make this optimal using functions like json_value(). Function-based indexes extend the performance benefits
Can Oracle database support Bigdata?
Oracle database the legacy database supporting variety of systems on healthcare, finance, retail and many such sectors has been widely popular supporting OLTP, datawarehousing applications. Bigdata is the talk of this decade and many of us would like to determine if oracle can be used as BigData database.
First of all what is a bigdata?
Bigdata as such is a platform on which we pull data from datawarehouse, OLAP, tweets and many disparate datasources supporting structured and unstructured data. The datawarehouse can be an oracle database. Hence oracle database can be portion of bigdata platform.
Oracle the master of databases is the only database in industry to come up with Oracle big data appliance and big data connector that caters the need of enterprise big data.As contrast to other databases Oracle adopts principle of leverage the existing enterprise database architecture including Oracle Exadata and incorporate big data into it to deliver big value to business

Free Oracle Database Articles, Tips, Jobs :

Delivered by FeedBurner

PMI cert roster has grown beyond PMP

PMI the project management institute, widely recognized and respected across the globe offers lots of certifications that are directly and indirectly related to project management. Lets take a quick overview on many different certification offerings and whom it is actually geared towards:

1) Project Management Professional – This certification popularly called PMP is for an individual who is in the capacity of a project manager or someone who expects to take up role as a project manager and direct the project initiatives. As such PMP gauges the project management competency of an individual.
2) Certified Associate in project management – Popularly called CAPM is for someone who is looking for a career not to the level of a project manager but at a level that involves understanding the fundamental knowledge, processes, terminology defined in PMBOK. This helps a person with managing project performance effectively. Also the requirements needed for CAPM is not so broad as is the case with PMP
3) Program Management Professional – Program as per PMBOK is a group of projects. A program manager is someone who assumes role of a program as such as opposed to project. All these projects are related to each other and are geared towards achieving organizational objectives. Program manager assumes PgMP credential upon clearing the program management professional exam
4) Portfolio Management Professional – This credential called PfMP is for portfolio managers who are responsible for managing portfolio of projects
5) PMI Agile Certified Professional – Agile the software life cycle methodology is gaining momentum in each and every aspect of business. Project management is no different.PMI-ACP as the credential is popularly referred to covers topics that makes sure that project professional understands, applies agile principles and practices on basic projects. This certification requires training in agile methodology, real-time work experience in agile projects, how agile practices are applied in project management etc.The course requires the candidate to have worked on agile projects for 3 year in recent past. Eligibility criteria include individuals working on agile team – 1500 hours working on agile teams – 1500/40 – 3 years on an average. This must be earned in last 2 years. It is a multiple choice question answer test
6) PMI Professional in business analysis – PMI-PBA as it is popularly called is geared towards business analysts. As opposed to project managers this certification concentrations more on stakeholder interaction, requirements gathering, business analysis part of project management. If you have sufficient experience, expertise we recommend PMP over this credential as eventually a project manager needs PMP to grow in career
7) PMI Risk Management Professional – PMI-RMP as this is called is concentrated on project risk management. In PMP risk management is a knowledge area. Project risks are so critical that plans to mitigate project risks, threats and capitalize on opportunities is something PMI-RMP will be fully focusing on. They get involves and work in projects alongside project manager, program managers
8) PMI Scheduling Professional – PMI-SP as it is called is a certification with focus on scheduling of project. Specialized knowledge is the area of developing and maintaining project schedule is the primary outcome of this certification

PMP Exam Prep Articles:

Delivered by FeedBurner

Solaris system administrator interview prep

Administer printers check the status of printers Sun solaris:-
Check the status of printers is a step performed after setting up print server and print client.It is an important printer administration task that require information about the status of the LP print service or a specific printer.
If we need to determine which printers are available for use we may need to know the characteristics of those printers.The command lpstat is used to obtain status information about the LP print service or a specific printer offered by the service.
$ lpstat [-d] [-p printer-name] [-D] [-l] [ -o list] [-t]
where the options are listed as follows :
-d – shows the system’s default printer
-D – shows the description of the printer specified by the printer-name. This is usually used with -p option
-l – shows the characteristics of the printer specified by the printername
-o list – displays the status of the output requests specified by the list. It is a intermix of printer names, class names, request ID’s. If we don’t specify the list, status of all requests is displayed
-p printer-name – Showws whether the printer specified by the printername is active or idle, when the printer was enabled or disabled, whether the printer is accepting print requests. We can specify multiple printer names in a comma seperated list , space seperated list enclosed in quotation marks. If we don’t specify a printer, status of all printers is displayed
-t – shows information about the LP print service. It includes the status of all printers, including whether they are active and whether they are accepting print requests.
Usage :
lpstat command can be used to determine the status of a print request, a printer, many other aspects of print service such as print scheduler.
Autofs Creating Direct Map Sun Solaris:-
Autofs – Creating a Direct Map involves the following steps.
What is a direst map in autofs?
A direct map lists a set of unrelated mountpoints that might be spread out across the file system. A complete path is listed in the map as a mount point (/usr/local/bin).
/etc/auto_direct map lists the following :
/usr/local -ro
/usr/man -ro ronald:/usr/man helen:/usr/man news2:/usr/man
Follow the steps given below to create a direct map
1) Add the following entry in the master map file called /etc/auto_master :
/- /etc/auto_direct
2) Create teh direct map file called /etc/auto_direct with the following entry :
/usr/local pluto:/usr/local
3) As we’re modifying a direct map, we must run automount to reload the AutoFS tables as follows :
# automount
If we’ve access to /usr/local directory, the NFS mount point is established by using the direct map we’ve set up.
4) List the contents of /usr/local :
# ls /usr/local
Adding run control script Solaris Sun solaris :-
dding a run control script involves the following steps :
1) Log in as normal user and become the root user/super user (# prompt)
2) Add the script to the /etc/init.d directory :
# cp filename /etc/init.d
# cd /etc/init.d
# chmod 744 filename
# chown root:sys filename – change the user and group permissions (user:group)

3) Create links to appropriate rc.d directory
# ln filename /etc/rc2.d/S — startup script
# ln filename /etc/rc.d/K — kill/stop script
4) Use the ls command to verify that the links have been created for the script int he specified directories.
# ls -li /etc/init.d/ /etc/rc?.d/[SK]*
Sun SolarisBooting the x86 client:-
Sun Solaris Booting the x86 client involves the following steps
1) Enter the system BIOS (Basic Input Output System) by typing the appropriate keystrokes
2) Configure the BIOS to boot from the network
3) Adjust the boot device priority list, if present, so that a network boot is attempted first
4) Exit the system BIOS
The system will boot from network and should prompt for installation we want to run. Choose the installation type and proceed further.
File System Parameters Solaris:-
Sun Solaris  File System Parameters/custom file system parameters are given below :
1) Logical block size – It is the size of the blocks that the UNIX kernel uses to read or write files
2) Fragment Size – As files are created or expanded they are allocated disk space in either full logical blocks or portions of logical blocks called fragments. When disk space is needed to hold data for a file, full blocks are allocated first and then one or more fragments of a block are allocated. For small files allocation begins with fragments.
3) Minimum free space – It is the percentage of the total disk space held in reserve when we create the file system
4) Optimization type – It is either space or time. When we select space optimization, disk blocks are allocated to minimize fragmentation and optimize disk use. When we select time optimization, disk blocks are allocated as quickly as possible, with less emphasis on their placement. With enough free space, the disk blocks can be allocated effectively with minimal fragmentation. Time is the default
5) Number of inodes and bytes per inode – Number of inodes determine the number of files we can have in the file system because each file has one inode. The number of bytes per inode determines the total number of inodes created when file system is made( total size of the file sytem/number of bytes per inode)
SMC Usage Tool solaris GUI Tool
SMC Usage Tool is a gUI tool in solaris 10 OS used to display information about currently mounted file system,mount point,disk space allocation,disk space usage,availability.Being a GUI tool we can launch the smc tool from CLI as follows
#smc & – This will initiate smc as a background process

We can also launch the tool using the following navigation :
In left navigation pane select This Computer->Storage Icon->Mount And Shares icon
This will prompt us to enter root password. Now select the usage icon.

Setting Indirect Map Solaris

An autofs file is called a map. Autofs service helps mount and unmount filesystems in client on a dynamic basis. A map can be master map,direct map,indirectmap,special map

What is an indirect map?
An indirect map lists the mount points as relative path names.To establish a mount point on the client relative path is used.
Unix File /etc/hosts.equiv File Security Threat:-
One system can login to another system as a remote system using rlogin,ssh etc./etc/hosts.equiv file has entries – list of trusted hosts that are permitted to do remote login into this host. The entries can be hostnams or hostname tab seperated username. When username is specified only that user can access the system.
If we specify a + in /etc/hosts.equiv file then all the remote systems are truated and given access which is a security flaw.
.rhosts and /etc/hosts.equiv always pose a security threat.
So it is a better practice to use ssh(secure shell)
Sun Solaris pax (Portable Archive Interchange) Command :
Sun Solaris pax (Portable Archive Interchange) Command is used to read and write to the members of the archive file, make a list of the members of an archive file, copy directory hierarchies.Archive formats supported include :
1) cpio
2) tar (extended tar)
Syntax :
pax mode options — mode and options are optional parameters
mode specifies the mode in which pax command operates. It may be,
1) Read mode (-r)
2) Write Mode (-w)
3) Copy Mode (-rw)
4) Not specified
Solaris dfshares command :
Sun Solaris (solaris 10) – dfshares command displays information about the shared resources that are available to the host from an NFS server.
Syntax :
dfshares (servername)
We can view the shared file systems on a remote NFS server by using the dfshares command as follows :
# dfshares new-server
If no server name is specified, all the resources currently being shared on the local host are displayed.
We can find information about shared resources in the file /etc/dfs/sharetab . This file contains list of resources currently being shared.
Solaris Running a command in a zone:
Sun Solaris (Solaris 10) – Running a command in a zone can be performed in an interactive and non -interactive fashion.In interactive emthod, an user assumes a super user role, uses zlogin and executes the command. The user uses exit to quit the session.Commands can be executed in non-interactive fashion as follows :
1) Log in as root user
$ su – root
2) Check the hostname
# hostname — lets say O/P be test
3) Log into the zone and run commands in a non -interactive fashion
# zlogin testloginzone zonename
testloginzone — O/P
4) Now check the hostname
# hostname — O/P is the same (test)
/etc/nsswitch.conf,Co-ordiacting use of Naming Services in Sun Solaris 10:-
Sun solaris operating system supports more than one naming service.We can use one or more than one naming service.We may find one naming service to be appropriate for one kind of information and another to be appropriate for another kind of information.To enable the client to get specific network information from the correct naming service, we (system administrator) must maintain “Name Service Switch File”.
Name Service Switch File — /etc/nsswitch.conf
Each entry in /etc/nsswitch.conf lists a specific type of available information.
Information includes :
1) host
2) Password
3) Group
It also provides information on source from which this information can be obtained.By looking into this file, a client can retrieve different pieces of needed information from one or more sources.Information about one or more sources can be obtained by one or more entries in the file.
Example : Host name from NIS table, password from a local file in the directory /etc
Zombie Process,Zombie Process In UNIX/LINUX/Sun Solaris/IBM AIX:-
Zombie Process in UNIX/LINUX/Sun Solaris/IBM AIX is recognized by the state Z.It doesn’t use CPU resources.It still uses space in the process table.It is a dead process whose parent did not clean up after it and it is still occupying space in the process table.
They are defunct processes that are automatically removed when a system reboots.Keeping OS and applications up to date and with latest patches prevents zombie processes.By properly using wait() call in parent process will prevent zombie processes.
SIGCHLD is teh signal sent by child to parent upon task completion and parent kills child(proper termination).
kill -18 PID – Kills childs process.
fssnap Command:-
fssnap is a solaris command that is used to perform backup of a file system that is in mount state and in multi-user mode.
Usage :
fssnap -F ufs -o backing-store=’/location’ sourcefilesystem(eg:/home/data)
The above command creates a backing-store file in the location specified. The backing-store file can also be abbreviated as bs.The command mentioned above creates a virtual device /dev/fssnap/0 (block virtual device).After the above command is executed /dev/rfssnap/0 (raw virtual device) is created.
The backing-store file is created in location specified as snapshot0.The backing-store file is a point in time copy of the source file-system.The bs file grows as the activity in source file system grows. As source is copied block-by-block to bs file, the more teh activity on file system, more will be the expansion of backing store file.
We can limit the size of the backing-store file as follows:
fssnap -F ufs -0 maxsize=value,bs=’/location’ /sourcefs
The command will restrict the size of the backing-store file to value specified above.When there is no room for backing-store file to grow, backup will fail.Information about this can be obtained from /var/adm/messages file.After creating the backing-store file (snapshot0), it can be backed up to tape as follows :
ufsdump 0ucf /dev/rmt/0 /dev/fssnap/0
Distributed File Systems,Network-based File Systems,Solaris distributed File system:-
Distributed File Systems/ Network-based File Systems are used to store data that can be accessed across systems over a network.
The files could be stored on a system called as server, can be accessed from other systems over the network.
NFS (Network File System) Version4 (V4) is supported in Solaris 10.
It improves security by integrating file access, file locking, mount protocols into a single unified protocol.
Checking Users No passwords Solaris:-
Checking For users with no passwords is an essential function of system administrator.Now-a-days InfoSec team is vested with the responsibility of formulating documents to determine the security level of an organization, steps needed to achieve the security.We should monitor user logins to ensure that their passwords are secure.A potential problem is for users with blank password ( users with carriage return as password/no password at all).
When a account doesn’t have a password, we don’t get the password prompt. We simply enter the username and we login.It is mandatory to check for users with no passwords.
1) Log in and become superuser/root user
$ su – root
2) Use logins command to get details on account without any password.
# logins -p
Monitoring User Activity Sun Solaris:-
Monitoring a user’s activity is an essential job role of a system administrator.User’s activity can be monitored only by assuming superuser/ root user role.
1) Log in as user and perform a su to become superuser
$ su – root
2) Display a user’s login status by using the command logins
# logins -x -l 
For monitoring a user by name helen, issue :
 # logins -x -l helen
 We obtain information regarding the user as follows :
 The UID
 The primary group to which the user belongs to (This is GID number specified in /etc/passwd entry)
 The GID
 The comment field in /etc/passwd (if any)
 The user’s home directory
 The user’s default login shell
 Password aging information – last date the password was changed, number of days required between changes, number of days allowed before a change is required, warning period.
Password aging is an essential standard recommendation from SOX (Sarbanes Oxley) and is mandate.

Canadian Securities institute certification credentials

Canadian Securities Institute, CSI the premiere training and education provider at Canada is the pioneer in conducting financial certificaitons for canadian financial aspirants both current and prospective. Here are some popular certifications offered by CSI
1) Canadian Securities Course – Popularly called CSC this is a two part exam that covers wide range of financial topics starting with quantitative finance to advanced hedging topics. This is regarded most valuable certification and can be taken in two forms
1.1) CSC for licensed representatives
1.2) CSC for investors – This doesnt offer any license but can be used as a knowledge booster for individual investors looking forward to enter canadian stock market
2) Investment Funds in canada – IFC exam helps the financial professionals who act as mutual fund advisory, financial planners, discount brokers, investment representatives, to help their clients with investment advice providing details on what to choose based on clients objectives, risk taking capacity, time frame etc following professional ethics. As such this provides in depth risk-return relationship knowledge, mutual fund fee and performance that helps them create and manage client mutual fund portfolio with greater efficiency
3) Personal Financial Services Advice – PFSA – If you have completed CSC or IFC course from CSI and looking to progress your career as financial planner this is the way to go.
4) Wealth Management Essentials – WME
5) Derivatives Fundamental Course – DFC
6) Conduct and Practices Hand book Course – Popularly called CPH this is to be taken after completing CSC

Oracle vmware interview prep

What is Oracle VM?
Oracle VM is the latest virtualization technology from oracle. It is built upon the open source project Xen.Oracle VM is the virtualization solution from Oracle Corporation. Recent version on Oracle VM is Oracle VM 2.1.2.Oracle VM Server is a self-contained virtualization environment that runs various virtual machines.It is built on top of Xen Hypervisor which is a open source virtual monitoring software developed by Cambridge University Professors.
Oracle VM is a Virtualization solution from Oracle.
What are the components of Oracle VM?
Oracle VM Server comprises of an Oracle VM Agent, a Linux Kernel.Oracle VM includes :
1) Oracle VM Server
2) Oracle VM Manager
What is a Oracle VM Manager?
It is a web-based GUI used to administer Oracle VM(virtual machines).It is used to perform a host of administrative tasks like virtual machine creation,dropping,managing virtual machines.
What is Oracle VM Agent?
Oracle VM Server communicates with Oracle VM Manager using Oracle VM Agent.
What are the components that constitute Oracle VM?
Oracle VM is composed of Oracle VM Server ,the software component that is used for virtualization provisioning and Oracle VM Manager a GUI tool used to control VM Server.
What is an Oracle VM Agent?
VM agent is a component of Oracle VM Server.It is the communication medium between the Oracle VM manager and the Oracle VM Server.
What is dom0?
Dom0 refers to the Domain0 which is the refernce given to Oracle VM Server.
What is domu?
Domu refers to unprivileged domains.
What are the types of server pools?
There are three major types of server pools namely Master Server,Utility Server,Virtual Servers.
Give details on oracle exalogic and inherent virtualization utilization:-
Oracle the 3rd biggest software and hardware giant has finally unleashed the cloud in a box. It has been rightly branded exalogic. In a recent conference larry elson Oracle CEO unleashed this interesting exalogic which has server,storage,network everything built in a box and named exalogic. Companies will find this interesting as it is going to be easy to run oracle applications in this box. In general aggregating resources and sharing it among companies form cloud computing definition. Exalogic has inherent virtualization provision that will make the resource provisioning more powerful.It is interesting to note that salesforce.com the cloud leader in market introduced vmware virtualization in its cloud platform under brand name vmforce. Exalogic is expected to take over major share of salesforce soon
Give details on Oracle VM Server Utilities and Configuration Files:-
A brief listing of various Oracle VM server utilities is given here:
virt-install – Oracle VM Server Command-line utility used to create Virtual Machines(guests/guest operating systems).
xm – Oracle VM Server Command-line tools used to manage domains.
xm migrate – Oracle VM server command to migrate domains.
/etc/xen/xend-config.sxp – Oracle VM Server Configuration Files.Onces changes are made to this file,we must restart the Oracle VM server for the changes to take effect.
Oracle VM Server Repository – Used to store ISOs,guest and live migrations.
/opt/ovs-agent-2.2 – Default Installation Location of Oracle VM Agent.Oracle VM agent is installed along with the Oracle VM Server.It doesnt need seperate installation.
/opt/ovs-agent-2.2/logs/ovs_trace.log – Oracle VM Agent Installation logs.
ovs-agent – Oracle VM Agent command-line tool allows us to configure and control Oracle VM Agent.
service ovs-agent configure – command to configure Oracle VM Agent.This command is run as a root user
What is Oracle VM(Virtualization) – xm tool?
Oracle VM(Virtualization) – xm tool is the Oracle VM Server management command-line management tool that creates, destroys, manages and migrates guests.
What are guests?
A guest is a virtualized operating system running within a domain. A guest operating system may be paravirtualized or hardware virtualized. Multiple guests can run on the same Oracle VM Server.
What is a domain?
A domain is a configurable set of resources, including memory, virtual CPUs, network devices and disk devices, in which virtual machines run. A domain is granted virtual resources and can be started, stopped and rebooted independently
What is a virtual machine?
A virtual machine is a guest operating system and its associated application software.
What are the two modes in which guest/guest os can be run?
Oracle VM Server guest operating systems may run in one of two modes, paravirtualized or hardware virtualized.
What is paravirtualized mode?
In paravirtualized mode, the operating system guest kernel is recompiled to be made aware of the virtual environment. This allows the paravirtualized guest to run at near native speed, since most memory, disk and network accesses are optimized for maximum performance.
What is hardware virtualized mode?
The hardware virtualizated mode is available (either Intel VT or AMD SVM), for the guest operating system to run completely unmodified. This hardware virtualized fully-virtualized guest is carefully monitored and trapped by Oracle VM Server when any instruction is executed which would violate the isolation with other guests or dom0.
What is the prerequisite for running xm command?
The xm command requires xend daemon to be started.
Give the syntax of xm command?
xm command can be used as follows :
xm [option] [argument]
Give the various xm options and their usage:-
console {domain-id} – Attaches to a domain’s console.
create [-c] {config-file [name=value …]} – Creates a domain based on the entries in the config-file.Entering the -c parameter attaches to the domain’s console when the domain is created and started.We can also enter name value pairs to override variables in the config-file using the name=value parameter.
destroy {domain-id} – Immediately terminates a domain.
dmesg [–clear] – Displays message buffer logs similar in format to the equivalent to the dmesg command in the Linux kernel.
help [–long] [option] – Displays help on the xm command, and its options.The –long option displays full help on xm commands, grouped by function.Enter a command name as an option to the xm command to get help only on that command.
info – Displays information about the host computer.
list [–long –label] [domain-id, …] – Displays information on all the running domains.The –long option displays full information on running domains.Enter the domain-id as an option to the xm command to get information on only that domain, or a set of domains.
log – Displays logs similar in format to the equivalent for the Linux kernel. The log file is located at /var/log/xend.log.
migrate {domain-id} {host} [-l –live] [-r=MB –resource=MB] – Migrates a domain to another computer.The domain-id parameter is the domain to migrate.The host parameter is the target computer.The –live parameter migrates the domain without shutting down the domain.The –resource parameter sets the maximum amount of Megabytes to be used.
new [config-file] [option …] [name-=value …] – Adds a domain to Oracle VM Server domain management.
pause {domain-id} – Pauses the execution of a domain.
reboot [–all] [–wait] [domain-id] – Reboots a domain.The –all parameter reboots all domains.The –wait parameter waits for the domain to reboot before returning control to the console.
restore {statefile} – Restores a domain from a saved state.
save {domain-id} {statefile} – saves a domain state so that it can be restored at a later date.
shutdown [-a] [-w] [domain-id] – Shuts down a domain gracefully.The -a parameter shuts down all domains.The -w parameter waits for the domain to shut down before returning control to the console.
top – Displays real time monitoring information of the host and domains.
unpause {domain-id} – unpauses a paused domain.
Give details on xm new option:-
new [config-file] [option …] [name-=

value …]

Adds a domain to Oracle VM Server domain management.
We can set domain creation parameters with a number of command-line options, a Python script (with the –defconfig parameter), or an SXP configuration file (the –config parameter).
We can set configuration variables with name=value pairs, for example vmid=3 sets vmid to 3.
The config-file parameter is the location of the domain configuration file.
The option parameter is one or more of the following:
[-h –help]
Displays help on the command.
Prints the available configuration variables for the configuration script.
[-q –quiet]
Searches the location given in path for configuration scripts. The value of path is a colon-separated directory list.
[-f=file –defconfig=file]
Uses the given Python configuration script. The script is loaded after arguments have been processed. Each command-line option sets a configuration variable named after its long option name, and these variables are placed in the environment of the script before it is loaded. Variables for options that may be repeated have list values. Other variables can be set using name=value on the command-line. After the script is loaded, values that were not set on the command-line are replaced by the values set in the script.
[-F=file –config=file]
Sets the domain configuration to use SXP. SXP is the underlying configuration format used by Xen. SXP configurations can be hand-written or generated from Python configuration scripts, using the –dryrun option to print the configuration.
[-n –dryrun]
Prints the resulting configuration in SXP, but does not create the domain.
[-x –xmldryrun]
Prints the resulting configuration in XML, but does not create the domain.
[-s –skipdtd]
Skips DTD checking and XML checks before domain creation. This option is experimental and may slow down the creation of domains.
[-p –paused]
Leaves the domain paused after it is created.
[-c –console_autoconnect]
Connects to the console after the domain is created.
Usage Example :
xm new /home/myhome/myconfig