After you are satisfied with your schema modifications, you can make them available to all users by publishing them. WSP stores your new or updated tables and columns in the wsptbl and wspcol tables of the database, respectively.
Follow these steps:
Describes all Web Screen Painter-maintained schema changes to the Object Engine.
Describes all Web Screen Painter-maintained tables and columns.
Describes DBMS indexes for Web Screen Painter-maintained tables.
Names new columns created by WSP but not yet defined to the DBMS.
Names new tables created by WSP but not yet defined to the DBMS. In addition, WSP distributes the wsp.mods file to all CA SDM servers with an Object Engine.
The necessary files are created on the CA SDM servers, but does not recycle any of them. Thus, the new files have no immediate impact. However, after the files are created, they will be used the next time CA SDM services are recycled.
pdm_publish
This command modifies the physical DBMS to contain information about the new schema.
Important! Running pdm_publish process has a significant impact on other users. Ensure that you carefully plan the publishing of the schema changes. We recommend you use CA SDM Change Orders to schedule and obtain approval for your planned schema publication.
sa_server_notifier [-h] | [-q seconds] | [-c]
Displays the help page.
This option notifies a local server (background) to quiesce in a specified time interval. This interval is the number of seconds before the server goes offline. This option cannot be used for a standby server or application server.
This option cancels a previously sent quiesce request.
A pop-up message is displayed to all the active users using Support Automation on the background server. This message notifies the users about the server shutdown and the scheduled time left for the shutdown. The users must save their work and logout within that scheduled time.
Important! Do not restart the CA SDM services on standby or application servers after "save and publish" is performed from WSP. This action corrupts the advanced availability configuration. If the CA SDM services on standby or application servers are stopped and you want to start the services, run the pdm_server_control –v command on the servers to suppress the version control before starting the CA SDM services.
Important! If the background server fails during the publishing activity, ensure that you recover the WSP changes. For more information, see the Recover WSP Changes During Background Server Failure topic.
pdm_server_control -b
Notifies a local standby server to become the background server. The standby server must already be running. If the server is not running, it is started but no failover is performed; to start a failover, run the command again.
The background server shuts down automatically and the standby server is promoted as the new background server. This change does not affect the end-user sessions. The in-progress updates (if any) are stored and delayed, until the new background server comes online.
pdm_publish
The pdm_publish command creates a control file that causes the next CA SDM startup to suppress synchronizing the standby server with the background server. This action is necessary to preserve the schema file changes made by pdm_publish. This command optionally performs the second fail-over after successful publishing of the schema changes. The following message is prompted to the user at the end of successful publishing:
Do you want pdm_publish to start CA Service Desk Manager in this standby server and perform fail-over(Y/N)?
The startup detects the control file that is created by pdm_publish, but does not synchronize the standby server with the background server. This lack of synchronization preserves the changes made by pdm_publish for this startup.
Important! Ensure that you follow these directions exactly, as the failure to failover to the original background server after a pdm_publish results in corrupted services.
pdm_server_control -b
This command also deletes the control file, so that version control works normally when this server again becomes a standby server.
pdm_server_control -q interval -s server_name
Notifies a local or remote application server to quiesce in a specified time interval. This interval is the number of seconds before the server goes offline. When using this option without a server_name, the local server is notified to quiesce. This option cannot be used for a background or a standby server.
A pop-up message is displayed to all the active users on the specified application server. This message notifies the users about the server shutdown and the scheduled time left for the shutdown. The users must save their work and logout within that scheduled time. The users log on to the updated application server to resume their work.
Copyright © 2013 CA.
All rights reserved.
|
|