Exercise 7
Deploy Exercise 7: Script Deploy Function
Objective
Use the Script Deploy Function.
Summary
Validate that the scripts inside of Deploy do NOT exist the OpCon-QA environment by using Enterprise Manager. Deploy the scripts to the OpCon-QA
Server. Validate that the scripts inside of Deploy DO exist the OpCon-QA environment by using Enterprise Manager.
Instructions
Validate Script Existence in EM
- Open the Enterprise Manager using the profile for the
OpCon-QA
Environment
- Username:
ocadm
- Password:
opconxps
- Go to the Scripts section and open the Script Repository window
- Validate that the Create_Folder and SetThreshold Scripts do NOT exist
- If they do exist, double click on each to open the Versions window and make a note of how many versions exist for each
- Close the Script Repository tab.
- Minimize Enterprise Manager.
Deploy the Scripts
- Back in Deploy, go to the Scripts section and click on the Deploy option
- Click Refresh to list all the scripts that are in Deploy
- You will notice the scripts are listed in the top half of the screen
- Expand the Create_Folder by clicking the
>
next to the script to show the available versions - Right-Click the most recent version and select View Script Content
- Click Close
- Now Double-Click that version and note that it appears in the lower half of the screen
- Now expand the
SetThreshold
script that is in the top half of the screen - Click on the latest version of that Script and then click the Down Arrow to move the version to the lower half of the screen
- Now click the Double Up Arrow and notice that all the selected versions disappear from the bottom half of the screen
- Now click the Double Down Arrow and this will return both script's Version 1 to bottom half of the screen
- Click the Next button
- On the Select a Server screen, select the
OpCon-QA
server from dropdown - Click the Next button to open the Script Deployment screen
note
- You should be able to see the
OpCon-QA
server listed under Server although this will be greyed out. - You should also see the two scripts
Create_Folder
andSetThreshold
under Scripts, these will also be greyed out
- Now click the Finish button
- In the popup, click the OK button to execute the Deployment of the scripts
- In the Review Result of Deployment screen, you should see that two scripts have been Deployed with
0
failures and the Status column should say SUCCESS - Click Close
- Stay logged in as az-win10-deploy\SMAUSER for the next exercise.
Validate Script Existence in EM
- Open Enterprise Manager from the Toolbar
- Go to the Scripts section and open the Script Repository window2
- Validate that the Create_Folder and SetThreshold Scripts DO exist
- Double click on each to open the Versions window and make a note of how many versions exist for each, it should match the number from the beginning of the exercise.
- Close the Script Repository tab.
- Close Enterprise Manager
Video Walkthrough