Sunday, November 23, 2008

幸福时光:温暖如春

幸福时光:温暖如春

Pic-001
Pic-002

Pic-003

Posted by Picasa
Pic-004

Wednesday, November 12, 2008

Increase Record ID Limit in ClearQuest 7.0 or later

Record ID Limit

From ClearQuest 7.0,  the record ID(DBID) limit from 16 million records to 100 million stateful and 2 billion stateless records.

 

Ensure to upgrade ClearQuest synchronization servers to 7.0 or above before you increase the record limit. Once you increate the record limit, the format of the oplog and the export packages will change a bit. Synchronization server from earlier versions can not work with packets with the changed format.

 

 

To check whether the user db has enabled the high record ID limit, you can use installutil getrecordlimits  on each user database or –all for all databases which are associated with a schema repository

 

How to increase the record ID limit

For nonreplicated databases, the installutil sethighrecordlimit command is run on each user database that needs the higher record limit. The command can also run on all user databases associated with a schema repository by using the –all option

 

For replicated databases, the installutil sethighrecordlimit command is used with the –for replication option. This option can be used only at the working master site and the changes will sync to other sites. To increase the record ID limit in an environment with replicated databases:

  1. Stop sync jobs
  2. Ship all outstanding synchronization packets
  3. Import all outstanding synchronization packets
  4. At the working master site, run the installutil sethighrecordlimit command with the –for replication options
  5. Start sync jobs

 

For working master sites that also have non-replicated user databases, run the installutil sethighrecordlimit command on those databases individually or use the –all option. The –all option does not apply to replicated databases or affect them in any way.

 

Notice

All new schema repositories and its associated databases created in version 7.0 or later will be set to the higher record ID limit by default.

 

Databases created with version 7.0 and later in a clan use the record limit specified by the clan, which depends on whether the clan has been enabled for high record limits or not.

Tuesday, November 11, 2008

UTC Time in ClearQuest 7.0.1

UTC Time in ClearQuest 7.0.1

 

Before CQ 7.0.1, time stamp are stored using local time of  the database server. With CQ 7.0.1, time stamp can be stored using Coordinated Universal Time (UTC) so that times always can be compared accurately across time zones.

 

New user databases created with CQ 7.0.1 on feature lever 6 always use UTC to store history dates.

 

To concert history time stamps to UTC for existing databases either at feature lever 5 or 6, you must use the installutil –please setutchistorytimestamps. If you have a MultiSite environment, you must also run the timechange.pl script at each replica to update the data to UTC format

 

2 API in ResultSet object methods

  • GetConvertToLocalTime
  • SetConvertToLocalTime

 

For detail API usage, pls reference the online help

Feature Lever 6 in ClearQuest 7.0.1

Procedures to upgrade to feature level 6 from 5 in ClearQuest multisite

  • Upgrade all multisite synchronization servers to version 7.0.1
  • Upgrade all Rational ClearQuest clients to version 7.0.1
  • Upgrade schema repositories and user database and user databases to feature level 6. Upgrading the schema repositories and user database can be done in phases

 

Notes: If you have updated the Rational Shipping Server to version 7.0, and the Shpping Server resides on a computer with other Rational Software on the same computer, you do not need to upgrade it to 7.0.1 Version 7.0 of this component is compatible with other Rational ClearQuest components in 7.0.1

 

 

 

The rules about which user databases can receive packets from other user databases are as follows:

  • Schema repositories on feature level 6 can work with associated user databases on feature level 5 and 6
  • Sites with schema repositories and user databases on feature level 5 can only accept packets from other sites with the same feature levels
  • Sites with schema repositories on feature level 6 and user databases on feature 5 can accept packets from other sites with the same feature levels and also from sites with schema repositories and user databases on feature level 5
  • Sites with schema repositories and user databases on feature level 6 can accept packets from all sites with schema repositories and user databases on feature level 5 or feature level 6

 

In summary, feature level are backward compatible with lower levels but not forward compatible with higher levels.

 

 

Verify the feature level and metaschema version

  1. c:\> pdsql
  2. >select feature_level,metaschema_version from master_global;
  3. >quit;

 

 

Steps to upgrade to feature level 6 from 5

  1. Backup all schema repositories and user dbs
  2. Stop synchronization scripts
  3. Import all pending packages
  4. Start the Maintenance Tool
  5. From the Existing Connections list, select the connection to the schema repository that you want to upgrade
  6. On the Maintenance Tool menu, click Schema Repository > Upgrade > Selected Connection
  7. At the prompt to upgrade user databases, click Yes to continue
  8. Log in with Super User privileges
  9. Select the feature lever and enter the properties of the schema repository to which you are upgrading. To perform an in-place upgrade, specify the properties of the Source Schema Repository in the New Schema Repository area. Then click Next
  10. At the prompt to upgrade the schema repository, click Yes to continue
  11. Enter the properties for the first user database to which you are upgrading and click Next. Repeat until you have associated all the user databases. Click Finish.
  12. Verify the upgrade result
  13. Start synchronization scripts
 

