Optionally upgrade a site to the latest CFIHOS version from the command line - HxGN SDx - Update 60 - Administration & Configuration

HxGN SDx Server Manager Help

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

Use SDxServerManager.exe with the /cfihosupgrade argument to optionally upgrade a site to the latest CFIHOS version. You must provide information about the site using several additional arguments:

/sn: - names the CFIHOS site; "server" is appended to the name automatically (required).

/from: - identifies the CFIHOS version of your site database. For example, if you are upgrading from version 1.3, enter 01.03.00.0001 to upgrade to the latest version. The format should be xx.xx.xx.xxxx.

SHARED Tip The available /from values are listed in the CFIHOSUpgradeControls.xml file located at: [drive]:\Program Files (x86)\SDx\SDxServerManager\CFIHOS. For example, if you are upgrading from:

  • CFIHOS 1.3 - the /from value would be 01.03.00.0001.

/upgradedataindb: - indicates if the CFIHOS data in the database should be upgraded. The default setting is True.

/backupdb: - backs up the CFIHOS database before the upgrade. The default setting is False.

/dbpath: - identifies the path of the database back up file to which the data is exported. If the path is not defined, by default, it is exported to the backup folder located in the default server files folder. For example, [drive]:\SDx Server Files\Backups. The default server files location is read from the Settings.xml file located at: [drive]:\ProgramData\SDxServerManager.

/out: - specifies a path and filename for outputting log information to a JSON file. For example, /out:”d:\test\output.json”

This example upgrades a site called CFIHOS_XX and identifies the version you are upgrading from.

SDxServermanager.exe /cfihosupgrade /sn:CFIHOS_XX /from:01.03.00.0001

This example upgrades a CFIHOS site called CFIHOS_XX, identifies the version you are upgrading from, and backs up the database before the upgrade.

SDxServermanager.exe /cfihosupgrade /sn:CFIHOS_XX /from:01.03.00.0001 /backupdb:true

The back up path default is C:\SDx Server Files\BackUps.

This example upgrades a site called CFIHOS_XX, identifies the version you are upgrading from, and backs up the database before the upgrade to the path of the database back up file to which to export data.

SDxServermanager.exe /cfihosupgrade /sn:CFIHOS_XX /from:01.03.00.0001 /backupdb:true /dbpath:"C:\Program Files (x86)\backups"

SHARED Tip This example uses the /log: argument to generate a log file that stores results and errors from the operation. Specify a path and file name for the target log file (an extension is not required for the file).

SDxServermanager.exe /create /sn:CFIHOS_XX /db:Oracle /dsn:SPFSvr1 /u:SPFSvr_data /p:password /log:"C:\SDx Server Files\Temp\ServerManager\CFIHOS_XXcreation"

If the CFIHOS_XXcreation.log argument is not included, a log file is created by default in C:\SDx Server Files\Temp\ServerManager. The ConsoleLog_TimeStamp.txt is included which references the console output results.