Features in ClearQuest 7.0

Features in ClearQuest 7.0

 

  • The multiutil renamesite command, which allows you to change the database set name of master sites and replica sites in a MultiSite environment (useful)

 

  • The ability for MultiSite to synchronize null value fields

 

  • Support for LDAP using SSL

 

  • The option to increase the record ID limit

 

  • Support for new languages and other features for new code pages

 

  • Translation of packages and schemas into Japanese and Simplified Chinese

 

  • Support for mixed character set deployments and the ability to use non-ASCII data on Linux and the UNIX system

 

 

Features in ClearQuest 7.0.1

 

  • Enhancements to Rational ClearQuest clients

 

  • Enhancements to Rational ClearQuest Test Manager

 

  • Support for DB2 version 9.1 database management system

 

  • The ability to run case-insensitive queries for user databases running Oracle version 10

 

  • Multiple request managers for Rational ClearQuest Web

 

  • New or updated 7.0.1 packages that include fixes and performance enhancements

 

  • The ability to store history dates in Rational ClearQuest records in a UTC

 

  • Workspace security permissions for folders (requires feature level 6)

 

  • Product documentation available online in the Rational ClearQuest Information Center

 

Pls note that UTC and workspace security feature are only available in feature level 6

 

Thursday, November 6, 2008

Obama's victory speech

 
Here is the text of President-elect Barack Obama's victory speech in Chicago on Tuesday, as released by his campaign:
 
Tuesday, November 4th, 2008
Chicago, Illinois
If there is anyone out there who still doubts that America is a place where all things are possible; who still wonders if the dream of our founders is alive in our time; who still questions the power of our democracy, tonight is your answer.
It's the answer told by lines that stretched around schools and churches in numbers this nation has never seen; by people who waited three hours and four hours, many for the very first time in their lives, because they believed that this time must be different; that their voice could be that difference.
 
It's the answer spoken by young and old, rich and poor, Democrat and Republican, black, white, Latino, Asian, Native American, gay, straight, disabled and not disabled - Americans who sent a message to the world that we have never been a collection of Red States and Blue States: we are, and always will be, the United States of America.
 
It's the answer that led those who have been told for so long by so many to be cynical, and fearful, and doubtful of what we can achieve to put their hands on the arc of history and bend it once more toward the hope of a better day.
 
It's been a long time coming, but tonight, because of what we did on this day, in this election, at this defining moment, change has come to America.
 
I just received a very gracious call from Senator McCain. He fought long and hard in this campaign, and he's fought even longer and harder for the country he loves. He has endured sacrifices for America that most of us cannot begin to imagine, and we are better off for the service rendered by this brave and selfless leader. I congratulate him and Governor Palin for all they have achieved, and I look forward to working with them to renew this nation's promise in the months ahead.
I want to thank my partner in this journey, a man who campaigned from his heart and spoke for the men and women he grew up with on the streets of Scranton and rode with on that train home to Delaware, the Vice President-elect of the United States, Joe Biden.
 
I would not be standing here tonight without the unyielding support of my best friend for the last sixteen years, the rock of our family and the love of my life, our nation's next First Lady, Michelle Obama. Sasha and Malia, I love you both so much, and you have earned the new puppy that's coming with us to the White House. And while she's no longer with us, I know my grandmother is watching, along with the family that made me who I am. I miss them tonight, and know that my debt to them is beyond measure.
 
To my campaign manager David Plouffe, my chief strategist David Axelrod, and the best campaign team ever assembled in the history of politics - you made this happen, and I am forever grateful for what you've sacrificed to get it done.
But above all, I will never forget who this victory truly belongs to - it belongs to you.
 
I was never the likeliest candidate for this office. We didn't start with much money or many endorsements. Our campaign was not hatched in the halls of Washington - it began in the backyards of Des Moines and the living rooms of Concord and the front porches of Charleston.
 
It was built by working men and women who dug into what little savings they had to give five dollars and ten dollars and twenty dollars to this cause. It grew strength from the young people who rejected the myth of their generation's apathy; who left their homes and their families for jobs that offered little pay and less sleep; from the not-so-young people who braved the bitter cold and scorching heat to knock on the doors of perfect strangers; from the millions of Americans who volunteered, and organized, and proved that more than two centuries later, a government of the people, by the people and for the people has not perished from this Earth. This is your victory.
 
I know you didn't do this just to win an election and I know you didn't do it for me. You did it because you understand the enormity of the task that lies ahead. For even as we celebrate tonight, we know the challenges that tomorrow will bring are the greatest of our lifetime - two wars, a planet in peril, the worst financial crisis in a century. Even as we stand here tonight, we know there are brave Americans waking up in the deserts of Iraq and the mountains of Afghanistan to risk their lives for us. There are mothers and fathers who will lie awake after their children fall asleep and wonder how they'll make the mortgage, or pay their doctor's bills, or save enough for college. There is new energy to harness and new jobs to be created; new schools to build and threats to meet and alliances to repair.
 
The road ahead will be long. Our climb will be steep. We may not get there in one year or even one term, but America - I have never been more hopeful than I am tonight that we will get there. I promise you - we as a people will get there.
 
There will be setbacks and false starts. There are many who won't agree with every decision or policy I make as President, and we know that government can't solve every problem. But I will always be honest with you about the challenges we face. I will listen to you, especially when we disagree. And above all, I will ask you join in the work of remaking this nation the only way it's been done in America for two-hundred and twenty-one years - block by block, brick by brick, calloused hand by calloused hand.
 
What began twenty-one months ago in the depths of winter must not end on this autumn night. This victory alone is not the change we seek - it is only the chance for us to make that change. And that cannot happen if we go back to the way things were. It cannot happen without you.
 
So let us summon a new spirit of patriotism; of service and responsibility where each of us resolves to pitch in and work harder and look after not only ourselves, but each other. Let us remember that if this financial crisis taught us anything, it's that we cannot have a thriving Wall Street while Main Street suffers - in this country, we rise or fall as one nation; as one people.
 
Let us resist the temptation to fall back on the same partisanship and pettiness and immaturity that has poisoned our politics for so long. Let us remember that it was a man from this state who first carried the banner of the Republican Party to the White House - a party founded on the values of self-reliance, individual liberty, and national unity. Those are values we all share, and while the Democratic Party has won a great victory tonight, we do so with a measure of humility and determination to heal the divides that have held back our progress. As Lincoln said to a nation far more divided than ours, "We are not enemies, but friends...though passion may have strained it must not break our bonds of affection." And to those Americans whose support I have yet to earn - I may not have won your vote, but I hear your voices, I need your help, and I will be your President too.
 
And to all those watching tonight from beyond our shores, from parliaments and palaces to those who are huddled around radios in the forgotten corners of our world - our stories are singular, but our destiny is shared, and a new dawn of American leadership is at hand. To those who would tear this world down - we will defeat you. To those who seek peace and security - we support you. And to all those who have wondered if America's beacon still burns as bright - tonight we proved once more that the true strength of our nation comes not from our the might of our arms or the scale of our wealth, but from the enduring power of our ideals: democracy, liberty, opportunity, and unyielding hope.
 
For that is the true genius of America - that America can change. Our union can be perfected. And what we have already achieved gives us hope for what we can and must achieve tomorrow.
 
This election had many firsts and many stories that will be told for generations. But one that's on my mind tonight is about a woman who cast her ballot in Atlanta. She's a lot like the millions of others who stood in line to make their voice heard in this election except for one thing - Ann Nixon Cooper is 106 years old.
 
She was born just a generation past slavery; a time when there were no cars on the road or planes in the sky; when someone like her couldn't vote for two reasons - because she was a woman and because of the color of her skin.
 
And tonight, I think about all that she's seen throughout her century in America - the heartache and the hope; the struggle and the progress; the times we were told that we can't, and the people who pressed on with that American creed: Yes we can.
 
At a time when women's voices were silenced and their hopes dismissed, she lived to see them stand up and speak out and reach for the ballot. Yes we can.
 
When there was despair in the dust bowl and depression across the land, she saw a nation conquer fear itself with a New Deal, new jobs and a new sense of common purpose. Yes we can.
 
When the bombs fell on our harbor and tyranny threatened the world, she was there to witness a generation rise to greatness and a democracy was saved. Yes we can.
 
She was there for the buses in Montgomery, the hoses in Birmingham, a bridge in Selma, and a preacher from Atlanta who told a people that "We Shall Overcome." Yes we can.
 
A man touched down on the moon, a wall came down in Berlin, a world was connected by our own science and imagination. And this year, in this election, she touched her finger to a screen, and cast her vote, because after 106 years in America, through the best of times and the darkest of hours, she knows how America can change. Yes we can.
 
America, we have come so far. We have seen so much. But there is so much more to do. So tonight, let us ask ourselves - if our children should live to see the next century; if my daughters should be so lucky to live as long as Ann Nixon Cooper, what change will they see? What progress will we have made?
 
This is our chance to answer that call. This is our moment. This is our time - to put our people back to work and open doors of opportunity for our kids; to restore prosperity and promote the cause of peace; to reclaim the American Dream and reaffirm that fundamental truth - that out of many, we are one; that while we breathe, we hope, and where we are met with cynicism, and doubt, and those who tell us that we can't, we will respond with that timeless creed that sums up the spirit of a people:
 
Yes We Can. Thank you, God bless you, and may God Bless the United States of America